feat: build pixi from source
This commit is contained in:
@@ -13,12 +13,12 @@
|
|||||||
./gh.nix
|
./gh.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./dropbox.nix
|
./dropbox.nix
|
||||||
|
./pixi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
atool
|
atool
|
||||||
httpie
|
httpie
|
||||||
pixi
|
|
||||||
just
|
just
|
||||||
spotify
|
spotify
|
||||||
brave
|
brave
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.sessionPath = [ "$HOME/.pixi/bin" ];
|
||||||
|
home.activation.pixi = {
|
||||||
|
after = [ "writeBoundary" ];
|
||||||
|
before = [];
|
||||||
|
data = ''
|
||||||
|
export PATH="${pkgs.curl}/bin:${pkgs.coreutils}/bin:$PATH"
|
||||||
|
if ! command -v pixi &> /dev/null; then
|
||||||
|
curl -fsSL https://pixi.sh/install.sh | PIXI_NO_PATH_UPDATE=1 bash
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user