Skip to content

Commit

Permalink
Merge pull request #377 from IoT-Inspector/nix-shell-preferWheels
Browse files Browse the repository at this point in the history
nix: fix nix-shell using dependencies from wheels
  • Loading branch information
vlaci authored Jun 3, 2022
2 parents 313f5d6 + ded27c4 commit b57dd32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/poetry/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{ lib, mkShell, poetry2nix, stdenv, rustPlatform }:

{ projectDir, overrides, editablePackageSources, ... }@args:
{ projectDir, overrides, editablePackageSources, preferWheels ? false, ... }@args:

let
# pass all args which are not specific to mkPoetryEnv
Expand All @@ -18,7 +18,7 @@ let
{
name = "${app.pname}-editable-env";
src = poetry2nix.mkPoetryEnv {
inherit projectDir editablePackageSources overrides;
inherit projectDir editablePackageSources overrides preferWheels;
};

installPhase = ''
Expand Down

0 comments on commit b57dd32

Please sign in to comment.