From 243a9339f041f62c1b5d8c05b415b126349c95b5 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 25 Apr 2023 23:10:57 +0300 Subject: reflopactor (#1) --- nixpkgs.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'nixpkgs.nix') 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; + }) -- cgit v1.2.3-54-g00ecf