From 8ec2c8811093b744a9736c9e66b0923b1907fab8 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 10 Jan 2021 12:09:41 +0100 Subject: [PATCH] x11/xorg: stdenv.lib -> lib in meta generator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The library does not depend on stdenv, that stdenv exposes lib is an artifact of the ancient origins of nixpkgs. I didn’t run the generator since it takes quite a while, but it should be automatically done the next time somebody updates a package. --- pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl b/pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl index b0cab5fb88ee..a6cd8032ba70 100755 --- a/pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl +++ b/pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl @@ -311,7 +311,7 @@ foreach my $pkg (sort (keys %pkgURLs)) { hardeningDisable = [ "bindnow" "relro" ]; nativeBuildInputs = [ pkgconfig $nativeBuildInputsStr]; buildInputs = [ $buildInputsStr];$extraAttrsStr - meta.platforms = stdenv.lib.platforms.unix; + meta.platforms = lib.platforms.unix; }) {}; EOF