mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
hmm: use writableTmpDirAsHomeHook
This commit is contained in:
parent
35482917cb
commit
eab9ad9015
1 changed files with 2 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
rustPlatform,
|
||||
fetchCrate,
|
||||
perl,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -20,15 +21,12 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
nativeCheckInputs = [
|
||||
perl
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
# FIXME: remove patch when upstream version of rustc-serialize is updated
|
||||
# https://github.com/NixOS/nixpkgs/pull/310673
|
||||
cargoPatches = [ ./rustc-serialize-fix.patch ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small command-line note-taking app";
|
||||
homepage = "https://github.com/samwho/hmm";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue