This repository has been archived on 2025-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
Aleix Boné 43d32ac16d Use nixpkgs from flake.lock and support attrs when importing bscpkgs
This makes `nix-build` and friends use the current flake lock instead of
the outdated pinned version we had in `./nixpkgs.nix`

With this, `nix-build -A ovni` and `nix build .#ovni` should produce the
same result.

This will fail if the flake nixpkgs input does not come from NixOS/nixpkgs.
We could use edolstra/flake-compat instead, but it's overkill imho.

Additionally, I made default.nix behave like nixpkgs, so that we can
import bscpkgs à la nixpkgs (Apply overlays and other options that nixpkgs
accepts):

```nix
let pkgs = import bscpkgs { inherit system; }; in <...>
```

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2025-06-16 12:29:55 +02:00
2025-06-11 16:01:40 +02:00
2020-07-20 16:07:26 +02:00
2021-03-12 13:57:22 +01:00
2025-01-22 16:02:49 +01:00
2025-06-11 16:01:40 +02:00
2023-10-03 12:23:01 +02:00

Nix overlay with BSC packages.

Description
Languages
Nix 98.1%
C 1.1%
Shell 0.5%
Roff 0.3%