This commit is contained in:
iFargle 2023-09-19 20:44:09 +09:00
parent f48a9c0f8f
commit 463ce86575
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# 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
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 { in import (fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/${nixpkgs-lock.rev}.tar.gz"; url = "https://github.com/nixos/nixpkgs/archive/${nixpkgs-lock.rev}.tar.gz";
sha256 = nixpkgs-lock.narHash; sha256 = nixpkgs-lock.narHash;

View file

@ -1,5 +1,5 @@
# Useful to avoid using channels when using legacy nix commands # 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 { in import (fetchTarball {
url = "https://github.com/Mic92/sops-nix/archive/${sops-nix-lock.rev}.tar.gz"; url = "https://github.com/Mic92/sops-nix/archive/${sops-nix-lock.rev}.tar.gz";
sha256 = sops-nix-lock.narHash; sha256 = sops-nix-lock.narHash;