Skip to content

Commit

Permalink
imp: add nix ci gha job
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Dec 11, 2023
1 parent 41cab02 commit e7276ad
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Nix
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v24
- run: |
nix --version
nix show-config
nix derivation show .#packages.x86_64-linux.process-compose
nix build -L .#packages.x86_64-linux.process-compose
false
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];

vendorHash = "sha256-0On/Rg8c9g45qbLuwhP/ZIGosu0X1uzXfAoddgTCDkg=";
# vendorHash = lib.fakeSha256;
# vendorHash = lib.fakeHash;

postInstall = ''
mv $out/bin/{src,process-compose}
Expand Down

0 comments on commit e7276ad

Please sign in to comment.