From 24e5a778614af3794e9fa763a95c60b3fc242fcc Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 25 Feb 2021 22:12:52 -0800 Subject: [PATCH] octave.pkgs: stdenv.lib -> lib stdenv.lib is a deprecated alias to lib. --- pkgs/development/interpreters/octave/build-env.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/octave/build-env.nix b/pkgs/development/interpreters/octave/build-env.nix index 8eb70c62894..fee53b716da 100644 --- a/pkgs/development/interpreters/octave/build-env.nix +++ b/pkgs/development/interpreters/octave/build-env.nix @@ -1,4 +1,4 @@ -{ stdenv, octave, buildEnv +{ lib, stdenv, octave, buildEnv , makeWrapper, texinfo , octavePackages , wrapOctave @@ -48,7 +48,7 @@ in buildEnv { createOctavePackagesPath $out ${octave} - for path in ${stdenv.lib.concatStringsSep " " packages}; do + for path in ${lib.concatStringsSep " " packages}; do if [ -e $path/*.tar.gz ]; then $out/bin/octave-cli --eval "pkg local_list $out/.octave_packages; \ pkg prefix $out/${octave.octPkgsPath} $out/${octave.octPkgsPath}; \ @@ -61,7 +61,7 @@ in buildEnv { # To point to the new local_list in $out addPkgLocalList $out ${octave} - wrapOctavePrograms "${stdenv.lib.concatStringsSep " " packages}" + wrapOctavePrograms "${lib.concatStringsSep " " packages}" '' + postBuild; inherit (octave) meta;