diff options
author | Marc Coquand <marc@mccd.space> | 2024-01-12 08:01:25 -0600 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-01-12 08:01:25 -0600 |
commit | 20c5abba2f762e917503e3d613729f12607baf88 (patch) | |
tree | ab9eb3b897c60949483ea2db12c8f7ff382d7391 /flake.nix | |
parent | 014feebff76f5bb5e711a3897ed930d8e4f009c1 (diff) | |
download | fixgen-20c5abba2f762e917503e3d613729f12607baf88.tar.gz fixgen-20c5abba2f762e917503e3d613729f12607baf88.tar.bz2 fixgen-20c5abba2f762e917503e3d613729f12607baf88.zip |
Implement support for dates
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -9,29 +9,28 @@ let package = "fixgen"; in flake-utils.lib.eachDefaultSystem (system: let + sourceRoot = "."; pkgs = nixpkgs.legacyPackages.${system}; on = opam-nix.lib.${system}; devPackagesQuery = { - # You can add "development" packages here. They will get added to the devShell automatically. ocaml-lsp-server = "*"; ocamlformat = "*"; ocamlfind = "1.9.5"; utop = "*"; }; query = devPackagesQuery // { - ## You can force versions of certain packages here, e.g: - ## - force the ocaml compiler to be taken from opam-repository: ocaml-base-compiler = "*"; - ## - or force the compiler to be taken from nixpkgs and be a certain version: - # ocaml-system = "4.14.0"; - ## - or force ocamlfind to be a certain version: }; scope = on.buildOpamProject' { } ./. query; overlay = final: prev: { # You can add overrides here + # Handles unpacker produced multiple directories error + timedesc-tzdb = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; }); + timedesc-tzlocal = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; }); + timedesc = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; }); + timedesc-sexp = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; }); + timere = prev.timedesc-tzdb.overrideAttrs (_: { sourceRoot = "."; }); ${package} = prev.${package}.overrideAttrs (_: { - # Prevent the ocaml dependencies from leaking into dependent environments - doNixSupport = false; }); }; scope' = scope.overrideScope' overlay; |