diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml new file mode 100644 index 0000000..0ddd8b1 --- /dev/null +++ b/.github/workflows/nix.yml @@ -0,0 +1,21 @@ +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 build -L .#packages.x86_64-linux.process-compose || true + echo + cat /nix/store/9zxwjm75l33dkncacf1nzksc4qr11cal-process-compose-0.77.4.drv + false diff --git a/default.nix b/default.nix index fdea8ee..0847290 100644 --- a/default.nix +++ b/default.nix @@ -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}