Skip to content

Commit

Permalink
fix: nix flake build freezes in github action, so try to downgrade ba…
Browse files Browse the repository at this point in the history
…ck to 23.05
  • Loading branch information
piotr-semenov committed May 10, 2024
1 parent 288f6c1 commit cbed11b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
paths-ignore: [ "*.md" ]

jobs:
Build-VSIX:
Compile-All:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Run vagrant up & provision
run: vagrant up --provision
env:
VER: 23.11
VER: 23.05

- name: Get Coverage Badge SVG
run: make -B $(pwd)/images/coverage-badge.svg
Expand Down
8 changes: 5 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ Vagrant.configure("2") do |config|

config.vm.provision "shell", privileged: false, inline: <<-'SHELL'
cd /vagrant/
echo "statix check &&\
nix flake check --impure &&\
cp \$(nix build --impure --no-link --print-out-paths)/parigp* ./syntaxes/" |\
nix --version
df -h
echo "statix check && \
nix flake check --impure && \
cp \$(nix build --impure --no-link --print-out-paths)/parigp* ./syntaxes/" | \
nix-shell --run bash
SHELL
end
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }:
{ pkgs ? (import <nixpkgs>) {} }:
pkgs.mkShell {
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = with pkgs; [
Expand Down

0 comments on commit cbed11b

Please sign in to comment.