dotfiles/default.nix

13 lines
396 B
Nix

# We use top-level nix-flake, so default.nix is basically just a wrapper around ./flake.nix
(import
(
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball {
url = "https://git.pegasust.com/pegasust/boost/archive/${lock.nodes.boost.locked.rev}.tar.gz";
sha256 = lock.nodes.boost.locked.narHash;
}.flake-compat
)
{ src = ./.; }
).defaultNix