mirror of
https://github.com/tweag/nickel.git
synced 2024-10-03 22:57:11 +03:00
Make it easier to build the project without using flakes
Make it possible to build it with `nix-build https://github.com/tweag/nickel/archive/master.tar.gz --arg fromGit false`
This commit is contained in:
parent
25a76c4288
commit
1f02b085c6
@ -1,3 +1,4 @@
|
||||
{ fromGit ? true }:
|
||||
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
|
||||
src = builtins.fetchGit ./.;
|
||||
src = if fromGit then builtins.fetchGit ./. else ./.;
|
||||
}).defaultNix
|
||||
|
Loading…
Reference in New Issue
Block a user