Skip to content

Commit

Permalink
[CI] fix cachix install-nix
Browse files Browse the repository at this point in the history
There appears to be some unknowns regarding ensuring nix is installed,
but not overwritten (see
cachix/install-nix-action#98 and
https://github.com/cachix/install-nix-actions/pull/100/files).
  • Loading branch information
kquick committed Jan 13, 2022
1 parent 84d8b71 commit b9ca496
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
ghc-ver: ["8.8.4", "8.10.7", "9.0.2"]
cabal: [ '3.6.2.0' ]
os: [self-hosted]
os: [ubuntu-latest]
# complete all jobs
fail-fast: false
name: Macaw - GHC v${{ matrix.ghc-ver }}
Expand All @@ -28,8 +28,29 @@ jobs:
with:
submodules: true

- name: Probe Build Environment
run: |
id
echo USER is $USER
uname -a
echo pwd
pwd
echo os-release
cat /etc/os-release
echo attempting sudo
sudo whoami
echo mounts
sudo mount
echo what is in /proc?
sudo ls /proc
echo systemd?
echo systemd
echo exists?
ls /run/systemd
echo OK
- name: Install Nix
uses: cachix/install-nix-action@v16
uses: kquick/install-nix-action@master
with:
nix_path: nixpkgs=channel:nixos-21.11
install_url: https://releases.nixos.org/nix/nix-2.4/install
Expand Down

0 comments on commit b9ca496

Please sign in to comment.