refactor(repo): change a bunch of everything

This commit is contained in:
Artur Manuel 2025-02-17 04:40:13 +00:00
commit 81bee82c34
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
26 changed files with 352 additions and 127 deletions

View file

@ -1,37 +0,0 @@
{
symlinkJoin,
nushell,
amadaluzian-starship,
zoxide,
makeWrapper,
}:
symlinkJoin {
name = "nu";
paths = [
nushell
amadaluzian-starship
zoxide
];
nativeBuildInputs = [
makeWrapper
];
passthru = {
inherit (nushell.passthru) shellPath;
};
meta = {
inherit (nushell.meta) mainProgram;
};
postBuild = ''
wrapProgram $out/bin/nu \
--set NU_CONFIG_DIR "${./cfg}" \
--add-flags '--env-config' \
--add-flags '$NU_CONFIG_DIR/env.nu' \
--add-flags '--config' \
--add-flags '$NU_CONFIG_DIR/config.nu' \
'';
}