Expose depot and briefcase to rebuild script
At the moment, I don't think nixos-rebuild is reading $NIX_PATH, which appropriately sets the paths for depot and briefcase. I'm going to explicitly expose these values in the rebuild script for now.
This commit is contained in:
parent
0973ca006c
commit
6a076e8329
1 changed files with 2 additions and 0 deletions
|
@ -5,5 +5,7 @@ pkgs.writeShellScriptBin "rebuild" ''
|
|||
sudo nixos-rebuild \
|
||||
-I nixos-config=/home/wpcarro/briefcase/nixos/configuration.nix \
|
||||
-I nixpkgs=/home/wpcarro/nixpkgs \
|
||||
-I depot=/home/wpcarro/depot \
|
||||
-I briefcase=/home/wpcarro/briefcase \
|
||||
switch
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue