-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1760: build: add rustFlags option to support rust compiler options r=niladrih a=niladrih Co-authored-by: Niladri Halder <[email protected]>
- Loading branch information
Showing
6 changed files
with
15 additions
and
9 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,17 +1,17 @@ | ||
{ img_tag ? "", tag ? "", img_org ? "", product_prefix ? "" }: | ||
{ img_tag ? "", tag ? "", img_org ? "", product_prefix ? "", rustFlags ? "" }: | ||
let | ||
config = import ./config.nix; | ||
img_prefix = if product_prefix == "" then config.product_prefix else product_prefix; | ||
in | ||
self: super: rec { | ||
sourcer = super.callPackage ./lib/sourcer.nix { }; | ||
images = super.callPackage ./pkgs/images { inherit img_tag img_org img_prefix; }; | ||
io-engine = (super.callPackage ./pkgs/io-engine { inherit tag sourcer; }).release; | ||
io-engine-adhoc = (super.callPackage ./pkgs/io-engine { inherit tag; }).adhoc; | ||
io-engine-dev = (super.callPackage ./pkgs/io-engine { inherit tag; }).debug; | ||
io-engine = (super.callPackage ./pkgs/io-engine { inherit tag sourcer rustFlags; }).release; | ||
io-engine-adhoc = (super.callPackage ./pkgs/io-engine { inherit tag rustFlags; }).adhoc; | ||
io-engine-dev = (super.callPackage ./pkgs/io-engine { inherit tag rustFlags; }).debug; | ||
mkContainerEnv = super.callPackage ./lib/mkContainerEnv.nix { }; | ||
ms-buildenv = super.callPackage ./pkgs/ms-buildenv { }; | ||
nvmet-cli = super.callPackage ./pkgs/nvmet-cli { }; | ||
units = (super.callPackage ./pkgs/io-engine/units.nix { inherit tag sourcer; }); | ||
units = (super.callPackage ./pkgs/io-engine/units.nix { inherit tag sourcer rustFlags; }); | ||
} | ||
// (import ../spdk-rs/nix/overlay.nix { } self super) |
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
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