summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-06-20 00:53:28 +0200
committercashmere <cashmere@autistici.org>2026-06-20 00:53:28 +0200
commit72451f83fe005b58eb2e5a1e97215003d0cdb3cd (patch)
treea8195660d0b594f86643a049192c19d6c47e0b47 /nix
parentc81818f58c12fff7a7ac6ccc8f8773f7c0f55b53 (diff)
downloadtechnical-renaissance-72451f83fe005b58eb2e5a1e97215003d0cdb3cd.tar.gz
nix: add aarch64 compatibility
Diffstat (limited to '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