chawan: 0.3.3 -> 0.4.4

In the MakeFile, Build target `chac` will write its cache to $HOME.
Added `preBuild` as build needs to alias HOME to $TMPDIR as $HOME as $HOME istelf is immutable in nix sandbox
This commit is contained in:
KangaZero
2026-08-17 15:05:22 +09:00
parent 56088079a2
commit 536a89022d

View File

@@ -14,13 +14,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "chawan";
version = "0.3.3";
version = "0.4.4";
src = fetchFromSourcehut {
owner = "~bptato";
repo = "chawan";
tag = "v${finalAttrs.version}";
hash = "sha256-GVDh94pgdMlwHMyqtT8q2yM+rwioodBYQfA+AOZ/CsU=";
hash = "sha256-4MrJoBNQ4Sbx02/Cl/JdTux5UUu8ioSwRNvDxCH6gcY=";
};
nativeBuildInputs = [
@@ -35,6 +35,10 @@ stdenv.mkDerivation (finalAttrs: {
libssh2
];
preBuild = ''
export HOME=$TMPDIR
'';
buildFlags = [
"all"
];