mirror of
https://github.com/jb55/nostril.git
synced 2024-12-24 11:15:51 -05:00
nix build
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
60a4613cc1
commit
251031f5a5
4
Makefile
4
Makefile
|
@ -12,6 +12,10 @@ all: nostril
|
|||
nostril: $(HEADERS) $(OBJS)
|
||||
$(CC) $(CFLAGS) $(OBJS) -lsecp256k1 -o $@
|
||||
|
||||
install: nostril
|
||||
mkdir -p $(PREFIX)/bin
|
||||
cp nostril $(PREFIX)/bin
|
||||
|
||||
config.h: configurator
|
||||
./configurator > $@
|
||||
|
||||
|
|
13
default.nix
Normal file
13
default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
with pkgs;
|
||||
stdenv.mkDerivation {
|
||||
pname = "nostril";
|
||||
version = "0.1";
|
||||
|
||||
src = ./.;
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
buildInputs = [ secp256k1 ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user