Skip to content
This repository has been archived by the owner on Dec 18, 2022. It is now read-only.

Commit

Permalink
ensure nixos install tools get nixUnstable
Browse files Browse the repository at this point in the history
  • Loading branch information
Pacman99 committed Dec 30, 2021
1 parent 15df091 commit 3b740a9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 11 deletions.
42 changes: 33 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions stdProfile.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let
# pkgs.nixos-install-tools does not build on darwin
installPkgs = (import "${toString pkgs.path}/nixos/lib/eval-config.nix" {
inherit (pkgs) system;
modules = [ ];
modules = [ { nix.package = pkgs.nixUnstable; } ];
}).config.system.build;
in
{
Expand Down Expand Up @@ -75,7 +75,7 @@ in
script = ./scripts/hosts-install.bash;
};
rebuild = {
writer = budUtils.writeBashWithPaths [ nixos-rebuild git mercurial coreutils ];
writer = budUtils.writeBashWithPaths [ installPkgs.nixos-rebuild git mercurial coreutils ];
synopsis = "rebuild HOST (switch|boot|test)";
help = "Shortcut for nixos-rebuild";
script = ./scripts/hosts-rebuild.bash;
Expand Down

0 comments on commit 3b740a9

Please # to comment.