forked from DGNum/infrastructure
feat(iso): Use default nixpkgs version
This commit is contained in:
parent
e0cec882d8
commit
d566336d5e
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NIXPKGS=$(nix-build nixpkgs.nix)
|
NIXPKGS=$(nix-build --no-out-link nixpkgs.nix)
|
||||||
|
|
||||||
nixos-generate -c configuration.nix -I NIX_PATH="$NIXPKGS" -f install-iso
|
nixos-generate -c configuration.nix -I NIX_PATH="$NIXPKGS" -f install-iso
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
let
|
let
|
||||||
inherit (import ../npins) nixpkgs;
|
version = (import ../meta/nixpkgs.nix).default;
|
||||||
|
nixpkgs = (import ../npins)."nixos-${version}";
|
||||||
in
|
in
|
||||||
|
|
||||||
(import nixpkgs { }).srcOnly {
|
(import nixpkgs { }).srcOnly {
|
||||||
|
|
Loading…
Reference in a new issue