mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 13:22:28 +00:00
Add cd-fzf
This commit is contained in:
16
overlays/cd-fzf/default.nix
Normal file
16
overlays/cd-fzf/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user