diff --git a/pkgs/by-name/me/menulibre/package.nix b/pkgs/by-name/me/menulibre/package.nix index 530d0f8f7ab6..a5a9e2e8bb87 100644 --- a/pkgs/by-name/me/menulibre/package.nix +++ b/pkgs/by-name/me/menulibre/package.nix @@ -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 {