2022-11-08 12:59:31 -08:00
|
|
|
# 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
|
2023-05-03 11:07:03 -07:00
|
|
|
let
|
|
|
|
lock =
|
|
|
|
(builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
|
|
|
|
in import (fetchTarball {
|
2022-11-08 12:59:31 -08:00
|
|
|
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
|
|
|
|
sha256 = lock.narHash;
|
|
|
|
})
|