test
This commit is contained in:
parent
a4a533dbbd
commit
3081654c19
1 changed files with 18 additions and 17 deletions
|
@ -6,11 +6,11 @@ let
|
|||
};
|
||||
lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
|
||||
in
|
||||
# A nixpkgs instance that is grabbed from the pinned nixpkgs commit in the lock file
|
||||
# Useful to avoid using channels when using legacy nix commands
|
||||
{ pkgs ? import (fetchTarball {url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz"; sha256 = lock.narHash;});
|
||||
}: {
|
||||
mkShell {
|
||||
import (fetchTarball {
|
||||
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
|
||||
sha256 = lock.narHash;
|
||||
})
|
||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||
# imports all files ending in .asc/.gpg
|
||||
sopsPGPKeyDirs = [
|
||||
|
@ -24,3 +24,4 @@ mkShell {
|
|||
(pkgs.callPackage sops-nix {}).sops-import-keys-hook
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue