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