Skip to content

Commit

Permalink
Do not include nix file in blinky source
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Jul 17, 2024
1 parent 1dbccfe commit cd6394f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions blinky/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@

rustPlatform.buildRustPackage {
inherit ((builtins.fromTOML (builtins.readFile ./Cargo.toml)).package) name;
src = lib.cleanSource ./.;
cargoLock = {
lockFile = ./Cargo.lock;

src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./Cargo.lock
./Cargo.toml
./src
./.cargo
];
};

cargoLock.lockFile = ./Cargo.lock;

doCheck = false;

# Work around https://github.com/NixOS/nixpkgs/issues/281527 by forcing LLD as the linker:
Expand Down

0 comments on commit cd6394f

Please sign in to comment.