all repos — homestead @ b56fe3e01fd31355e9b6ebd7b6df0ea9646c923f

Code for my website

Make compatible with non-flake nix

Alan Pearce
commit

b56fe3e01fd31355e9b6ebd7b6df0ea9646c923f

parent

b03d3f8d6336379c5ec92cddf3d27683f91e4264

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