diff options
author | Artturin <Artturin@artturin.com> | 2022-05-23 21:28:14 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-05-25 15:51:20 +0300 |
commit | 0c4d65b21efd3ae2fcdec54492cbaa6542352eb9 (patch) | |
tree | d5251369babb3ed450ff99ad79f7c7ce285fe49c /pkgs/applications/graphics | |
parent | a05b5817834f553f8eae560c58fed02a59af42b9 (diff) |
treewide: stdenv.glibc -> glibc
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/sane/backends/brscan4/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/graphics/sane/backends/brscan5/default.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/graphics/sane/backends/brscan4/default.nix b/pkgs/applications/graphics/sane/backends/brscan4/default.nix index 93d40374607e4..b203f0c3dbc63 100644 --- a/pkgs/applications/graphics/sane/backends/brscan4/default.nix +++ b/pkgs/applications/graphics/sane/backends/brscan4/default.nix @@ -1,8 +1,8 @@ -{ stdenv, lib, fetchurl, callPackage, patchelf, makeWrapper, libusb-compat-0_1 }: +{ stdenv, lib, fetchurl, callPackage, patchelf, makeWrapper, libusb-compat-0_1, glibc }: let myPatchElf = file: with lib; '' patchelf --set-interpreter \ - ${stdenv.glibc}/lib/ld-linux${optionalString stdenv.is64bit "-x86-64"}.so.2 \ + ${glibc}/lib/ld-linux${optionalString stdenv.is64bit "-x86-64"}.so.2 \ ${file} ''; diff --git a/pkgs/applications/graphics/sane/backends/brscan5/default.nix b/pkgs/applications/graphics/sane/backends/brscan5/default.nix index 219d435a81a0d..4afc5ac40a269 100644 --- a/pkgs/applications/graphics/sane/backends/brscan5/default.nix +++ b/pkgs/applications/graphics/sane/backends/brscan5/default.nix @@ -1,8 +1,8 @@ -{ stdenv, lib, fetchurl, callPackage, patchelf, makeWrapper, libusb1, avahi-compat, glib, libredirect, nixosTests }: +{ stdenv, lib, fetchurl, callPackage, patchelf, makeWrapper, libusb1, avahi-compat, glib, libredirect, nixosTests, glibc }: let myPatchElf = file: with lib; '' patchelf --set-interpreter \ - ${stdenv.glibc}/lib/ld-linux${optionalString stdenv.is64bit "-x86-64"}.so.2 \ + ${glibc}/lib/ld-linux${optionalString stdenv.is64bit "-x86-64"}.so.2 \ ${file} ''; system = stdenv.hostPlatform.system; |