cmdtree

A trie command launcher for X11
git clone git://jb55.com/cmdtree
Log | Files | Refs | README | LICENSE

commit 6651536773dcad282683d0f9b1e2756cf61717f3
parent 5606078e8fa02462f0208d9f9cad98c7673812e6
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  5 Nov 2020 12:00:42 -0800

nix: fixup install

Diffstat:
Mdefault.nix | 17++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/default.nix b/default.nix @@ -1,14 +1,9 @@ -{ nixpkgs ? import <nixpkgs> {} }: +{ pkgs ? import <nixpkgs> {} }: -with nixpkgs; - -stdenv.mkDerivation { - name = "cmdtree"; +pkgs.stdenv.mkDerivation { + pname = "cmdtree"; + version = "0.1"; src = ./.; - buildPhase = "make"; - installPhase = '' - mkdir -p $out/bin - cp ./cmdtree $out/bin - ''; - buildInputs = [ pkgs.xorg.libX11 pkgs.xorg.libXft ]; + makeFlags = "PREFIX=$(out)"; + buildInputs = with pkgs; [ xorg.libX11 xorg.libXft ]; }