moon: 1.38.5 -> 1.41.2
This commit is contained in:
@@ -9,20 +9,21 @@
|
|||||||
nix-update-script,
|
nix-update-script,
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
buildPackages,
|
buildPackages,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "moon";
|
pname = "moon";
|
||||||
version = "1.38.5";
|
version = "1.41.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "moonrepo";
|
owner = "moonrepo";
|
||||||
repo = "moon";
|
repo = "moon";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-jWLyg7K+ucCsrHwFNrpmWAXznSD+3TaYGfbZ2hWlnP0=";
|
hash = "sha256-pBuCKwBLIDv+UANyKGKbPC9am8YYgTKLF0fY2WLpOVg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-2E59P0d3SDZUgbN5V52Rr9liONiKcFUFv3dSrtFJ8NE=";
|
cargoHash = "sha256-2Kv12YpYLNPHp2sK4NV3N+w3yQUL+WoYPrmkrYyyp+8=";
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
RUSTFLAGS = "-C strip=symbols";
|
RUSTFLAGS = "-C strip=symbols";
|
||||||
@@ -33,6 +34,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
writableTmpDirAsHomeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) (
|
postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) (
|
||||||
|
|||||||
Reference in New Issue
Block a user