Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0dfdfc263d18
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5fcbdc678865
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 23, 2020

  1. Copy the full SHA
    540bbf4 View commit details

Commits on Apr 24, 2020

  1. Merge pull request #85897 from NickHu/remarkable-toolchain

    remarkable-toolchain: init at 1.8-23.9.2019
    falsifian authored Apr 24, 2020
    Copy the full SHA
    5fcbdc6 View commit details
Showing with 38 additions and 0 deletions.
  1. +36 −0 pkgs/development/tools/misc/remarkable/remarkable-toolchain/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ stdenv, fetchurl, libarchive, python3, file }:

stdenv.mkDerivation rec {
pname = "remarkable-toolchain";
version = "1.8-23.9.2019";

src = fetchurl {
url = "https://remarkable.engineering/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-${version}.sh";
sha256 = "6299955721bcd9bef92a87ad3cfe4d31df8e2da95b0c4b2cdded4431aa6748b0";
};

nativeBuildInputs = [
libarchive
python3
file
];

unpackCmd = "mkdir src; install $curSrc src/install-toolchain.sh";

dontBuild = true;

installPhase = ''
patchShebangs install-toolchain.sh
sed -i -e '3,9d' install-toolchain.sh # breaks PATH
sed -i 's|PYTHON=.*$|PYTHON=${python3}/bin/python|' install-toolchain.sh
./install-toolchain.sh -D -y -d $out
'';

meta = with stdenv.lib; {
description = "A toolchain for cross-compiling to reMarkable tablets";
homepage = "https://remarkable.engineering/";
license = licenses.gpl2;
maintainers = [ maintainers.nickhu ];
platforms = platforms.x86_64;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -8512,6 +8512,8 @@ in

pscid = nodePackages.pscid;

remarkable-toolchain = callPackage ../development/tools/misc/remarkable/remarkable-toolchain { };

tacacsplus = callPackage ../servers/tacacsplus { };

tamarin-prover =