add missing isStatic in CI

This commit is contained in:
Clément DOUIN
2024-11-26 11:14:59 +01:00
parent 250ef63030
commit b6faf069cb
3 changed files with 1 additions and 12 deletions

View File

@@ -54,7 +54,7 @@ jobs:
extraPullNames: nix-community
- name: Build release
run: |
nix-build --argstr target ${{ matrix.target }}
nix-build --argstr target ${{ matrix.target }} --arg isStatic true
- name: Upload release artifacts
uses: actions/upload-artifact@v4
with:

View File

@@ -48,7 +48,6 @@ let
stdenv = pkgs.stdenv;
apple-sdk = if pkgs.stdenv.hostPlatform.isx86_64 then pkgs.apple-sdk_13 else pkgs.apple-sdk_14;
installShellFiles = false;
windows = pkgs.windows;
installShellCompletions = false;
installManPages = false;
notmuch = pkgs.notmuch;

View File

@@ -1,7 +1,6 @@
{ lib
, pkg-config
, rustPlatform
, windows
, fetchFromGitHub
, stdenv
, apple-sdk
@@ -29,15 +28,6 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-YS8IamapvmdrOPptQh2Ef9Yold0IK1XIeGs0kDIQ5b8=";
NIX_LDFLAGS = lib.optionals stdenv.hostPlatform.isWindows [
#"-L${windows.mcfgthreads}/lib"
#"-L${}/lib"
#"-L${windows.mingwrt}/lib"
#"-L${windows.w32api}/lib"
#"-lmcfgthread"
"-lunwind"
];
doCheck = false;
auditable = false;