From dc649883a17563c34eb0c68f58f23ffc9faaeea2 Mon Sep 17 00:00:00 2001 From: Gautier DI FOLCO Date: Sat, 10 Aug 2024 15:19:20 +0200 Subject: [PATCH] fix: use static executable --- .github/workflows/ci.yml | 2 +- flake.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5668f7a..a48f8e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: extra_nix_config: | system-features = nixos-test benchmark big-parallel kvm - uses: DeterminateSystems/magic-nix-cache-action@main - - run: nix build -L + - run: nix build -L '.#packages.x86_64-linux."static-x86_64-unknown-linux-musl:github-action-scan:exe:github-action-scan"' - run: nix flake check - name: Extract tag name shell: bash diff --git a/flake.nix b/flake.nix index 6a609eb..00cfdb4 100644 --- a/flake.nix +++ b/flake.nix @@ -364,7 +364,7 @@ copyToRoot = pkgs.buildEnv { name = "image-root"; paths = [ - projectFlake.packages."static:github-action-scan:exe:github-action-scan" + projectFlake.packages."static-x86_64-unknown-linux-musl:github-action-scan:exe:github-action-scan" ]; pathsToLink = [ "/bin" ]; };