Skip to content

Commit

Permalink
Fix nix development shell (#418)
Browse files Browse the repository at this point in the history
* fix nix dev shell openssl dependency

* add a ci action to test nix devshell
  • Loading branch information
liesnikov authored Dec 16, 2024
1 parent a6a6e78 commit 3da2812
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ jobs:
- name: Build and run a static polarity exe
if: matrix.os == 'ubuntu-latest'
run: nix -Lv run .#polarity-static -- --help
- name: Drop into nix devshell and run tests
run: nix develop -Lv -c bash -c "make test"
6 changes: 6 additions & 0 deletions contrib/nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@ pkgs.mkShell.override { inherit stdenv; } {
pkgs.rustfmt

pkgs.nixfmt-rfc-style

pkgs.pkg-config
pkgs.openssl
];

PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";

}

0 comments on commit 3da2812

Please sign in to comment.