Skip to content

Commit

Permalink
More nix fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrikstrid committed Dec 16, 2024
1 parent 43017e4 commit 00d1d2d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
39 changes: 20 additions & 19 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
nixpkgs.url = "github:nix-ocaml/nix-overlays";

flake-utils.url = "github:numtide/flake-utils";
nixpkgs.inputs.flake-utils.follows = "flake-utils";

nix-filter.url = "github:numtide/nix-filter";
};
Expand All @@ -35,26 +34,28 @@
drv.pname == null ||
!(lib.any (name: name == drv.pname || name == drv.name) (lib.attrNames oidcDrvs)))
inputs;
devShell = (pkgs.mkShell {
inputsFrom = lib.attrValues oidcDrvs;
buildInputs = with pkgs; with ocamlPackages; [
ocaml-lsp
ocamlformat
odoc
reenv
# dune-release
cacert
curl
which
];
}).overrideAttrs (o: {
propagatedBuildInputs = filterDrvs o.propagatedBuildInputs;
buildInputs = filterDrvs o.buildInputs;
checkInputs = filterDrvs o.checkInputs;
});
devShells = {
default = (pkgs.mkShell {
inputsFrom = lib.attrValues oidcDrvs;
buildInputs = with pkgs; with ocamlPackages; [
ocaml-lsp
ocamlformat
odoc
reenv
# dune-release
cacert
curl
which
];
}).overrideAttrs (o: {
propagatedBuildInputs = filterDrvs o.propagatedBuildInputs;
buildInputs = filterDrvs o.buildInputs;
checkInputs = filterDrvs o.checkInputs;
});
};
in
{
inherit devShell;
inherit devShells;
packages = {
oidc = oidcPkgs.oidc;
};
Expand Down
1 change: 0 additions & 1 deletion nix/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ rec {
routes
uuidm
oidc
oauth
jose
piaf
uri
Expand Down

0 comments on commit 00d1d2d

Please sign in to comment.