mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 18:57:02 +05:30
fix(flakes): fix inputs configuration
This commit is contained in:
parent
d282f3c346
commit
a891d2e690
1 changed files with 3 additions and 3 deletions
|
@ -50,11 +50,11 @@
|
|||
craneLib = (crane.mkLib pkgs).overrideToolchain rustStable;
|
||||
commonArgs = {
|
||||
src = craneLib.cleanCargoSource ./.;
|
||||
buildInputs = with pkgs;
|
||||
buildInputs = [];
|
||||
nativeBuildInputs = with pkgs;
|
||||
[xorg.libxcb python312]
|
||||
++ pkgs.lib.optionals stdenv.isDarwin
|
||||
[pkgs.darwin.apple_sdk.frameworks.AppKit];
|
||||
nativeBuildInputs = [];
|
||||
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
||||
};
|
||||
cargoArtifacts = craneLib.buildDepsOnly (commonArgs // {doCheck = false;});
|
||||
|
@ -101,7 +101,7 @@
|
|||
rustStable
|
||||
];
|
||||
|
||||
language.c.libraries = commonArgs.buildInputs;
|
||||
language.c.libraries = commonArgs.nativeBuildInputs;
|
||||
language.rust.enableDefaultToolchain = false;
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue