satisfy nixpkgs pedantry
All checks were successful
Nix Build / nix build (push) Successful in 1m19s
All checks were successful
Nix Build / nix build (push) Successful in 1m19s
This commit is contained in:
parent
5c8e3fdedc
commit
bf1e3adeeb
1 changed files with 18 additions and 8 deletions
26
flake.nix
26
flake.nix
|
|
@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue