set keep-outputs/keep-derivations to nix.conf

This commit is contained in:
Jörg Thalheim 2020-04-11 21:48:15 +01:00
parent d2d121de14
commit c73420268c
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -8,5 +8,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- 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:
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz ci.nix --run 'true'