Skip to content

Commit

Permalink
Revert "fix: restore fhs env for autofirma"
Browse files Browse the repository at this point in the history
This reverts commit 1b586f5.
  • Loading branch information
panchoh committed Jun 18, 2024
1 parent 1b586f5 commit d2209be
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions nix/autofirma/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
# '';
# }

0 comments on commit d2209be

Please sign in to comment.