feat: build pixi from source
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
./gh.nix
|
||||
./ssh.nix
|
||||
./dropbox.nix
|
||||
./pixi.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
atool
|
||||
httpie
|
||||
pixi
|
||||
just
|
||||
spotify
|
||||
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