diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-02-08 20:52:13 -0500 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-03-30 03:05:05 -0400 |
commit | 4c0d7da1837356047aabfed4661daf4307821b75 (patch) | |
tree | acc8f6a873c1bfa5f31f4beee022b7818fd56abb /pkgs/development/libraries/libgsf/default.nix | |
parent | da79d1f01f6bd70833543cab5308d2439c429f9e (diff) |
Get rid of all `with { inherit... }` and just used `let inherit...`
The old forms presumably predates, or were made in ignorance of, `let inherit`. This way is better style as the scoping as more lexical, something which Nix can (or might already!) take advantage of.
Diffstat (limited to 'pkgs/development/libraries/libgsf/default.nix')
-rw-r--r-- | pkgs/development/libraries/libgsf/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libgsf/default.nix b/pkgs/development/libraries/libgsf/default.nix index a22b99be8da90..588d0b8dadca0 100644 --- a/pkgs/development/libraries/libgsf/default.nix +++ b/pkgs/development/libraries/libgsf/default.nix @@ -1,7 +1,7 @@ { fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2 , python, perl, gdk_pixbuf, libiconv, libintlOrEmpty }: -with { inherit (stdenv.lib) optionals; }; +let inherit (stdenv.lib) optionals; in stdenv.mkDerivation rec { name = "libgsf-1.14.41"; |