mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 18:57:08 +00:00
release: rename release
to release-lib
to match NixOS
2d2a9ddbe3/pkgs/top-level/release.nix (L56-L58)
This commit is contained in:
parent
8a03b1850b
commit
c904f6cdcb
1 changed files with 6 additions and 6 deletions
12
release.nix
12
release.nix
|
@ -5,7 +5,12 @@
|
|||
}:
|
||||
|
||||
let
|
||||
inherit (release) pkgs;
|
||||
release-lib = import (nixpkgs + "/pkgs/top-level/release-lib.nix") {
|
||||
inherit supportedSystems scrubJobs system;
|
||||
packageSet = import nixpkgs;
|
||||
};
|
||||
|
||||
inherit (release-lib) pkgs;
|
||||
|
||||
buildFromConfig = configuration: sel: sel
|
||||
(import ./. { inherit nixpkgs configuration system; }).config;
|
||||
|
@ -58,11 +63,6 @@ let
|
|||
in
|
||||
buildFromConfig configuration (config: config.system.build.run-test);
|
||||
|
||||
release = import (nixpkgs + "/pkgs/top-level/release-lib.nix") {
|
||||
inherit supportedSystems scrubJobs;
|
||||
packageSet = import nixpkgs;
|
||||
};
|
||||
|
||||
manual = buildFromConfig ({ lib, config, ... }: {
|
||||
system.stateVersion = lib.mkDefault config.system.maxStateVersion;
|
||||
}) (config: config.system.build.manual);
|
||||
|
|
Loading…
Add table
Reference in a new issue