mirror of
https://github.com/RoBaertschi/tt.git
synced 2025-04-16 05:53:30 +00:00
support nix-build
run `nix-build nix` to build without flakes
This commit is contained in:
parent
8748df6559
commit
9edcc92564
4
nix/default.nix
Normal file
4
nix/default.nix
Normal file
@ -0,0 +1,4 @@
|
||||
# ml2 ts=2 sts=2 sw=2
|
||||
|
||||
with import <nixpkgs> {};
|
||||
callPackage ./package.nix {}
|
@ -1,7 +1,8 @@
|
||||
# ml2 ts=2 sts=2 sw=2
|
||||
{buildGoModule, version}: buildGoModule {
|
||||
{buildGoModule, version ? "HEAD"}: buildGoModule {
|
||||
pname = "tt";
|
||||
inherit version;
|
||||
|
||||
# In 'nix develop', we don't need a copy of the source tree
|
||||
# in the Nix store.
|
||||
src = ./..;
|
||||
|
Loading…
x
Reference in New Issue
Block a user