satisfy nixpkgs pedantry
All checks were successful
Nix Build / nix build (push) Successful in 1m19s

This commit is contained in:
atagen 2026-01-29 16:15:33 +11:00
parent 5c8e3fdedc
commit bf1e3adeeb

View file

@ -70,20 +70,27 @@
};
});
checks = forAllSystems (pkgs: {
default = pkgs.callPackage ./nix/test.nix {
culr = self.packages.${pkgs.system}.tests;
inherit version;
};
});
checks = forAllSystems (
pkgs:
let
system = pkgs.stdenv.hostPlatform.system;
in
{
default = pkgs.callPackage ./nix/test.nix {
culr = self.packages.${system}.tests;
inherit version;
};
}
);
packages = forAllSystems (
pkgs:
let
minimal = (deps pkgs).minimal;
system = pkgs.stdenv.hostPlatform.system;
in
{
culr = self.packages.${pkgs.system}.default;
culr = self.packages.${system}.default;
default = pkgs.ocamlPackages.callPackage ./nix/default.nix {
ocaml-deps = minimal;
inherit version;
@ -104,9 +111,12 @@
nixosModules.culr =
{ pkgs, ... }:
let
system = pkgs.stdenv.hostPlatform.system;
in
{
imports = [ ./nix/module.nix ];
programs.culr.package = self.packages.${pkgs.system}.culr;
programs.culr.package = self.packages.${system}.culr;
};
};