Archived
1
0
forked from rarias/bscpkgs
Commit Graph

6 Commits

Author SHA1 Message Date
0c02ee9bd4 Add hydraJobs with tests and packages 2025-09-26 12:48:40 +02:00
2a7f6618d2 Expose our packages in flake packages output 2025-09-16 14:46:19 +02:00
c7b5ec13b8 Provide nixpkgs.lib in bscpkgs outputs
Currently, we can use bscpkgs similarly to nixpkgs either through
the flake outputs or with import bscpkgs:

```nix
# currently supported:
bscpkgs.legacyPackages.x86_64-linux.hello
let pkgs = import bscpkgs { system = "x86_64-linux"; }; in pkgs.hello
```
The missing piece is nixpkgs.lib (not pkgs.lib, the system agnostic
one). The workaround is to do bscpkgs.inputs.nixpkgs.lib instead. We can
simplify this by forwarding the lib to our outputs.

This enables us to use bscpkgs as a drop-in
replacing the inputs to our flake from nixpkgs to bscpkgs.
(inputs.nixpkgs.url = "<*BSC*pkgs url>").


Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Tested-by: Aleix Boné <abonerib@bsc.es>
2025-09-12 14:28:42 +02:00
51dcc6896e Begin moving bsc packages to root attribute 2023-09-19 10:33:32 +02:00
c30851d6e9 Add packages to flake.nix 2023-08-31 12:40:54 +02:00
c775ee4d6f Add flakes support 2023-04-26 17:07:08 +02:00