1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

home-environment: change runCommand to runCommandLocal so that config changes

can build offline (without unnecessarily consulting substituters)
This commit is contained in:
Your Name 2025-06-23 08:45:52 +00:00
parent 4c9e99e8e8
commit dd8a8c3b94

View file

@ -694,7 +694,7 @@ in
lib.bash.initHomeManagerLib = lib.bash.initHomeManagerLib =
let let
domainDir = domainDir =
pkgs.runCommand "hm-modules-messages" pkgs.runCommandLocal "hm-modules-messages"
{ {
nativeBuildInputs = [ pkgs.buildPackages.gettext ]; nativeBuildInputs = [ pkgs.buildPackages.gettext ];
} }
@ -786,7 +786,7 @@ in
''} ''}
''; '';
in in
pkgs.runCommand "home-manager-generation" pkgs.runCommandLocal "home-manager-generation"
{ {
preferLocalBuild = true; preferLocalBuild = true;
passAsFile = [ "extraDependencies" ]; passAsFile = [ "extraDependencies" ];