3
0
Fork 0
forked from mirrors/nixpkgs

treewide: remove empty let blocks

This commit is contained in:
Mario Rodas 2019-12-04 06:00:00 -05:00
parent 49c63e498c
commit e44d7c14f5
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8
3 changed files with 3 additions and 7 deletions

View file

@ -9,8 +9,7 @@ stdenv.mkDerivation rec {
pname = "workrave";
version = "1.10.31";
src = let
in fetchFromGitHub {
src = fetchFromGitHub {
sha256 = "0v2mx2idaxlsyv5w66b7pknlill9j9i2gqcs3vq54gak7ix9fj1p";
rev = with stdenv.lib;
"v" + concatStringsSep "_" (splitVersion version);

View file

@ -20,8 +20,7 @@ let
'';
in {
runInWindowsVM = drv: let
in pkgs.lib.overrideDerivation drv (attrs: let
runInWindowsVM = drv: pkgs.lib.overrideDerivation drv (attrs: let
bootstrap = bootstrapper attrs.windowsImage;
in {
requiredSystemFeatures = [ "kvm" ];

View file

@ -3,9 +3,7 @@
, gtk2, which, withGtk ? false
}:
let
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "pktgen";
version = "3.7.2";