summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/cmdtree.nix14
1 files 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 ];
}