debug
This commit is contained in:
parent
00d0e21bc8
commit
bade33e81d
2 changed files with 3 additions and 8 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -50,10 +50,10 @@ jobs:
|
||||||
|
|
||||||
- name: Build new ${{ matrix.system }} system
|
- name: Build new ${{ matrix.system }} system
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
HOME: /tmp
|
||||||
run: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
rm -rf /homeless-shelter
|
|
||||||
export HOME=$(pwd)
|
|
||||||
nix build \
|
nix build \
|
||||||
".#top.${{ matrix.system }}" \
|
".#top.${{ matrix.system }}" \
|
||||||
--profile ./profile \
|
--profile ./profile \
|
||||||
|
|
|
@ -77,14 +77,9 @@
|
||||||
rec {
|
rec {
|
||||||
# Use nixpkgs-fmt for 'nix fmt'
|
# Use nixpkgs-fmt for 'nix fmt'
|
||||||
formatter = forAllSystems (system: nixpkgs.legacyPackages."${system}".nixpkgs-fmt);
|
formatter = forAllSystems (system: nixpkgs.legacyPackages."${system}".nixpkgs-fmt);
|
||||||
buildPhase = forAllSystems (system: nixpkgs.legacyPackages."${system}".stdenv.mkDerivation {
|
|
||||||
buildPhase = ''
|
|
||||||
export HOME=$(pwd)
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
|
|
||||||
# setup devshells against shell.nix
|
# setup devshells against shell.nix
|
||||||
# devShells = forAllSystems (pkgs: import ./shell.nix { inherit pkgs; });
|
devShells = forAllSystems (pkgs: import ./shell.nix { inherit pkgs; });
|
||||||
|
|
||||||
# extend lib with my custom functions
|
# extend lib with my custom functions
|
||||||
lib = nixpkgs.lib.extend (
|
lib = nixpkgs.lib.extend (
|
||||||
|
|
Reference in a new issue