···47474848The package’s homepage. Example: `https://www.gnu.org/software/hello/manual/`
49495050-### `repository` {#var-meta-repository}
5151-5252-A webpage where the package's source code can be viewed. `https` links are preferred if available. Automatically set to a default value if the package uses a `fetchFrom*` fetcher for its `src`. Example: `https://github.com/forthy42/gforth`
5353-5450### `downloadPage` {#var-meta-downloadPage}
55515652The page where a link to the current version can be found. Example: `https://ftp.gnu.org/gnu/hello/`
+2
nixos/doc/manual/release-notes/rl-2405.section.md
···143143144144- [Mealie](https://nightly.mealie.io/), a self-hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in NuxtJS for a pleasant user experience for the whole family. Available as [services.mealie](#opt-services.mealie.enable)
145145146146+- [Uni-Sync](https://github.com/EightB1ts/uni-sync), a synchronization tool for Lian Li Uni Controllers. Available as [hardware.uni-sync](#opt-hardware.uni-sync.enable)
147147+146148## Backward Incompatibilities {#sec-release-24.05-incompatibilities}
147149148150<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
···11+# This file was automatically generated by passthru.fetch-deps.
22+# Please dont edit it manually, your changes might get overwritten!
33+44+{ fetchNuGet }: [
55+]
···11+# shellcheck shell=bash
22+# Run addDriverRunpath on all dynamically linked, ELF files
33+echo "Sourcing auto-add-driver-runpath-hook"
44+55+if [ -n "${dontUseAutoAddOpenGLRunpath-}" ]; then
66+ echo "dontUseAutoAddOpenGLRunpath has been deprecated, please use dontUseAutoAddDriverRunpath instead"
77+fi
88+99+# Respect old toggle value to allow for people to gracefully transition
1010+# See: https://github.com/NixOS/nixpkgs/issues/141803 for transition roadmap
1111+if [ -z "${dontUseAutoAddDriverRunpath-}" -a -z "${dontUseAutoAddOpenGLRunpath-}" ]; then
1212+ echo "Using autoAddDriverRunpath"
1313+ postFixupHooks+=("autoFixElfFiles addDriverRunpath")
1414+fi
···11+# shellcheck shell=bash
22+# List all dynamically linked ELF files in the outputs and apply a generic fix
33+# action provided as a parameter (currently used to add the CUDA or the
44+# cuda_compat driver to the runpath of binaries)
55+echo "Sourcing fix-elf-files.sh"
66+77+# Returns the exit code of patchelf --print-rpath.
88+# A return code of 0 (success) means the ELF file has a dynamic section, while
99+# a non-zero return code means the ELF file is statically linked (or is not an
1010+# ELF file).
1111+elfHasDynamicSection() {
1212+ local libPath
1313+1414+ if [[ $# -eq 0 ]]; then
1515+ echo "elfHasDynamicSection: no library path provided" >&2
1616+ exit 1
1717+ elif [[ $# -gt 1 ]]; then
1818+ echo "elfHasDynamicSection: too many arguments" >&2
1919+ exit 1
2020+ elif [[ "$1" == "" ]]; then
2121+ echo "elfHasDynamicSection: empty library path" >&2
2222+ exit 1
2323+ else
2424+ libPath="$1"
2525+ shift 1
2626+ fi
2727+2828+ patchelf --print-rpath "$libPath" >& /dev/null
2929+ return $?
3030+}
3131+3232+# Run a fix action on all dynamically linked ELF files in the outputs.
3333+autoFixElfFiles() {
3434+ local fixAction
3535+ local outputPaths
3636+3737+ if [[ $# -eq 0 ]]; then
3838+ echo "autoFixElfFiles: no fix action provided" >&2
3939+ exit 1
4040+ elif [[ $# -gt 1 ]]; then
4141+ echo "autoFixElfFiles: too many arguments" >&2
4242+ exit 1
4343+ elif [[ "$1" == "" ]]; then
4444+ echo "autoFixElfFiles: empty fix action" >&2
4545+ exit 1
4646+ else
4747+ fixAction="$1"
4848+ fi
4949+5050+ mapfile -t outputPaths < <(for o in $(getAllOutputNames); do echo "${!o}"; done)
5151+5252+ find "${outputPaths[@]}" -type f -print0 | while IFS= read -rd "" f; do
5353+ if ! isELF "$f"; then
5454+ continue
5555+ elif elfHasDynamicSection "$f"; then
5656+ # patchelf returns an error on statically linked ELF files, and in
5757+ # practice fixing actions all involve patchelf
5858+ echo "autoFixElfFiles: using $fixAction to fix $f" >&2
5959+ $fixAction "$f"
6060+ elif (( "${NIX_DEBUG:-0}" >= 1 )); then
6161+ echo "autoFixElfFiles: skipping a statically-linked ELF file $f"
6262+ fi
6363+ done
6464+}
···11+# bash parameter completion for the dotnet CLI
22+33+function _dotnet_bash_complete()
44+{
55+ local cur="${COMP_WORDS[COMP_CWORD]}" IFS=$'\n' # On Windows you may need to use use IFS=$'\r\n'
66+ local candidates
77+88+ read -d '' -ra candidates < <(dotnet complete --position "${COMP_POINT}" "${COMP_LINE}" 2>/dev/null)
99+1010+ read -d '' -ra COMPREPLY < <(compgen -W "${candidates[*]:-}" -- "$cur")
1111+}
1212+1313+complete -f -F _dotnet_bash_complete dotnet
···11+# zsh parameter completion for the dotnet CLI
22+33+_dotnet_zsh_complete()
44+{
55+ local completions=("$(dotnet complete "$words")")
66+77+ # If the completion list is empty, just continue with filename selection
88+ if [ -z "$completions" ]
99+ then
1010+ _arguments '*::arguments: _normal'
1111+ return
1212+ fi
1313+1414+ # This is not a variable assignment, don't remove spaces!
1515+ _values = "${(ps:\n:)completions}"
1616+}
1717+1818+compdef _dotnet_zsh_complete dotnet
···7171 if version == "8.11.0+0.11.1" then version
7272 else builtins.replaceStrings [ "+" ] [ "." ] version
7373 }.tbz";
7474- # abort/syntax error will fail package set eval, but throw is "fine"
7575- sha256 = release."${version}".sha256 or (throw "Unknown version '${version}'");
7474+ sha256 = release."${version}".sha256;
7675 };
77767877 patches =
+4
pkgs/development/cuda-modules/aliases.nix
···11+# Packges which have been deprecated or removed from cudaPackages
22+final: prev: {
33+44+}
···11-{ stdenv, lib, fetchurl, undmg }:
11+{ stdenv, lib, fetchurl, undmg, makeWrapper }:
2233stdenv.mkDerivation (finalAttrs: {
44 version = "3.4.1";
···12121313 sourceRoot = "GrandPerspective.app";
1414 buildInputs = [ undmg ];
1515+ nativeBuildInputs = [ makeWrapper ];
1616+ # Create a trampoline script in $out/bin/ because a symlink doesn’t work for
1717+ # this app.
1518 installPhase = ''
1616- mkdir -p "$out/Applications/GrandPerspective.app";
1717- cp -R . "$out/Applications/GrandPerspective.app";
1919+ mkdir -p "$out/Applications/GrandPerspective.app" "$out/bin"
2020+ cp -R . "$out/Applications/GrandPerspective.app"
2121+ makeWrapper "$out/Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective" "$out/bin/grandperspective"
1822 '';
19232024 meta = with lib; {
···2529 space. It uses a so called tree map for visualisation. Each file is shown as a rectangle with an area proportional to
2630 the file's size. Files in the same folder appear together, but their placement is otherwise arbitrary.
2731 '';
3232+ mainProgram = "grandperspective";
2833 homepage = "https://grandperspectiv.sourceforge.net";
2934 license = licenses.gpl2Only;
3035 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
···1010 concatMapStrings
1111 concatMapStringsSep
1212 concatStrings
1313- filter
1413 findFirst
1515- head
1614 isDerivation
1715 length
1816 concatMap
···306304 str
307305 ];
308306 downloadPage = str;
309309- repository = union [
310310- (listOf str)
311311- str
312312- ];
313307 changelog = union [
314308 (listOf str)
315309 str
···446440 # -----
447441 else { valid = "yes"; });
448442449449- getRepository = let
450450- getSrcs = attrs:
451451- if attrs ? src
452452- then
453453- [ attrs.src ]
454454- else
455455- filter (src: src ? meta.homepage) attrs.srcs;
456456- getHomePages = map (src: src.meta.homepage);
457457- unlist = list:
458458- if length list == 1 then head list
459459- else list;
460460- in attrs: unlist (getHomePages (getSrcs attrs));
461443462444 # The meta attribute is passed in the resulting attribute set,
463445 # but it's not part of the actual derivation, i.e., it's not
···471453 outputs = attrs.outputs or [ "out" ];
472454 hasOutput = out: builtins.elem out outputs;
473455 in
474474- optionalAttrs (attrs ? src.meta.homepage || attrs ? srcs && isList attrs.srcs && any (src: src ? meta.homepage) attrs.srcs) {
475475- # should point to an http-browsable source tree, if available.
476476- # fetchers like fetchFromGitHub set it automatically.
477477- # this could be handled a lot easier if we nulled it instead
478478- # of having it be undefined, but that wouldn't match the
479479- # other attributes.
480480- repository = getRepository attrs;
481481- } // {
456456+ {
482457 # `name` derivation attribute includes cross-compilation cruft,
483458 # is under assert, and is sanitized.
484459 # Let's have a clean always accessible version here.