lib does not depend on the system.
This commit is contained in:
parent
4f9dbd70f1
commit
23ef158676
1 changed files with 6 additions and 4 deletions
10
flake.nix
10
flake.nix
|
|
@ -32,7 +32,7 @@
|
||||||
, pre-commit-hooks
|
, pre-commit-hooks
|
||||||
,
|
,
|
||||||
}:
|
}:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
(flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
@ -58,8 +58,6 @@
|
||||||
module = { imports = [ ./nix/modules ]; };
|
module = { imports = [ ./nix/modules ]; };
|
||||||
};
|
};
|
||||||
|
|
||||||
lib = import ./nix/lib.nix { inherit nixpkgs; };
|
|
||||||
|
|
||||||
packages = rec {
|
packages = rec {
|
||||||
service-manager =
|
service-manager =
|
||||||
pkgs.rustPlatform.buildRustPackage
|
pkgs.rustPlatform.buildRustPackage
|
||||||
|
|
@ -127,5 +125,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
}))
|
||||||
|
//
|
||||||
|
{
|
||||||
|
lib = import ./nix/lib.nix { inherit nixpkgs; };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue