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