mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
nix: avoid evaluating nixpkgs in flake
This commit is contained in:
parent
c422383506
commit
f32c447cf7
11
flake.nix
11
flake.nix
|
@ -17,13 +17,8 @@
|
|||
// flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
allowAliases = false;
|
||||
};
|
||||
overlays = [ self.overlays.default ];
|
||||
};
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
appliedOverlay = self.overlays.default pkgs pkgs;
|
||||
in
|
||||
{
|
||||
# check that copyparty builds with all optionals turned on
|
||||
|
@ -40,7 +35,7 @@
|
|||
};
|
||||
|
||||
packages = {
|
||||
inherit (pkgs)
|
||||
inherit (appliedOverlay)
|
||||
copyparty
|
||||
partyfuse
|
||||
u2c
|
||||
|
|
Loading…
Reference in a new issue