diff options
author | William Carroll <wpcarro@gmail.com> | 2020-02-23T20·08+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-02-23T20·11+0000 |
commit | 6a076e8329a8befdaec817eda775b40c6ed34d56 (patch) | |
tree | f66901a9903afb5f6ecceb6fc0a2ead9445abdbe | |
parent | 0973ca006cea610f1d0e060ceb3448c051b9e20e (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.nix | 2 |
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 '' |