summaryrefslogtreecommitdiff
path: root/nix/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/package.nix')
-rw-r--r--nix/package.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nix/package.nix b/nix/package.nix
index 22d7d5e..c5557c8 100644
--- a/nix/package.nix
+++ b/nix/package.nix
@@ -1,9 +1,14 @@
{
+ stdenv,
python3Packages,
sources ? import ../npins,
}:
let
+ robynSrc =
+ sources."robyn-${stdenv.hostPlatform.system}"
+ or (throw "technical-renaissance: no robyn wheel pinned for ${stdenv.hostPlatform.system}");
+
rustimport = python3Packages.buildPythonPackage {
pname = "rustimport";
version = "1.3.4";
@@ -18,7 +23,7 @@ let
pname = "robyn";
version = "0.86.0";
format = "wheel";
- src = sources.robyn;
+ src = robynSrc;
dependencies = with python3Packages; [
inquirerpy
multiprocess