···272 # parted /dev/sda -- mkpart ESP fat32 1MB 512MB
273 # parted /dev/sda -- set 3 esp on
274 ```
000275276Once complete, you can follow with
277[](#sec-installation-manual-partitioning-formatting).
···272 # parted /dev/sda -- mkpart ESP fat32 1MB 512MB
273 # parted /dev/sda -- set 3 esp on
274 ```
275+ ::: {.note}
276+ 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`.
277+ :::
278279Once complete, you can follow with
280[](#sec-installation-manual-partitioning-formatting).
···9# use ./update.sh to help with updating for each quarterly release
10#
11# then, to test:
12-# 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
1314let
15 platform_major = "4";
···9# use ./update.sh to help with updating for each quarterly release
10#
11# then, to test:
12+# 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
1314let
15 platform_major = "4";
···1+# Ideally, this file would have been placed in
2+# pkgs/by-name/ss/sshd-openpgp-auth/package.nix, but since `./generic.nix` is
3+# outside of the directory, the nixpkgs-check-by-name test will fail the CI. So
4+# we call this file in all-packages.nix like in the old days.
5+{ callPackage }:
6+7+callPackage ./generic.nix {
8+ pname = "sshd-openpgp-auth";
9+ version = "0.3.0";
10+ srcHash = "sha256-IV0Nhdqyn12HDOp1jaKz3sKTI3ktFd5b6qybCLWt27I=";
11+ cargoHash = "sha256-/+lZkVMeFUMRD7NQ/MHDU5f3rkKDx1kDv5tjA41RExc=";
12+ metaDescription =
13+ "Command-line tool for creating and managing OpenPGP based trust anchors for SSH host keys";
14+}
···1-{ lib, stdenv, fetchgit, fetchpatch, gcc, unstableGitUpdater }:
23-stdenv.mkDerivation rec {
4 pname = "cakelisp";
5 # using unstable as it's the only version that builds against gcc-13
6- version = "0.3.0-unstable-2023-12-18";
78 src = fetchgit {
9 url = "https://macoy.me/code/macoy/cakelisp";
10- rev = "866fa2806d3206cc9dd398f0e86640db5be42bd6";
11- hash = "sha256-vwMZUNy+updwk69ahA/D9LhO68eV6wH0Prq+o/i1Q/A=";
12 };
1314 buildInputs = [ gcc ];
···29 ./Build.sh
30 runHook postBuild
31 '';
003233 installPhase = ''
34 runHook preInstall
···1+{ lib, stdenv, fetchgit, gcc, unstableGitUpdater }:
23+stdenv.mkDerivation {
4 pname = "cakelisp";
5 # using unstable as it's the only version that builds against gcc-13
6+ version = "0.3.0-unstable-2024-02-21";
78 src = fetchgit {
9 url = "https://macoy.me/code/macoy/cakelisp";
10+ rev = "75ce620b265bf83c6952c0093df2b9d4f7f32a54";
11+ hash = "sha256-X+tWq2QQogy4d042pcVuldc80jcClYtV09Jr91rHJl4=";
12 };
1314 buildInputs = [ gcc ];
···29 ./Build.sh
30 runHook postBuild
31 '';
32+33+ env.NIX_CFLAGS_COMPILE = "-Wno-error=format";
3435 installPhase = ''
36 runHook preInstall
+7-5
pkgs/development/compilers/chez/default.nix
···1{ lib, stdenv, fetchurl
2, coreutils, cctools
03, ncurses, libiconv, libX11, libuuid, testers
4}:
5···12 hash = "sha256-03GZASte0ZhcQGnWqH/xjl4fWi3yfkApkfr0XcTyIyw=";
13 };
1415- nativeBuildInputs = lib.optional stdenv.isDarwin cctools;
000016 buildInputs = [ ncurses libiconv libX11 libuuid ];
1718 enableParallelBuilding = true;
···20 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=format-truncation";
2122 /*
23- ** We patch out a very annoying 'feature' in ./configure, which
24- ** tries to use 'git' to update submodules.
25- **
26- ** We have to also fix a few occurrences to tools with absolute
27 ** paths in some helper scripts, otherwise the build will fail on
28 ** NixOS or in any chroot build.
29 */
···1{ lib, stdenv, fetchurl
2, coreutils, cctools
3+, darwin
4, ncurses, libiconv, libX11, libuuid, testers
5}:
6···13 hash = "sha256-03GZASte0ZhcQGnWqH/xjl4fWi3yfkApkfr0XcTyIyw=";
14 };
1516+ nativeBuildInputs = lib.optionals stdenv.isDarwin [
17+ cctools
18+ ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
19+ darwin.autoSignDarwinBinariesHook
20+ ];
21 buildInputs = [ ncurses libiconv libX11 libuuid ];
2223 enableParallelBuilding = true;
···25 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=format-truncation";
2627 /*
28+ ** We have to fix a few occurrences to tools with absolute
00029 ** paths in some helper scripts, otherwise the build will fail on
30 ** NixOS or in any chroot build.
31 */
···22 nativeBuildInputs = [ cmake pkg-config ];
23 buildInputs = [ openssl gtest ];
2400000025 meta = with lib; {
26 description = "Computational geometry and spatial indexing on the sphere";
27 homepage = "http://s2geometry.io/";
···22 nativeBuildInputs = [ cmake pkg-config ];
23 buildInputs = [ openssl gtest ];
2425+ # Default of C++11 is too low for gtest.
26+ # In newer versions of s2geometry this can be done with cmakeFlags.
27+ postPatch = ''
28+ substituteInPlace CMakeLists.txt --replace "CMAKE_CXX_STANDARD 11" "CMAKE_CXX_STANDARD 14"
29+ '';
30+31 meta = with lib; {
32 description = "Computational geometry and spatial indexing on the sphere";
33 homepage = "http://s2geometry.io/";
···5, nixosTests
6, pkgsCross
7, fetchFromGitHub
8+, fetchpatch
9, fetchzip
10, buildPackages
11, makeBinaryWrapper
···225 ./0017-meson.build-do-not-create-systemdstatedir.patch
226 ] ++ lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu) [
227 ./0018-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch
228+ ] ++ lib.optional (stdenv.hostPlatform.isPower || stdenv.hostPlatform.isRiscV) [
229+ # Fixed upstream and included in the main and stable branches. Can be dropped
230+ # when bumping to >= v255.5.
231+ # https://github.com/systemd/systemd/issues/30448
232+ # https://github.com/NixOS/nixpkgs/pull/282607
233+ (fetchpatch {
234+ url = "https://github.com/systemd/systemd/commit/8040fa55a1cbc34dede3205a902095ecd26c21e3.patch";
235+ sha256 = "0l8jk0w0wavagzck0vy5m0s6fhxab0hpdr4ib111bacqrvvda3kd";
236+ })
237 ] ++ lib.optional stdenv.hostPlatform.isMusl (
238 let
239 oe-core = fetchzip {
···866 # needed - and therefore `interfaceVersion` should be incremented.
867 interfaceVersion = 2;
868869+ inherit withBootloader withCryptsetup withHostnamed withImportd withKmod
870+ withLocaled withMachined withPortabled withTimedated withUtmp util-linux kmod kbd;
871872 tests = {
873 inherit (nixosTests)
+2-1
pkgs/os-specific/linux/usbutils/default.nix
···27 meta = with lib; {
28 homepage = "http://www.linux-usb.org/";
29 description = "Tools for working with USB devices, such as lsusb";
30- maintainers = with maintainers; [ ];
31 license = licenses.gpl2Plus;
32 platforms = platforms.linux;
033 };
34}
···27 meta = with lib; {
28 homepage = "http://www.linux-usb.org/";
29 description = "Tools for working with USB devices, such as lsusb";
30+ maintainers = with maintainers; [ cafkafk ];
31 license = licenses.gpl2Plus;
32 platforms = platforms.linux;
33+ mainProgram = "lsusb";
34 };
35}
···12 # See https://docs.mattermost.com/upgrade/extended-support-release.html
13 # When a new ESR version is available (e.g. 8.1.x -> 9.5.x), update
14 # the version regex in passthru.updateScript as well.
15- version = "9.5.1";
1617 src = fetchFromGitHub {
18 owner = "mattermost";
19 repo = "mattermost";
20 rev = "v${version}";
21- hash = "sha256-w+VF8VoS7oIcDlYS5kCFzSX4rgD9l1B99XBHeJDB6JI=";
22 };
2324 # Needed because buildGoModule does not support go workspaces yet.
···3435 webapp = fetchurl {
36 url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz";
37- hash = "sha256-F32NWulKUhoyHPCmCCih6Hb9+W2iuF/Mxy9USrgp1pM=";
38 };
3940 vendorHash = "sha256-TJCtgNf56A1U0EbV5gXjTro+YudVBRWiSZoBC3nJxnE=";
···12 # See https://docs.mattermost.com/upgrade/extended-support-release.html
13 # When a new ESR version is available (e.g. 8.1.x -> 9.5.x), update
14 # the version regex in passthru.updateScript as well.
15+ version = "9.5.2";
1617 src = fetchFromGitHub {
18 owner = "mattermost";
19 repo = "mattermost";
20 rev = "v${version}";
21+ hash = "sha256-NYP0mhON+TCvNTSx4I4hddFGF9TWtnMAwyJvX8sEdWU=";
22 };
2324 # Needed because buildGoModule does not support go workspaces yet.
···3435 webapp = fetchurl {
36 url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz";
37+ hash = "sha256-ogiowbNYHo9NTQLAg1OKXp8pV1Zn7kPcZR9ukaKvpKA=";
38 };
3940 vendorHash = "sha256-TJCtgNf56A1U0EbV5gXjTro+YudVBRWiSZoBC3nJxnE=";