mirror of
https://github.com/tweag/nickel.git
synced 2024-11-10 10:46:49 +03:00
1f02b085c6
Make it possible to build it with `nix-build https://github.com/tweag/nickel/archive/master.tar.gz --arg fromGit false`
5 lines
178 B
Nix
5 lines
178 B
Nix
{ fromGit ? true }:
|
|
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
|
|
src = if fromGit then builtins.fetchGit ./. else ./.;
|
|
}).defaultNix
|