···408408 from nixpkgs due to the lack of maintainers.
409409 </para>
410410 </listitem>
411411- <listitem>
412412- <para>
413413- The <option>powerManagement.cpuFreqGovernor</option> option has been
414414- aliased to <option>powerManagement.cpufreq.governor</option>. On laptops,
415415- <option>powerManagement.cpuFreqGovernor</option> is sometimes set in
416416- <literal>/etc/nixos/hardware-configuration.nix</literal>, so you can
417417- rename it to the new name, or run
418418- <literal>nixos-generate-config</literal> again.
419419- </para>
420420- </listitem>
421411 </itemizedlist>
422412 </section>
423413</section>
···2020 '';
21212222 meta = with stdenv.lib; {
2323- homepage = http://davmail.sourceforce.net/;
2323+ homepage = http://davmail.sourceforge.net/;
2424 description = "A Java application which presents a Microsoft Exchange server as local CALDAV, IMAP and SMTP servers";
2525 maintainers = [ maintainers.hinton ];
2626 platforms = platforms.all;
···112112 # Set compiler for NVCC.
113113 wrapProgram $out/bin/nvcc \
114114 --prefix PATH : ${gcc}/bin
115115+116116+ # nvprof do not find any program to profile if LD_LIBRARY_PATH is not set
117117+ wrapProgram $out/bin/nvprof \
118118+ --prefix LD_LIBRARY_PATH : $out/lib
115119 '' + lib.optionalString (lib.versionOlder version "8.0") ''
116120 # Hack to fix building against recent Glibc/GCC.
117121 echo "NIX_CFLAGS_COMPILE+=' -D_FORCE_INLINES'" >> $out/nix-support/setup-hook
···152152let
153153 inherit (stdenv) lib;
154154155155- # make sure a plugin is a derivation. If plugin already is a derivation, this
156156- # is a no-op. If it is a string, it is looked up in knownPlugins.
155155+ # make sure a plugin is a derivation and its dependencies are derivations. If
156156+ # plugin already is a derivation, this is a no-op. If it is a string, it is
157157+ # looked up in knownPlugins.
157158 pluginToDrv = knownPlugins: plugin:
158158- if builtins.isString plugin then
159159- # make sure `pname` is set to that we are able to convert the derivation
160160- # back to a string.
161161- ( knownPlugins.${plugin} // { pname = plugin; })
162162- else
163163- plugin;
159159+ let
160160+ drv =
161161+ if builtins.isString plugin then
162162+ # make sure `pname` is set to that we are able to convert the derivation
163163+ # back to a string.
164164+ ( knownPlugins.${plugin} // { pname = plugin; })
165165+ else
166166+ plugin;
167167+ in
168168+ # make sure all the dependencies of the plugin are also derivations
169169+ drv // { dependencies = map (pluginToDrv knownPlugins) (drv.dependencies or []); };
164170165171 # transitive closure of plugin dependencies (plugin needs to be a derivation)
166172 transitiveClosure = plugin:
···169175 );
170176171177 findDependenciesRecursively = plugins: lib.concatMap transitiveClosure plugins;
172172-173173- attrnamesToPlugins = { knownPlugins, names }:
174174- map (name: if builtins.isString name then knownPlugins.${name} else name) knownPlugins;
175175-176176- pluginToAttrname = plugin:
177177- plugin.pname;
178178-179179- pluginsToAttrnames = plugins: map pluginToAttrname plugins;
180178181179 vamDictToNames = x:
182180 if builtins.isString x then [x]
···429427 if vam != null && vam ? knownPlugins then vam.knownPlugins else
430428 if pathogen != null && pathogen ? knownPlugins then pathogen.knownPlugins else
431429 vimPlugins;
432432- pathogenPlugins = findDependenciesRecursively ((map pluginToDrv knownPlugins) pathogen.pluginNames);
430430+ pathogenPlugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) pathogen.pluginNames);
433431 vamPlugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) (lib.concatMap vamDictToNames vam.pluginDictionaries));
434432 nonNativePlugins = (lib.optionals (pathogen != null) pathogenPlugins)
435433 ++ (lib.optionals (vam != null) vamPlugins)
···482480 rev = "4c596548216b7c19971f8fc94e38ef1a2b55fee6";
483481 sha256 = "0f1cpnp1nxb4i5hgymjn2yn3k1jwkqmlgw1g02sq270lavp2dzs9";
484482 };
485485- dependencies = [];
483483+ # make sure string dependencies are handled
484484+ dependencies = [ "vim-nix" ];
486485 };
487486 });
488487 vimrcConfig.vam.pluginDictionaries = [ { names = [ "vim-trailing-whitespace" ]; } ];