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.
main
Naïm Favier 2 years ago
parent 88369997e1
commit 3c77d361b5
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2
  1. 4
      pkgs/applications/networking/instant-messengers/discord/linux.nix
  2. 4
      pkgs/applications/science/logic/tlaplus/toolbox.nix
  3. 4
      pkgs/tools/security/cryptomator/default.nix
  4. 4
      pkgs/top-level/all-packages.nix

@ -1,5 +1,5 @@
{ pname, version, src, meta, binaryName, desktopName, autoPatchelfHook { 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 , at-spi2-core, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk-pixbuf
, glib, gtk3, libcxx, libdrm, libnotify, libpulseaudio, libuuid, libX11 , glib, gtk3, libcxx, libdrm, libnotify, libpulseaudio, libuuid, libX11
, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes , libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
mesa mesa
nss nss
wrapGAppsHook wrapGAppsHook
makeWrapper makeShellWrapper
]; ];
dontWrapGApps = true; dontWrapGApps = true;

@ -1,6 +1,6 @@
{ lib { lib
, fetchzip , fetchzip
, makeWrapper , makeShellWrapper
, makeDesktopItem , makeDesktopItem
, stdenv , stdenv
, gtk3 , gtk3
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gtk3 ]; buildInputs = [ gtk3 ];
nativeBuildInputs = [ nativeBuildInputs = [
makeWrapper makeShellWrapper
wrapGAppsHook wrapGAppsHook
]; ];

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub
, autoPatchelfHook , autoPatchelfHook
, fuse, jffi , fuse, jffi
, maven, jdk, jre, makeWrapper, glib, wrapGAppsHook , maven, jdk, jre, makeShellWrapper, glib, wrapGAppsHook
}: }:
let let
@ -101,7 +101,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
autoPatchelfHook autoPatchelfHook
maven maven
makeWrapper makeShellWrapper
wrapGAppsHook wrapGAppsHook
jdk jdk
]; ];

@ -774,7 +774,9 @@ with pkgs;
makeInitrdNG = callPackage ../build-support/kernel/make-initrd-ng.nix; makeInitrdNG = callPackage ../build-support/kernel/make-initrd-ng.nix;
makeInitrdNGTool = callPackage ../build-support/kernel/make-initrd-ng-tool.nix {}; makeInitrdNGTool = callPackage ../build-support/kernel/make-initrd-ng-tool.nix {};
makeWrapper = makeSetupHook makeWrapper = makeShellWrapper;
makeShellWrapper = makeSetupHook
{ deps = [ dieHook ]; { deps = [ dieHook ];
substitutions = { substitutions = {
shell = targetPackages.runtimeShell; shell = targetPackages.runtimeShell;

Loading…
Cancel
Save