mirror of
https://github.com/tweag/nickel.git
synced 2024-08-16 23:20:38 +03:00
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
|