summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-05-12 00:25:07 +0200
committerNaïm Favier <n@monade.li>2022-05-12 11:01:23 +0200
commit3c77d361b5e8e8d9173282538067cce6bcc3cc29 (patch)
treef7b722de50a9e0db881fd8695810aeb527494ade
parent88369997e1db7e1819b7b940fc2740f188d6608d (diff)
makeShellWrapper: add explicitly named attribute
So that things that use the makeShellWrapper/wrapProgramShell functions can depend on makeShellWrapper explicitly, which should ease migration in the future.
-rw-r--r--pkgs/applications/networking/instant-messengers/discord/linux.nix4
-rw-r--r--pkgs/applications/science/logic/tlaplus/toolbox.nix4
-rw-r--r--pkgs/tools/security/cryptomator/default.nix4
-rw-r--r--pkgs/top-level/all-packages.nix4
4 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/linux.nix b/pkgs/applications/networking/instant-messengers/discord/linux.nix
index b36dc935f1ce..b960caa64d80 100644
--- a/pkgs/applications/networking/instant-messengers/discord/linux.nix
+++ b/pkgs/applications/networking/instant-messengers/discord/linux.nix
@@ -1,5 +1,5 @@
{ pname, version, src, meta, binaryName, desktopName, autoPatchelfHook
-, makeDesktopItem, lib, stdenv, wrapGAppsHook, makeWrapper, alsa-lib, at-spi2-atk
+, makeDesktopItem, lib, stdenv, wrapGAppsHook, makeShellWrapper, alsa-lib, at-spi2-atk
, at-spi2-core, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk-pixbuf
, glib, gtk3, libcxx, libdrm, libnotify, libpulseaudio, libuuid, libX11
, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
mesa
nss
wrapGAppsHook
- makeWrapper
+ makeShellWrapper
];
dontWrapGApps = true;
diff --git a/pkgs/applications/science/logic/tlaplus/toolbox.nix b/pkgs/applications/science/logic/tlaplus/toolbox.nix
index ff763608cbab..3c53e66c8bd9 100644
--- a/pkgs/applications/science/logic/tlaplus/toolbox.nix
+++ b/pkgs/applications/science/logic/tlaplus/toolbox.nix
@@ -1,6 +1,6 @@
{ lib
, fetchzip
-, makeWrapper
+, makeShellWrapper
, makeDesktopItem
, stdenv
, gtk3
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gtk3 ];
nativeBuildInputs = [
- makeWrapper
+ makeShellWrapper
wrapGAppsHook
];
diff --git a/pkgs/tools/security/cryptomator/default.nix b/pkgs/tools/security/cryptomator/default.nix
index 9517427fefd1..ccd5318ffb60 100644
--- a/pkgs/tools/security/cryptomator/default.nix
+++ b/pkgs/tools/security/cryptomator/default.nix
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub
, autoPatchelfHook
, fuse, jffi
-, maven, jdk, jre, makeWrapper, glib, wrapGAppsHook
+, maven, jdk, jre, makeShellWrapper, glib, wrapGAppsHook
}:
let
@@ -101,7 +101,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [
autoPatchelfHook
maven
- makeWrapper
+ makeShellWrapper
wrapGAppsHook
jdk
];
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 2a01e4909ca4..f76663faff35 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -774,7 +774,9 @@ with pkgs;
makeInitrdNG = callPackage ../build-support/kernel/make-initrd-ng.nix;
makeInitrdNGTool = callPackage ../build-support/kernel/make-initrd-ng-tool.nix {};
- makeWrapper = makeSetupHook
+ makeWrapper = makeShellWrapper;
+
+ makeShellWrapper = makeSetupHook
{ deps = [ dieHook ];
substitutions = {
shell = targetPackages.runtimeShell;