From 254246cf39e88c843a75ce7ef8dd0c7de2d0100e Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 1 Jan 2021 13:57:35 +0100 Subject: [PATCH] joinmarket: use installPhase This simplifies the build. --- pkgs/joinmarket/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/joinmarket/default.nix b/pkgs/joinmarket/default.nix index db52369..fe85427 100644 --- a/pkgs/joinmarket/default.nix +++ b/pkgs/joinmarket/default.nix @@ -22,15 +22,15 @@ stdenv.mkDerivation { buildInputs = [ pythonEnv ]; - buildCommand = '' - mkdir -p $src-unpacked $out/bin - tar xzf $src --strip 1 -C $src-unpacked + installPhase = '' + mkdir -p $out/bin # add-utxo.py -> bin/jm-add-utxo cpBin() { - cp $src-unpacked/scripts/$1 $out/bin/jm-''${1%.py} + cp scripts/$1 $out/bin/jm-''${1%.py} } - cp $src-unpacked/scripts/joinmarketd.py $out/bin/joinmarketd + + cp scripts/joinmarketd.py $out/bin/joinmarketd cpBin add-utxo.py cpBin convert_old_wallet.py cpBin receive-payjoin.py