Skip to content

Commit

Permalink
Fix merged args
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Dec 6, 2024
1 parent bd3110d commit ac27c08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@
default = flake-checker;

flake-checker = pkgs.naerskLib.buildPackage
{
({
name = "flake-checker-${version}";
src = self;
doCheck = true;
buildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]);
nativeBuildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
} // pkgs.lib.optionalAttrs pkgs.stdenv.isLinux {
CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl";
CARGO_BUILD_RUSTFLAGS = "-C target-feature=+crt-static";
};
CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl";
CARGO_BUILD_RUSTFLAGS = "-C target-feature=+crt-static";
});
});

devShells = forAllSystems ({ pkgs }: {
Expand Down

0 comments on commit ac27c08

Please sign in to comment.