Files
nix-config/overlays/cd-fzf/default.nix
Dave Gallant 266401ceec Add cd-fzf
2025-01-27 20:14:33 -05:00

17 lines
383 B
Nix

{ stdenv, lib, fetchurl, }:
stdenv.mkDerivation rec {
pname = "cd-fzf";
version = "0.0.1";
executable = ./cd-fzf;
phases = [ "unpackPhase" ]; # Remove all other phases
unpackPhase = ''
mkdir -p $out/bin
cp ${executable} $out/bin/cd-fzf
'';
meta = with lib; {
description =
"\n Fuzzy find change directory";
platforms = platforms.unix;
};
}