9 stdenv.mkDerivation (finalAttrs: {
11 version = "unstable-2022-03-27";
13 src = fetchFromGitHub {
16 rev = "d428b723c8c18fef3b2a00b8b8b731177f483ad8";
17 hash = "sha256-msItKEPe7uSUpDAfCfdYZjt5NyfM3KtOrLUTO9NGqlg=";
21 ./001-writable-omf-path.diff
36 mkdir -pv $out/bin $out/share/oh-my-fish
37 cp -vr * $out/share/oh-my-fish
39 cp -v ${substituteAll {
42 OMF = placeholder "out";
43 inherit fish runtimeShell;
44 }} $out/bin/omf-install
46 chmod +x $out/bin/omf-install
47 cat $out/bin/omf-install
53 homepage = "https://github.com/oh-my-fish/oh-my-fish";
54 description = "Fish Shell Framework";
56 Oh My Fish provides core infrastructure to allow you to install packages
57 which extend or modify the look of your shell. It's fast, extensible and
60 license = lib.licenses.mit;
62 mainProgram = "omf-install";
63 inherit (fish.meta) platforms;
66 # TODO: customize the omf-install script