Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions flake.nix
Original file line numberDiff line numberDiff line change
Expand Up@@ -96,6 +96,7 @@
nativeBuildInputs = with pkgs; [
gcc
gnumake
patchelf
];

buildPhase = ''
Expand All@@ -105,6 +106,8 @@
installPhase = ''
mkdir -p $out/bin
cp dist/try $out/bin/
# Set portable interpreter path for non-Nix systems
patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 $out/bin/try
'';

meta = with pkgs.lib; {
Expand All@@ -125,6 +128,7 @@
nativeBuildInputs = with pkgs.pkgsCross.aarch64-multiplatform; [
gcc
gnumake
patchelf
];

buildPhase = ''
Expand All@@ -134,6 +138,8 @@
installPhase = ''
mkdir -p $out/bin
cp dist/try $out/bin/
# Set portable interpreter path for non-Nix systems
patchelf --set-interpreter /lib/ld-linux-aarch64.so.1 $out/bin/try
'';

meta = with pkgs.lib; {
Expand Down