mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
20 lines
383 B
Nix
20 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;
|
|
};
|
|
}
|