diff --git a/lib/nkxpkgs.nix b/lib/nkxpkgs.nix index 4275ad32..95c079ca 100644 --- a/lib/nkxpkgs.nix +++ b/lib/nkxpkgs.nix @@ -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; diff --git a/lib/sops-nix.nix b/lib/sops-nix.nix index b98ca472..04f718d0 100644 --- a/lib/sops-nix.nix +++ b/lib/sops-nix.nix @@ -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;