Skip to content

Commit

Permalink
Link with libicuuc, upgrade deps, add CI caching (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
anttih authored Oct 8, 2024
1 parent 98f12cc commit f970d66
Show file tree
Hide file tree
Showing 4 changed files with 1,911 additions and 1,535 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ 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].10 [email protected].32 purescm@latest
run: npm i --global [email protected].15 [email protected].40 purescm@latest

- name: Build source
run: spago build
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

0 comments on commit f970d66

Please sign in to comment.