nix: avoid evaluating nixpkgs in flake

This commit is contained in:
Ruby Iris Juric 2025-07-30 11:35:53 +10:00
parent c422383506
commit f32c447cf7
No known key found for this signature in database

View file

@ -17,13 +17,8 @@
// flake-utils.lib.eachDefaultSystem ( // flake-utils.lib.eachDefaultSystem (
system: system:
let let
pkgs = import nixpkgs { pkgs = nixpkgs.legacyPackages.${system};
inherit system; appliedOverlay = self.overlays.default pkgs pkgs;
config = {
allowAliases = false;
};
overlays = [ self.overlays.default ];
};
in in
{ {
# check that copyparty builds with all optionals turned on # check that copyparty builds with all optionals turned on
@ -40,7 +35,7 @@
}; };
packages = { packages = {
inherit (pkgs) inherit (appliedOverlay)
copyparty copyparty
partyfuse partyfuse
u2c u2c