diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2021-01-24 01:40:18 +0100 |
---|---|---|
committer | Pavol Rusnak <pavol@rusnak.io> | 2021-01-24 01:49:49 +0100 |
commit | 90f73381120f7ae9e0d5f0f6dc16cb141c658494 (patch) | |
tree | 5683ff0c39f9ac901e181fc0591cf03c2b95b07a /pkgs/tools/text | |
parent | 2f34b4b883932f0ee2c1787e704f3915786e8cca (diff) | |
download | nixlib-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar nixlib-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.gz nixlib-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.bz2 nixlib-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.lz nixlib-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.xz nixlib-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.zst nixlib-90f73381120f7ae9e0d5f0f6dc16cb141c658494.zip |
treewide: stdenv.lib -> lib
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/source-highlight/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/source-highlight/default.nix b/pkgs/tools/text/source-highlight/default.nix index 3d3a0f8c50a6..2e60d2a31c0c 100644 --- a/pkgs/tools/text/source-highlight/default.nix +++ b/pkgs/tools/text/source-highlight/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation { # source-highlight uses it's own binary to generate documentation. # During cross-compilation, that binary was built for the target # platform architecture, so it can't run on the build host. - patchPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' + patchPhase = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' substituteInPlace Makefile.in --replace "src doc tests" "src tests" ''; |