From 6a076e8329a8befdaec817eda775b40c6ed34d56 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 23 Feb 2020 20:08:19 +0000 Subject: [PATCH] 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. --- nixos/rebuild.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/rebuild.nix b/nixos/rebuild.nix index 84a8bb05d..57c3e71f9 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 ''