···272272 # parted /dev/sda -- mkpart ESP fat32 1MB 512MB
273273 # parted /dev/sda -- set 3 esp on
274274 ```
275275+ ::: {.note}
276276+ In case you decided to not create a swap partition, replace `3` by `2`. To be sure of the id number of ESP, run `parted --list`.
277277+ :::
275278276279Once complete, you can follow with
277280[](#sec-installation-manual-partitioning-formatting).
···99# use ./update.sh to help with updating for each quarterly release
1010#
1111# then, to test:
1212-# for e in cpp dsl embedcpp modeling platform sdk java jee committers rcp; do for s in pkgs pkgsCross.aarch64-multiplatform; do echo; echo $s $e; nix build -f default.nix ${s}.eclipses.eclipse-${e} -o eclipse-${s}-${e}; done; done
1212+# for e in cpp dsl embedcpp modeling platform sdk java jee committers rcp; do for s in pkgs pkgsCross.aarch64-multiplatform; do echo; echo $s $e; nix-build -A ${s}.eclipses.eclipse-${e} -o eclipse-${s}-${e}; done; done
13131414let
1515 platform_major = "4";
···11+# Ideally, this file would have been placed in
22+# pkgs/by-name/ss/sshd-openpgp-auth/package.nix, but since `./generic.nix` is
33+# outside of the directory, the nixpkgs-check-by-name test will fail the CI. So
44+# we call this file in all-packages.nix like in the old days.
55+{ callPackage }:
66+77+callPackage ./generic.nix {
88+ pname = "sshd-openpgp-auth";
99+ version = "0.3.0";
1010+ srcHash = "sha256-IV0Nhdqyn12HDOp1jaKz3sKTI3ktFd5b6qybCLWt27I=";
1111+ cargoHash = "sha256-/+lZkVMeFUMRD7NQ/MHDU5f3rkKDx1kDv5tjA41RExc=";
1212+ metaDescription =
1313+ "Command-line tool for creating and managing OpenPGP based trust anchors for SSH host keys";
1414+}
···11{ lib, stdenv, fetchurl
22, coreutils, cctools
33+, darwin
34, ncurses, libiconv, libX11, libuuid, testers
45}:
56···1213 hash = "sha256-03GZASte0ZhcQGnWqH/xjl4fWi3yfkApkfr0XcTyIyw=";
1314 };
14151515- nativeBuildInputs = lib.optional stdenv.isDarwin cctools;
1616+ nativeBuildInputs = lib.optionals stdenv.isDarwin [
1717+ cctools
1818+ ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
1919+ darwin.autoSignDarwinBinariesHook
2020+ ];
1621 buildInputs = [ ncurses libiconv libX11 libuuid ];
17221823 enableParallelBuilding = true;
···2025 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=format-truncation";
21262227 /*
2323- ** We patch out a very annoying 'feature' in ./configure, which
2424- ** tries to use 'git' to update submodules.
2525- **
2626- ** We have to also fix a few occurrences to tools with absolute
2828+ ** We have to fix a few occurrences to tools with absolute
2729 ** paths in some helper scripts, otherwise the build will fail on
2830 ** NixOS or in any chroot build.
2931 */
···2222 nativeBuildInputs = [ cmake pkg-config ];
2323 buildInputs = [ openssl gtest ];
24242525+ # Default of C++11 is too low for gtest.
2626+ # In newer versions of s2geometry this can be done with cmakeFlags.
2727+ postPatch = ''
2828+ substituteInPlace CMakeLists.txt --replace "CMAKE_CXX_STANDARD 11" "CMAKE_CXX_STANDARD 14"
2929+ '';
3030+2531 meta = with lib; {
2632 description = "Computational geometry and spatial indexing on the sphere";
2733 homepage = "http://s2geometry.io/";