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.
This commit is contained in:
Naïm Favier 2022-05-12 00:25:07 +02:00
parent 88369997e1
commit 3c77d361b5
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2
4 changed files with 9 additions and 7 deletions

View File

@ -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;

View File

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

View File

@ -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
];

View File

@ -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;