From d2209be66f4d13bc530d7ba8bb86fb4753d9f709 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Tue, 18 Jun 2024 18:07:16 +0200 Subject: [PATCH] Revert "fix: restore fhs env for autofirma" This reverts commit 1b586f54adc25c189ce9b6407bb9e7b2fe2b19fe. --- nix/autofirma/default.nix | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/nix/autofirma/default.nix b/nix/autofirma/default.nix index 4de7619..09302ee 100644 --- a/nix/autofirma/default.nix +++ b/nix/autofirma/default.nix @@ -227,20 +227,21 @@ startupNotify = true; startupWMClass = "autofirma"; }); -in buildFHSEnv { - name = pname; - inherit meta; - targetPkgs = (pkgs: [ - firefox - pkgs.nss - ]); - runScript = lib.getExe thisPkg; - extraInstallCommands = '' - mkdir -p "$out/share/applications" - cp "${desktopItem}/share/applications/"* $out/share/applications - - mkdir -p $out/etc/firefox/pref - ln -s ${thisPkg}/etc/firefox/pref/AutoFirma.js $out/etc/firefox/pref/AutoFirma.js - ln -s ${thisPkg}/bin/autofirma-setup $out/bin/autofirma-setup - ''; -} +in thisPkg +# in buildFHSEnv { +# name = pname; +# inherit meta; +# targetPkgs = (pkgs: [ +# firefox +# pkgs.nss +# ]); +# runScript = lib.getExe thisPkg; +# extraInstallCommands = '' +# mkdir -p "$out/share/applications" +# cp "${desktopItem}/share/applications/"* $out/share/applications + +# mkdir -p $out/etc/firefox/pref +# ln -s ${thisPkg}/etc/firefox/pref/AutoFirma.js $out/etc/firefox/pref/AutoFirma.js +# ln -s ${thisPkg}/bin/autofirma-setup $out/bin/autofirma-setup +# ''; +# }