-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(refactor): clean up Nix configuration for better readability
This commit includes a restructuring of the Nix configuration files to make them easier to read and manage. The 'teepotCrate' reference usage has been revised and the explicit src inheritance has been removed. Signed-off-by: Harald Hoyer <[email protected]>
- Loading branch information
Showing
6 changed files
with
36 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2024 Matter Labs | ||
{ teepotCrate }: teepotCrate.craneLib.cargoClippy ( | ||
teepotCrate.commonArgs // { | ||
{ teepot }: teepot.teepotCrate.craneLib.cargoClippy ( | ||
teepot.teepotCrate.commonArgs // { | ||
pname = "teepot"; | ||
inherit (teepotCrate) cargoArtifacts NIX_OUTPATH_USED_AS_RANDOM_SEED; | ||
inherit (teepot.teepotCrate) cargoArtifacts NIX_OUTPATH_USED_AS_RANDOM_SEED; | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2024 Matter Labs | ||
{ teepotCrate }: teepotCrate.craneLib.cargoDeny ( | ||
teepotCrate.commonArgs // { | ||
{ teepot }: teepot.teepotCrate.craneLib.cargoDeny ( | ||
teepot.teepotCrate.commonArgs // { | ||
pname = "teepot"; | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2024 Matter Labs | ||
{ teepotCrate }: teepotCrate.craneLib.cargoFmt ( | ||
teepotCrate.commonArgs // { | ||
{ teepot }: teepot.teepotCrate.craneLib.cargoFmt ( | ||
teepot.teepotCrate.commonArgs // { | ||
pname = "teepot"; | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters