···274 '';
275 };
276000000000277278 };
279···308 #!/bin/sh
309 if [ -z "$SLURM_CONF" ]
310 then
311- SLURM_CONF="${etcSlurm}/slurm.conf" "$EXE" "\$@"
312 else
313 "$EXE" "\$0"
314 fi
···274 '';
275 };
276277+ etcSlurm = mkOption {
278+ type = types.path;
279+ internal = true;
280+ default = etcSlurm;
281+ description = ''
282+ Path to directory with slurm config files. This option is set by default from the
283+ Slurm module and is meant to make the Slurm config file available to other modules.
284+ '';
285+ };
286287 };
288···317 #!/bin/sh
318 if [ -z "$SLURM_CONF" ]
319 then
320+ SLURM_CONF="${cfg.etcSlurm}/slurm.conf" "$EXE" "\$@"
321 else
322 "$EXE" "\$0"
323 fi
···131132 fish = stdenv.mkDerivation rec {
133 pname = "fish";
134- version = "3.2.0";
135136 src = fetchurl {
137 # There are differences between the release tarball and the tarball GitHub
···141 # --version`), as well as the local documentation for all builtins (and
142 # maybe other things).
143 url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${pname}-${version}.tar.xz";
144- sha256 = "sha256-TwKT7Z9qa3fkfUHvq+YvMxnobvyL+DzFhzMET7xvkhE=";
145 };
146147 # Fix FHS paths in tests
···214215 checkInputs = [
216 coreutils
217- (python3.withPackages(ps: [ps.pexpect]))
218 procps
219 ];
220
···131132 fish = stdenv.mkDerivation rec {
133 pname = "fish";
134+ version = "3.2.1";
135136 src = fetchurl {
137 # There are differences between the release tarball and the tarball GitHub
···141 # --version`), as well as the local documentation for all builtins (and
142 # maybe other things).
143 url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${pname}-${version}.tar.xz";
144+ sha256 = "2OSfQJDTd43xfdgl5KKoAZIBVoJCPNndArZnXWXDr1s=";
145 };
146147 # Fix FHS paths in tests
···214215 checkInputs = [
216 coreutils
217+ (python3.withPackages (ps: [ ps.pexpect ]))
218 procps
219 ];
220
+9-3
pkgs/shells/fish/plugins/build-fish-plugin.nix
···11 buildPhase ? ":",
12 preInstall ? "",
13 postInstall ? "",
14- # name of the subdirectory in which to store the plugin
15- installPath ? lib.getName pname,
1617 checkInputs ? [],
18 # plugin packages to add to the vendor paths of the test fish shell
···26 ...
27}:
2829-stdenv.mkDerivation (attrs // {
0000000030 inherit name;
31 inherit unpackPhase configurePhase buildPhase;
32
···11 buildPhase ? ":",
12 preInstall ? "",
13 postInstall ? "",
001415 checkInputs ? [],
16 # plugin packages to add to the vendor paths of the test fish shell
···24 ...
25}:
2627+let
28+ # Do not pass attributes that are only relevant to buildFishPlugin to mkDerivation.
29+ drvAttrs = builtins.removeAttrs attrs [
30+ "checkPlugins"
31+ "checkFunctionDirs"
32+ ];
33+in
34+35+stdenv.mkDerivation (drvAttrs // {
36 inherit name;
37 inherit unpackPhase configurePhase buildPhase;
38
···46 description = "Samples for CUDA Developers which demonstrates features in CUDA Toolkit";
47 # CUDA itself is proprietary, but these sample apps are not.
48 license = lib.licenses.bsd3;
49- maintainers = with lib.maintainers; [ obsidian-systems-maintainence ];
50 };
51}
···46 description = "Samples for CUDA Developers which demonstrates features in CUDA Toolkit";
47 # CUDA itself is proprietary, but these sample apps are not.
48 license = lib.licenses.bsd3;
49+ maintainers = with lib.maintainers; [ obsidian-systems-maintenance ];
50 };
51}
+2-2
pkgs/tools/admin/awscli/default.nix
···28in
29with py.pkgs; buildPythonApplication rec {
30 pname = "awscli";
31- version = "1.19.29"; # N.B: if you change this, change botocore and boto3 to a matching version too
3233 src = fetchPypi {
34 inherit pname version;
35- sha256 = "sha256-d4PdFzIJSMJSpQta7JqCRwIkcgfh8XHgBKOEc/95r3w=";
36 };
3738 # https://github.com/aws/aws-cli/issues/4837
···28in
29with py.pkgs; buildPythonApplication rec {
30 pname = "awscli";
31+ version = "1.19.30"; # N.B: if you change this, change botocore and boto3 to a matching version too
3233 src = fetchPypi {
34 inherit pname version;
35+ sha256 = "sha256-XD0CwBTDUvCTSL7JrcQCAd8zq+Ve0zSDpfz0Vzi8oeM=";
36 };
3738 # https://github.com/aws/aws-cli/issues/4837