diff options
author | NotAShelf <itsashelf@gmail.com> | 2023-04-25 23:10:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 21:10:57 +0100 |
commit | 243a9339f041f62c1b5d8c05b415b126349c95b5 (patch) | |
tree | 315d2fafb2ed592e13ebd299f31fcd5d74e2127e /nixpkgs.nix | |
parent | 4b0c88736979fe2cb8e98e8e0ae12caf7e876141 (diff) |
reflopactor (#1)
Diffstat (limited to 'nixpkgs.nix')
-rw-r--r-- | nixpkgs.nix | 11 |
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; + }) |