mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
set keep-outputs/keep-derivations to nix.conf
This commit is contained in:
parent
d2d121de14
commit
c73420268c
1 changed files with 4 additions and 0 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -8,5 +8,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cachix/install-nix-action@v7
|
- uses: cachix/install-nix-action@v7
|
||||||
|
- name: Prevent garbage collections of gcroots
|
||||||
|
run:
|
||||||
|
printf "keep-outputs = true\nkeep-derivations = true\n" | sudo tee -a /etc/nix/nix.conf;
|
||||||
|
sudo systemctl restart nix-daemon
|
||||||
- run:
|
- run:
|
||||||
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz ci.nix --run 'true'
|
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz ci.nix --run 'true'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue