This commit is contained in:
41666 2025-03-28 15:42:30 -07:00
parent c5c87f75d0
commit d4375b84a8
8 changed files with 76 additions and 56 deletions

View file

@ -1,7 +1,7 @@
# A nixpkgs instance that is grabbed from the pinned nixpkgs commit in the lock file
# This is useful to avoid using channels when using legacy nix commands
let
lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs-master.locked;
in import (fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
sha256 = lock.narHash;