jungle/common/overlays.nix

26 lines
515 B
Nix
Raw Normal View History

2023-04-03 12:51:44 +02:00
{ options, ... }:
let
2023-04-11 21:22:00 +02:00
bscpkgsSrc = builtins.fetchTarball "https://pm.bsc.es/gitlab/rarias/bscpkgs/-/archive/master/bscpkgs-master.tar.gz";
2023-04-03 12:51:44 +02:00
bscpkgs = import "${bscpkgsSrc}/overlay.nix";
xeon07Overlay = (self: super: {
slurm = super.bsc.slurm-16-05-8-1;
});
in
{
nix.nixPath =
# Prepend default nixPath values.
options.nix.nixPath.default ++
# Append our nixpkgs-overlays.
2023-04-18 18:55:07 +02:00
[ "nixpkgs-overlays=/config/overlays-compat/" ]
2023-04-03 12:51:44 +02:00
;
nixpkgs.overlays = [
bscpkgs xeon07Overlay
];
}