Browse Source

all: move scorep and friends to opt

main
Dustin Frisch 6 months ago
parent
commit
bc30692f43
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 7
      packages/cubelib/default.nix
  2. 5
      packages/cubew/default.nix
  3. 8
      shared/userenv.nix

7
packages/cubelib/default.nix

@ -3,16 +3,19 @@
, zlib , zlib
, which , which
, pkg-config , pkg-config
, lib
, ... , ...
}: }:
with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cubelib"; name = "cubelib";
version = "4.8.2"; version = "4.8.2";
src = fetchzip { src = fetchzip {
url = "https://perftools.pages.jsc.fz-juelich.de/cicd/${name}/tags/${name}-${version}/${name}-${version}.tar.gz";
hash = "sha256-Ky6p6jAdHABQJs64VuIBDBWcujEBDVlyVTa8pZyQ2rM=";
url = "https://apps.fz-juelich.de/scalasca/releases/cube/${versions.majorMinor version}/dist/cubelib-${version}.tar.gz";
hash = "sha256-cf8SiurOSu+9xnmc3/6fJqziLFfgxfdNq1tMusN5ug4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

5
packages/cubew/default.nix

@ -3,15 +3,18 @@
, zlib , zlib
, which , which
, pkg-config , pkg-config
, lib
, ... , ...
}: }:
with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cubew"; name = "cubew";
version = "4.8.2"; version = "4.8.2";
src = fetchzip { src = fetchzip {
url = "https://perftools.pages.jsc.fz-juelich.de/cicd/${name}/tags/${name}-${version}/${name}-${version}.tar.gz";
url = "https://apps.fz-juelich.de/scalasca/releases/cube/${versions.majorMinor version}/dist/cubew-${version}.tar.gz";
hash = "sha256-Ky6p6jAdHABQJs64VuIBDBWcujEBDVlyVTa8pZyQ2rM="; hash = "sha256-Ky6p6jAdHABQJs64VuIBDBWcujEBDVlyVTa8pZyQ2rM=";
}; };

8
shared/userenv.nix

@ -50,8 +50,7 @@ let
wget wget
libz libz
scorep
scalasca
# tau
]; ];
ignoreCollisions = false; ignoreCollisions = false;
@ -80,4 +79,9 @@ in
target = "profiles/per-group/cluster"; target = "profiles/per-group/cluster";
source = userenv; source = userenv;
}; };
systemd.tmpfiles.rules = [
''L+ /opt/scalasca - - - - ${pkgs.scalasca}''
''L+ /opt/scorep - - - - ${pkgs.scorep} ''
];
} }
Loading…
Cancel
Save