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:
William Carroll 2020-02-23 20:08:19 +00:00
parent 0973ca006c
commit 6a076e8329

View file

@ -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
''