about summary refs log tree commit diff
path: root/default.nix
blob: 6466507b7140db2dfcd05aa3ed371bb53df35988 (plain) (blame)
1
2
3
4
5
6
7
8
9
(import (
  let
    lock = builtins.fromJSON (builtins.readFile ./flake.lock);
  in
  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 = ./.; }).defaultNix

Consider giving Nix/NixOS a try! <3