test
This commit is contained in:
parent
f48a9c0f8f
commit
463ce86575
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
let nixpkgs-lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
|
||||
let nixpkgs-lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes.nixpkgs.locked;
|
||||
in import (fetchTarball {
|
||||
url = "https://github.com/nixos/nixpkgs/archive/${nixpkgs-lock.rev}.tar.gz";
|
||||
sha256 = nixpkgs-lock.narHash;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Useful to avoid using channels when using legacy nix commands
|
||||
let sops-nix-lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.sops-nix.locked;
|
||||
let sops-nix-lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes.sops-nix.locked;
|
||||
in import (fetchTarball {
|
||||
url = "https://github.com/Mic92/sops-nix/archive/${sops-nix-lock.rev}.tar.gz";
|
||||
sha256 = sops-nix-lock.narHash;
|
||||
|
|
Loading…
Reference in a new issue