Remove bscpkgs flake from registry and add a top level common package set #65

Merged
rarias merged 0 commits from hostpkgs into master 2023-09-18 10:00:48 +02:00
rarias commented 2023-09-15 12:13:18 +02:00 (Migrated from pm.bsc.es)

This MR attempts to simplify the usage of the jungle flake by providing top-level packages:

hut% nix build jungle#htop --print-out-paths
/nix/store/3sryc7glnh7dvlx4n3nzriisys4w0fsl-htop-3.2.2

We do it by taking the hut pkgs set, which is equal in all other nodes (for now).

Additionally, the bscpkgs flake has been removed from the registry to prevent accidental usage of a different input nixpkgs:

hut% nix build nixpkgs#htop --print-out-paths
/nix/store/3sryc7glnh7dvlx4n3nzriisys4w0fsl-htop-3.2.2
hut% nix build bscpkgs#htop --print-out-paths
/nix/store/ia6ymz1dam6cf8p7izyyqdy2ih9zk6cz-htop-3.2.2

It is available under jungle#bscpkgs with the correct inputs, in case it is needed:

hut% nix build jungle#bscpkgs.htop --print-out-paths
/nix/store/3sryc7glnh7dvlx4n3nzriisys4w0fsl-htop-3.2.2

BSC packages are available directly under bsc.:

hut% nix build jungle#bsc.ovni --print-out-paths
/nix/store/0yzas8007x9djlpbb0pckcr1vhd0mcfy-ovni-1.3.0

We also remove the registry network lookup by manually specifying the entries from disk, so we can accelerate the evaluations.

This MR attempts to simplify the usage of the jungle flake by providing top-level packages: ``` hut% nix build jungle#htop --print-out-paths /nix/store/3sryc7glnh7dvlx4n3nzriisys4w0fsl-htop-3.2.2 ``` We do it by taking the hut pkgs set, which is equal in all other nodes (for now). Additionally, the bscpkgs flake has been removed from the registry to prevent accidental usage of a different input nixpkgs: ``` hut% nix build nixpkgs#htop --print-out-paths /nix/store/3sryc7glnh7dvlx4n3nzriisys4w0fsl-htop-3.2.2 hut% nix build bscpkgs#htop --print-out-paths /nix/store/ia6ymz1dam6cf8p7izyyqdy2ih9zk6cz-htop-3.2.2 ``` It is available under `jungle#bscpkgs` with the correct inputs, in case it is needed: ``` hut% nix build jungle#bscpkgs.htop --print-out-paths /nix/store/3sryc7glnh7dvlx4n3nzriisys4w0fsl-htop-3.2.2 ``` BSC packages are available directly under `bsc.`: ``` hut% nix build jungle#bsc.ovni --print-out-paths /nix/store/0yzas8007x9djlpbb0pckcr1vhd0mcfy-ovni-1.3.0 ``` We also remove the registry network lookup by manually specifying the entries from disk, so we can accelerate the evaluations.
rarias commented 2023-09-15 12:13:20 +02:00 (Migrated from pm.bsc.es)

requested review from @arocanon

requested review from @arocanon
rarias commented 2023-09-15 12:13:20 +02:00 (Migrated from pm.bsc.es)

assigned to @rarias

assigned to @rarias
arocanon commented 2023-09-18 09:45:30 +02:00 (Migrated from pm.bsc.es)

approved this merge request

approved this merge request
arocanon (Migrated from pm.bsc.es) approved these changes 2024-05-29 10:53:28 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rarias/jungle#65
No description provided.