Files
discord-music-presence-flake/flake.nix
T
Xaiya Schumin ea44ab432f 🐛 fixed handling of unfree packages in flake
Signed-off-by: Xaiya Schumin <d.schumin@proton.me>
2026-05-20 11:31:33 +02:00

31 lines
731 B
Nix

{
description = "Xaiya's packaged packages";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
outputs =
{ self, nixpkgs }:
let
systems = nixpkgs.lib.systems.flakeExposed;
forAllSystems =
function:
nixpkgs.lib.genAttrs systems (
system: function (
import nixpkgs {
inherit system;
config.allowUnfree = true;
}
)
);
in {
packages = forAllSystems (pkgs: {
discord-music-presence = pkgs.callPackage ./pkgs/discord-music-presence.nix { };
});
devShells = forAllSystems (pkgs: {
default = pkgs.callPackage ./shell.nix { };
});
};
}