mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -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 (
|
// 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
|
||||||
|
|
Loading…
Reference in a new issue