Switch bscpkgs inputs to jungle

This commit is contained in:
Rodrigo Arias 2025-10-14 09:51:17 +02:00
parent 9457de1983
commit 676a0ced1c
4 changed files with 42 additions and 36 deletions

27
arnau/posv/flake.lock generated
View File

@ -1,39 +1,42 @@
{
"nodes": {
"bscpkgs": {
"jungle": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1758895966,
"narHash": "sha256-L8DeK85bI7Ry4YfqO/5svwO0nVZLN7lviWalIGtKr7g=",
"lastModified": 1760427467,
"narHash": "sha256-DemQ+XT3BWXh8fr6UDfGNUB4ba0tGJXyep5/lg+gBD4=",
"ref": "refs/heads/master",
"rev": "2ffdd53d86157ea83a867b544e7bedf89797b72b",
"revCount": 985,
"rev": "4261d327c678e52abdd568a27168ea7cdd0484a0",
"revCount": 1487,
"type": "git",
"url": "https://jungle.bsc.es/git/rarias/bscpkgs"
"url": "https://jungle.bsc.es/git/rarias/jungle"
},
"original": {
"type": "git",
"url": "https://jungle.bsc.es/git/rarias/bscpkgs"
"url": "https://jungle.bsc.es/git/rarias/jungle"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1752436162,
"narHash": "sha256-Kt1UIPi7kZqkSc5HVj6UY5YLHHEzPBkgpNUByuyxtlw=",
"path": "/nix/store/zk8v61cpk1wprp9ld5ayc1g5fq4pdkwv-source",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dfcd5b901dbab46c9c6e80b265648481aafb01f8",
"type": "path"
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"bscpkgs": "bscpkgs"
"jungle": "jungle"
}
}
},

View File

@ -1,8 +1,8 @@
{
# Fetch the list of packages for BSC
inputs.bscpkgs.url = "git+https://jungle.bsc.es/git/rarias/bscpkgs";
inputs.jungle.url = "git+https://jungle.bsc.es/git/rarias/jungle";
outputs = { self, bscpkgs }:
outputs = { self, jungle }:
let
customOverlay = final: prev: {
# Disable GIL in python
@ -17,11 +17,11 @@
gitUrl = "ssh://git@gitlab-internal.bsc.es/acinca/nos-v.git";
};
};
pkgs = import bscpkgs.inputs.nixpkgs {
pkgs = import jungle.inputs.nixpkgs {
system = "x86_64-linux";
overlays = [
# Add our BSC packages
bscpkgs.bscOverlay
jungle.bscOverlay
# And our changes above on top
customOverlay
];

View File

@ -1,39 +1,42 @@
{
"nodes": {
"bscpkgs": {
"jungle": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1749650500,
"narHash": "sha256-2MHfVPV6RA7qPSCtXh4+KK0F0UjN+J4z8//+n6NK7Xs=",
"lastModified": 1760427467,
"narHash": "sha256-DemQ+XT3BWXh8fr6UDfGNUB4ba0tGJXyep5/lg+gBD4=",
"ref": "refs/heads/master",
"rev": "9d1944c658929b6f98b3f3803fead4d1b91c4405",
"revCount": 961,
"rev": "4261d327c678e52abdd568a27168ea7cdd0484a0",
"revCount": 1487,
"type": "git",
"url": "https://git.sr.ht/~rodarima/bscpkgs"
"url": "https://jungle.bsc.es/git/rarias/jungle"
},
"original": {
"type": "git",
"url": "https://git.sr.ht/~rodarima/bscpkgs"
"url": "https://jungle.bsc.es/git/rarias/jungle"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1736867362,
"narHash": "sha256-i/UJ5I7HoqmFMwZEH6vAvBxOrjjOJNU739lnZnhUln8=",
"path": "/nix/store/2csx2kkb2hxyxhhmg2xs9jfyypikwwk6-source",
"rev": "9c6b49aeac36e2ed73a8c472f1546f6d9cf1addc",
"type": "path"
"lastModified": 1752436162,
"narHash": "sha256-Kt1UIPi7kZqkSc5HVj6UY5YLHHEzPBkgpNUByuyxtlw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dfcd5b901dbab46c9c6e80b265648481aafb01f8",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"bscpkgs": "bscpkgs"
"jungle": "jungle"
}
}
},

View File

@ -1,8 +1,8 @@
{
inputs.bscpkgs.url = "git+https://git.sr.ht/~rodarima/bscpkgs";
outputs = { self, bscpkgs }:
inputs.jungle.url = "git+https://jungle.bsc.es/git/rarias/jungle";
outputs = { self, jungle }:
let
nixpkgs = bscpkgs.inputs.nixpkgs;
nixpkgs = jungle.inputs.nixpkgs;
clusterOverlay = (final: prev: {
# Use cluster llvm compiler repo
clangOmpss2Unwrapped = prev.clangOmpss2Unwrapped.override {
@ -15,8 +15,8 @@
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
# Apply bscpkgs to get our BSC custom packages
bscpkgs.outputs.bscOverlay
# Apply jungle overlay to get our BSC custom packages
jungle.outputs.bscOverlay
# And on top apply our local changes to customize for cluster
clusterOverlay
];