Configure nix on user level #2
1 changed files with 3 additions and 3 deletions
|
@ -14,10 +14,10 @@ runs:
|
|||
steps:
|
||||
- name: Setup NIX CI Environment
|
||||
run: |
|
||||
echo "substituters = https://nixpkgs-cache.qo.is?priority=39" >> /etc/nix/nix.conf
|
||||
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" >> /etc/nix/nix.conf
|
||||
nix profile install nixpkgs#git-lfs nixpkgs#gnused
|
||||
mkdir -p ~/.config/nix && cp /etc/nix/nix.conf ~/.config/nix/
|
||||
echo "substituters = https://nixpkgs-cache.qo.is?priority=39" >> ~/.config/nix/nix.conf
|
||||
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" >> ~/.config/nix/nix.conf
|
||||
nix profile install nixpkgs#git-lfs nixpkgs#gnused
|
||||
|
||||
- name: Checkout Repository
|
||||
shell: "nix shell nixpkgs#git-lfs nixpkgs#gnused --command {0}"
|
||||
|
|
Loading…
Reference in a new issue