all repos — website @ 3d3ac02cf53695838eb149cc5c3a395fa4077db8

My website

Make compatible with non-flake nix

Alan Pearce
commit

3d3ac02cf53695838eb149cc5c3a395fa4077db8

parent

ea30ac77b60642d691a0508af5eb005186cf2851

1 file changed, 10 insertions(+), 0 deletions(-)

changed files
A 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