diff options
Diffstat (limited to 'gleam/flake.nix')
| -rw-r--r-- | gleam/flake.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gleam/flake.nix b/gleam/flake.nix index a5a3407..132e3fc 100644 --- a/gleam/flake.nix +++ b/gleam/flake.nix @@ -1,6 +1,6 @@ { description = "ocda-lib: the object-centric document abstraction as a Gleam library"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + inputs.nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst"; outputs = { self, nixpkgs }: let system = "x86_64-linux"; # adjust for aarch64-linux / darwin @@ -51,10 +51,14 @@ makeWrapper $out/lib/${name}/entrypoint.sh $out/bin/ocda-lib \ --add-flags run \ --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.beamPackages.erlang pkgs.coreutils ]} + # the reader under its own name, as the D flake installs it + makeWrapper $out/lib/${name}/entrypoint.sh $out/bin/ocda-read \ + --add-flags "run read" \ + --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.beamPackages.erlang pkgs.coreutils ]} runHook postInstall ''; meta = { - description = "the abstraction as a Gleam library"; + description = "the abstraction as a Gleam library, with its reader, dump and agreement check"; mainProgram = "ocda-lib"; }; }; |
