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.
bscpkgs/flake.nix
Aleix Boné 65df99aac2
All checks were successful
CI / build:all (pull_request) Successful in 13s
Rename test->tests and tests->testList
2025-10-01 15:33:50 +02:00

27 lines
635 B
Nix

{
inputs.nixpkgs.url = "nixpkgs";
outputs = { self, nixpkgs, ...}:
let
# For now we only support x86
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
bscOverlay = import ./overlay.nix;
overlays.default = self.bscOverlay;
# full nixpkgs with our overlay applied
legacyPackages.${system} = pkgs;
hydraJobs = {
inherit (self.legacyPackages.${system}.bsc-ci) tests pkgs cross;
};
# propagate nixpkgs lib, so we can do bscpkgs.lib
inherit (nixpkgs) lib;
};
}