Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link with libicuuc, upgrade deps, add CI caching #17

Merged
merged 5 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Setup PureScript dependencies
run: npm i --global [email protected] [email protected] purescm@latest

Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
chez = pkgs.chez.overrideAttrs (final: prev: {
postFixup = if pkgs.stdenv.isDarwin then ''
install_name_tool -add_rpath ${pkgs.pcre2.out}/lib $out/bin/scheme
install_name_tool -add_rpath ${pkgs.icu}/lib $out/bin/scheme
''
else ''
patchelf $out/bin/scheme --add-rpath ${pkgs.pcre2.out}/lib
patchelf $out/bin/scheme --add-rpath ${pkgs.icu}/lib
'';
});
in {
default = pkgs.mkShell {
name = "purescm";
packages = with pkgs; [
chez
];
packages = [chez];
};
});

Expand Down
Loading
Loading