diff options
author | Alan Pearce | 2023-06-20 18:41:36 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-20 18:41:36 +0200 |
commit | 3d3ac02cf53695838eb149cc5c3a395fa4077db8 (patch) | |
tree | dc39f2c1aab8b89543eaab4a307216498d3edad5 /default.nix | |
parent | ea30ac77b60642d691a0508af5eb005186cf2851 (diff) | |
download | website-3d3ac02cf53695838eb149cc5c3a395fa4077db8.tar.lz website-3d3ac02cf53695838eb149cc5c3a395fa4077db8.tar.zst website-3d3ac02cf53695838eb149cc5c3a395fa4077db8.zip |
Make compatible with non-flake nix
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..2cccff2 --- /dev/null +++ b/default.nix @@ -0,0 +1,10 @@ +(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 |