aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs.nix')
-rw-r--r--nixpkgs.nix9
1 files changed, 0 insertions, 9 deletions
diff --git a/nixpkgs.nix b/nixpkgs.nix
deleted file mode 100644
index e4d0588..0000000
--- a/nixpkgs.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-# 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;
-in
- import (fetchTarball {
- url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
- sha256 = lock.narHash;
- })