about summary refs log tree commit diff
path: root/default.nix
blob: c7d0c267d29011b3a3f19f569a9c3fb6cef311e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
  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