-
-
Save cleverca22/f834ae60d1ec724fb237807571ad1856 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
let | |
extractToolchainFromScript = src: runCommand "remarkable-toolchain-sdk" { inherit src; } '' | |
awk 'i {print} /^MARKER:$/{i=1}' $src > $out | |
''; | |
in stdenv.mkDerivation rec { | |
name = "remarkable-toolchain"; | |
version = "2.1.3"; | |
src = extractToolchainFromScript ( | |
builtins.fetchurl { | |
url = "https://remarkable.engineering/deploy/sdk/poky-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-${version}.sh"; | |
#sha256 = "" | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment