about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-23T20·08+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-23T20·11+0000
commit6a076e8329a8befdaec817eda775b40c6ed34d56 (patch)
treef66901a9903afb5f6ecceb6fc0a2ead9445abdbe
parent0973ca006cea610f1d0e060ceb3448c051b9e20e (diff)
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.
-rw-r--r--nixos/rebuild.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/rebuild.nix b/nixos/rebuild.nix
index 84a8bb05d6bf..57c3e71f912b 100644
--- a/nixos/rebuild.nix
+++ b/nixos/rebuild.nix
@@ -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
 ''