chore(nix): install pesde for devenv

This commit is contained in:
Erica Marigold 2025-02-09 17:31:49 +00:00
parent c514fc7b22
commit af2b3e128d
Signed by: DevComp
SSH key fingerprint: SHA256:jD3oMT4WL3WHPJQbrjC3l5feNCnkv7ndW8nYaHX5wFw

18
dev.nix
View file

@ -30,6 +30,22 @@ pkgs.mkShell {
'';
}
)
(
let version = "0.6.0-rc.4"; in
pkgs.stdenv.mkDerivation {
name = "pesde";
version = version;
src = pkgs.fetchzip {
url = "https://github.com/pesde-pkg/pesde/releases/download/v${version}+registry.0.2.0-rc.1/pesde-${version}-linux-x86_64.zip";
sha256 = "sha256-3aD2OGUUV4+ptWLTBHVDug9RDHicSM58YDcXCiYRSyY=";
};
installPhase = ''
mkdir -p $out/bin
cp pesde $out/bin/
'';
}
)
];
shellHook = ''
@ -71,6 +87,8 @@ pkgs.mkShell {
end
## FISH INIT END ##
fi
set PATH "$PATH:$HOME/.pesde/bin"
'';
}