mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user