test
This commit is contained in:
parent
3081654c19
commit
0a56fcf164
1 changed files with 6 additions and 2 deletions
|
@ -8,13 +8,17 @@ let
|
||||||
in
|
in
|
||||||
# A nixpkgs instance that is grabbed from the pinned nixpkgs commit in the lock file
|
# 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
|
# 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;});
|
{ pkgs ? import (
|
||||||
|
fetchTarball {
|
||||||
|
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz"; sha256 = lock.narHash;
|
||||||
|
}
|
||||||
|
) { }
|
||||||
}: {
|
}: {
|
||||||
mkShell {
|
mkShell {
|
||||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||||
# imports all files ending in .asc/.gpg
|
# imports all files ending in .asc/.gpg
|
||||||
sopsPGPKeyDirs = [
|
sopsPGPKeyDirs = [
|
||||||
"${toString ./.}/keys/hosts"
|
"${toString ./.}/keys/hosts"d
|
||||||
"${toString ./.}/keys/users"
|
"${toString ./.}/keys/users"
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue