Added vesp overlay.
This commit is contained in:
parent
6ffe4680ca
commit
19e8d6e288
2 changed files with 31 additions and 0 deletions
3
cosmonic-fix.txt
Normal file
3
cosmonic-fix.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
if there areissue running cosmonic run:
|
||||||
|
rustup default stable
|
||||||
|
rustup target add wasm32-unknown-unknown
|
28
vespa-cli-overlay.nix
Normal file
28
vespa-cli-overlay.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
self: super:
|
||||||
|
|
||||||
|
{
|
||||||
|
vespa-cli = super.stdenv.mkDerivation rec {
|
||||||
|
pname = "vespa-cli";
|
||||||
|
version = "8.162.29";
|
||||||
|
|
||||||
|
src = super.fetchurl {
|
||||||
|
url = "https://github.com/vespa-engine/vespa/releases/download/v${version}/vespa-cli_${version}_darwin_arm64.tar.gz";
|
||||||
|
sha256 = "05cdabe044ac34a74eca66ade3db49b7a1db29c691e7f8bbd1e71ab991548688";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [];
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
tar -xzf $src
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp vespa-cli_${version}_darwin_arm64/bin/vespa $out/bin
|
||||||
|
chmod +x $out/bin/vespa
|
||||||
|
# Add an exception to allow the vespa binary to run
|
||||||
|
xattr -r -d com.apple.quarantine $out/bin/vespa
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue