Skip to content

Commit

Permalink
Fix Nix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Mar 13, 2024
1 parent 863cf35 commit 5d41afe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nix/modules/happ_builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
then pkgs.openssl # pkgsStatic is considered a cross build and this is not yet supported
else pkgs.pkgsStatic.openssl;

craneLib = config.rustHelper.craneLib;
inherit (config.rustHelper) craneLib;

happ_builder = craneLib.buildPackage {
pname = "happ_builder";
Expand Down
2 changes: 1 addition & 1 deletion nix/modules/scenario.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
then pkgs.openssl # pkgsStatic is considered a cross build and this is not yet supported
else pkgs.pkgsStatic.openssl;

craneLib = config.rustHelper.craneLib;
inherit (config.rustHelper) craneLib;

mkPackage = { name }: craneLib.buildPackage {
pname = name;
Expand Down

0 comments on commit 5d41afe

Please sign in to comment.