bench6/flake.nix

35 lines
804 B
Nix
Raw Normal View History

2023-06-23 16:56:30 +02:00
{
description = "bench6";
nixConfig.bash-prompt = "\[nix-develop\]$ ";
2024-04-09 17:16:21 +02:00
inputs.jungle.url = "path:/home/Computational/rarias/jungle";
inputs.jungle.inputs.bscpkgs.url = "path:/home/Computational/rarias/bscpkgs";
2023-06-23 16:56:30 +02:00
2024-03-14 16:25:01 +01:00
outputs = { self, jungle, ... }:
let
targetMachine = jungle.outputs.nixosConfigurations.hut;
pkgs = targetMachine.pkgs;
in {
2023-06-23 16:56:30 +02:00
packages.x86_64-linux.default = pkgs.stdenv.mkDerivation rec {
pname = "bench6";
2024-03-14 16:25:01 +01:00
version = if self ? shortRev then self.shortRev else "dirty";
2023-06-23 16:56:30 +02:00
src = self.outPath;
buildInputs = with pkgs; [
cmake
2024-03-14 16:25:01 +01:00
clangOmpss2
nanos6
nodes
nosv
2024-03-14 16:25:01 +01:00
mpi
tampi
2023-06-23 16:56:30 +02:00
];
enableParallelBuilding = false;
hardeningDisable = [ "all" ];
dontStrip = true;
};
};
}