nix-bitcoin/pkgs/nodeinfo/default.nix

16 lines
242 B
Nix
Raw Normal View History

{pkgs}:
2018-11-21 01:14:40 +03:00
with pkgs;
2018-11-21 01:14:40 +03:00
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
2018-11-21 01:14:40 +03:00
'';
}