mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
menulibre: use writableTmpDirAsHomeHook
This commit is contained in:
parent
f75606e0cb
commit
e3d1fe03ed
1 changed files with 3 additions and 5 deletions
|
@ -10,6 +10,7 @@
|
|||
nix-update-script,
|
||||
testers,
|
||||
menulibre,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
|
@ -19,7 +20,7 @@ python3Packages.buildPythonApplication rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "bluesabre";
|
||||
repo = "menulibre";
|
||||
rev = "menulibre-${version}";
|
||||
tag = "menulibre-${version}";
|
||||
hash = "sha256-IfsuOYP/H3r1GDWMVVSBfYvQS+01VJaAlZu+c05geWg=";
|
||||
};
|
||||
|
||||
|
@ -35,6 +36,7 @@ python3Packages.buildPythonApplication rec {
|
|||
intltool
|
||||
gobject-introspection
|
||||
wrapGAppsHook3
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -43,10 +45,6 @@ python3Packages.buildPythonApplication rec {
|
|||
--replace-fail 'update_desktop_file(desktop_file, script_path)' ""
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue