mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 14:56:43 +03:00
16 lines
242 B
Nix
16 lines
242 B
Nix
{pkgs}:
|
|
|
|
with pkgs;
|
|
stdenv.mkDerivation {
|
|
name = "nodeinfo";
|
|
src = ./nodeinfo.sh;
|
|
|
|
unpackPhase = "true";
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
mkdir -p $out/bin
|
|
cp $src $out/bin/nodeinfo
|
|
chmod +x $out/bin/nodeinfo
|
|
'';
|
|
}
|