Update pkgs/waterfox-bin/default.nix
This commit is contained in:
parent
389bdc7d2a
commit
f983d9e8ba
1 changed files with 12 additions and 0 deletions
|
|
@ -147,6 +147,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
makeWrapper $out/opt/waterfox/waterfox-bin $out/bin/waterfox \
|
makeWrapper $out/opt/waterfox/waterfox-bin $out/bin/waterfox \
|
||||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"
|
||||||
--suffix PATH : "${lib.makeBinPath [ pciutils ]}"
|
--suffix PATH : "${lib.makeBinPath [ pciutils ]}"
|
||||||
|
|
||||||
|
mkdir -p $out/opt/waterfox/distribution
|
||||||
|
cat <<EOF > $out/opt/waterfox/distribution/policies.json
|
||||||
|
{
|
||||||
|
"policies": {
|
||||||
|
"DisableAppUpdate": true,
|
||||||
|
"DontCheckDefaultBrowser": true,
|
||||||
|
"DisplayBookmarksToolbar": "never",
|
||||||
|
"NoDefaultBookmarks": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
|
||||||
cp ${desktopItem}/share/applications/* $out/share/applications/
|
cp ${desktopItem}/share/applications/* $out/share/applications/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue