summary refs log tree commit diff
path: root/pkgs/applications/office/libreoffice/still.nix
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-02-08 20:52:13 -0500
committerJohn Ericson <Ericson2314@Yahoo.com>2017-03-30 03:05:05 -0400
commit4c0d7da1837356047aabfed4661daf4307821b75 (patch)
treeacc8f6a873c1bfa5f31f4beee022b7818fd56abb /pkgs/applications/office/libreoffice/still.nix
parentda79d1f01f6bd70833543cab5308d2439c429f9e (diff)
downloadnixpkgs-4c0d7da1837356047aabfed4661daf4307821b75.tar
nixpkgs-4c0d7da1837356047aabfed4661daf4307821b75.tar.gz
nixpkgs-4c0d7da1837356047aabfed4661daf4307821b75.tar.bz2
nixpkgs-4c0d7da1837356047aabfed4661daf4307821b75.tar.lz
nixpkgs-4c0d7da1837356047aabfed4661daf4307821b75.tar.xz
nixpkgs-4c0d7da1837356047aabfed4661daf4307821b75.tar.zst
nixpkgs-4c0d7da1837356047aabfed4661daf4307821b75.zip
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/applications/office/libreoffice/still.nix')
-rw-r--r--pkgs/applications/office/libreoffice/still.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/office/libreoffice/still.nix b/pkgs/applications/office/libreoffice/still.nix
index b973a4192bb..7a2174b557e 100644
--- a/pkgs/applications/office/libreoffice/still.nix
+++ b/pkgs/applications/office/libreoffice/still.nix
@@ -22,7 +22,7 @@ let
   primary-src = import ./still-primary-src.nix { inherit fetchurl; };
 in
 
-with { inherit (primary-src) major minor subdir version; };
+let inherit (primary-src) major minor subdir version; in
 
 let
   lib = stdenv.lib;