avoid possible naming collision

This commit is contained in:
atagen 2024-12-06 14:49:22 +11:00
parent 999a560f5a
commit a678a2ddfc
2 changed files with 23 additions and 23 deletions

View file

@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:nix-ocaml/nix-overlays";
nixpkgs-oc.url = "github:nix-ocaml/nix-overlays";
flake-utils.url = "github:numtide/flake-utils";
};
@ -11,14 +11,14 @@
outputs = {
self,
nixpkgs,
nixpkgs-oc,
flake-utils,
}: let
version = builtins.toString self.lastModified;
in
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
pkgs = nixpkgs-oc.legacyPackages.${system};
# import nixpkgs {
# inherit system;
# };
@ -100,7 +100,7 @@
}
)
// {
nixosModules.culr = import ./nix/module.nix {overlays = [self.overlays.culr self.inputs.nixpkgs.overlays.default];};
nixosModules.culr = import ./nix/module.nix {overlays = [self.overlays.culr nixpkgs-oc.overlays.default];};
overlays.culr = final: prev: let
ocaml-deps = let