From cf3fcf7c7fb8f71d303a07eadc39708f46aad86e Mon Sep 17 00:00:00 2001 From: jahanson Date: Tue, 21 May 2024 10:20:17 -0500 Subject: [PATCH] debug --- .github/workflows/build.yml | 1 + flake.nix | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c72271..9561088 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,6 +52,7 @@ jobs: shell: bash run: | set -o pipefail + export HOME=$(pwd) nix build \ ".#top.${{ matrix.system }}" \ --profile ./profile \ diff --git a/flake.nix b/flake.nix index c2ee6db..1e9db2d 100644 --- a/flake.nix +++ b/flake.nix @@ -99,7 +99,6 @@ mkNixosConfig = { hostname , system ? "x86_64-linux" - , buildPhase ? "" , nixpkgs ? inputs.nixpkgs , hardwareModules ? [ ] # basemodules is the base of the entire machine building @@ -144,10 +143,6 @@ # Nix dev laptop hostname = "durincore"; system = "x86_64-linux"; - buildPhase = '' - # this line removes a bug where value of $HOME is set to a non-writable /homeless-shelter dir - export HOME=$(pwd) - ''; hardwareModules = [ ./nixos/profiles/hw-thinkpad-t470.nix inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t470s @@ -163,10 +158,6 @@ # forgejo server hostname = "varda"; system = "aarch64-linux"; - buildPhase = '' - # this line removes a bug where value of $HOME is set to a non-writable /homeless-shelter dir - export HOME=$(pwd) - ''; hardwareModules = [ ./nixos/profiles/hw-hetzner-cax.nix ];