Skip to content

Commit

Permalink
Use locked flake-compat in shell.nix
Browse files Browse the repository at this point in the history
Change-Id: I059aa6da6365f1a5a46b506e57d9b3ab2b73d8d8
  • Loading branch information
chipb committed Dec 30, 2024
1 parent 92ed9fe commit 5c7ea4f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
shell =
(import (fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz") {
src = ./.;
}).shellNix;
(import (fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}) { src = ./.; }).shellNix;
in
shell.default // shell.devShells.${builtins.currentSystem}

0 comments on commit 5c7ea4f

Please sign in to comment.