Skip to content

Commit

Permalink
fix: use static executable
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven committed Aug 10, 2024
1 parent 41080d5 commit dc64988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
};
Expand Down

0 comments on commit dc64988

Please sign in to comment.