treewide: stdenv.lib -> lib
This commit is contained in:
@@ -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"
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user