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/tools/misc/hdf5 | |
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/tools/misc/hdf5')
-rw-r--r-- | pkgs/tools/misc/hdf5/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/hdf5/default.nix b/pkgs/tools/misc/hdf5/default.nix index 7215cccbfed82..176f8aa1f5108 100644 --- a/pkgs/tools/misc/hdf5/default.nix +++ b/pkgs/tools/misc/hdf5/default.nix @@ -12,7 +12,7 @@ # (--enable-unsupported could be used to force the build) assert !cpp || mpi == null; -with { inherit (stdenv.lib) optional optionals; }; +let inherit (stdenv.lib) optional optionals; in stdenv.mkDerivation rec { version = "1.8.18"; |