3
0
Fork 0
forked from mirrors/nixpkgs

tree-wide: do not depend on buildFHSEnvBubblewrap

It's the default now.
This commit is contained in:
Atemu 2023-04-11 15:59:32 +02:00
parent 2a641efe76
commit 24a513a87c
7 changed files with 15 additions and 15 deletions

View file

@ -1,7 +1,7 @@
{ stdenv, lib, makeDesktopItem
, unzip, libsecret, libXScrnSaver, libxshmfence, buildPackages
, atomEnv, at-spi2-atk, autoPatchelfHook
, systemd, fontconfig, libdbusmenu, glib, buildFHSEnvBubblewrap, wayland
, systemd, fontconfig, libdbusmenu, glib, buildFHSEnv, wayland
# Populate passthru.tests
, tests
@ -152,7 +152,7 @@ let
#
# buildFHSEnv allows for users to use the existing vscode
# extension tooling without significant pain.
fhs = { additionalPkgs ? pkgs: [] }: buildFHSEnvBubblewrap {
fhs = { additionalPkgs ? pkgs: [] }: buildFHSEnv {
# also determines the name of the wrapped command
name = executableName;

View file

@ -1,5 +1,5 @@
{ lib
, buildFHSEnvBubblewrap
, buildFHSEnv
, symlinkJoin
, bottles-unwrapped
, gst_all_1
@ -99,8 +99,8 @@ in
symlinkJoin {
name = "bottles";
paths = [
(buildFHSEnvBubblewrap (fhsEnv // { name = "bottles"; runScript = "bottles"; }))
(buildFHSEnvBubblewrap (fhsEnv // { name = "bottles-cli"; runScript = "bottles-cli"; }))
(buildFHSEnv (fhsEnv // { name = "bottles"; runScript = "bottles"; }))
(buildFHSEnv (fhsEnv // { name = "bottles-cli"; runScript = "bottles-cli"; }))
];
postBuild = ''
mkdir -p $out/share

View file

@ -1,6 +1,6 @@
{ stdenv
, lib
, buildFHSEnvBubblewrap
, buildFHSEnv
, copyDesktopItems
, dpkg
, lndir
@ -40,7 +40,7 @@ let
mimeTypes = [ "application/x-pkt" "application/x-pka" "application/x-pkz" ];
};
fhs = buildFHSEnvBubblewrap {
fhs = buildFHSEnv {
name = "packettracer7";
runScript = "${ptFiles}/bin/packettracer7";

View file

@ -2,7 +2,7 @@
, lib
, alsa-lib
, autoPatchelfHook
, buildFHSEnvBubblewrap
, buildFHSEnv
, copyDesktopItems
, dbus
, dpkg
@ -97,7 +97,7 @@ let
mimeTypes = [ "application/x-pkt" "application/x-pka" "application/x-pkz" ];
};
fhs = buildFHSEnvBubblewrap {
fhs = buildFHSEnv {
name = "packettracer8";
runScript = "${ptFiles}/bin/packettracer";
targetPkgs = pkgs: [ libudev0-shim ];

View file

@ -2,7 +2,7 @@
## - export ELECTRON_SKIP_BINARY_DOWNLOAD=1
## - jq "del(.scripts.preinstall)" node_modules/shellcheck/package.json | sponge node_modules/shellcheck/package.json
{
lib, stdenv, buildFHSEnvBubblewrap, runCommand, writeScript, fetchurl, fetchzip
lib, stdenv, buildFHSEnv, runCommand, writeScript, fetchurl, fetchzip
}:
let
pname = "webtorrent-desktop";
@ -20,7 +20,7 @@ runCommand "${pname}-${version}" rec {
else
throw "Webtorrent is not currently supported on ${stdenv.hostPlatform.system}";
fhs = buildFHSEnvBubblewrap rec {
fhs = buildFHSEnv rec {
name = "fhsEnterWebTorrent";
runScript = "${src}/WebTorrent";
## use the trampoline, if you need to shell into the fhsenv

View file

@ -1,6 +1,6 @@
{ lib
, stdenv
, buildFHSEnvBubblewrap
, buildFHSEnv
, corefonts
, dejavu_fonts
, dpkg
@ -57,7 +57,7 @@ let
dontStrip = true;
passthru = {
fhs = buildFHSEnvBubblewrap {
fhs = buildFHSEnv {
name = "onlyoffice-wrapper";
targetPkgs = pkgs: [

View file

@ -1,6 +1,6 @@
# The actual Plex package that we run is a FHS userenv of the "raw" package.
{ stdenv
, buildFHSEnvBubblewrap
, buildFHSEnv
, writeScript
, plexRaw
@ -9,7 +9,7 @@
, dataDir ? "/var/lib/plex"
}:
buildFHSEnvBubblewrap {
buildFHSEnv {
name = "plexmediaserver";
inherit (plexRaw) meta;