From 0ae836cb332506ed61f0da320b279b953ab3344f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 1 Jan 2023 21:04:55 -0500 Subject: update cmdtree Change-Id: Ie4a5f9db92b4e6bc8b1b348217db2a09df2d2417 --- pkgs/cmdtree.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pkgs/cmdtree.nix b/pkgs/cmdtree.nix index a9a0fec..1c991bb 100644 --- a/pkgs/cmdtree.nix +++ b/pkgs/cmdtree.nix @@ -3,17 +3,13 @@ stdenv.mkDerivation { name = "cmdtree"; src = fetchgit { - url = "https://git.sr.ht/~jb55/cmdtree"; - rev = "5606078e8fa02462f0208d9f9cad98c7673812e6"; - sha256 = "sha256-/5f8uxcMmH7/W58if2DIl4R0Emt8jDWeoImOmQL6C7U="; + url = "git://jb55.com/cmdtree"; + rev = "a7a1f07bfca23397d0d645cb7dbc3b7a63e521cb"; + sha256 = "sha256-QPUJUNiLzva+Mtbhic/yv6u2VIFdXkiZCtSz4eWSxzc="; }; - buildPhase = '' + patchPhase = '' cp ${../lib/cfg.def.h} ./cfg.def.h - make - ''; - installPhase = '' - mkdir -p $out/bin - install -m755 ./cmdtree $out/bin ''; + makeFlags = "PREFIX=$(out)"; buildInputs = [ xorg.libX11 xorg.libXft ]; } -- cgit v1.2.3