1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 14:02:42 +01:00
nix/src
Sergei Zimmerman bee21af2a1 libutil: Fix Pos::getSourcePath
Previous implementation didn't actually check if
std::get_if returned a nullptr:

std::optional<SourcePath> getSourcePath() const {
    return *std::get_if<SourcePath>(&origin);
}

(cherry picked from commit 50123f2a56)
2025-03-14 13:22:44 +00:00
..
build-remote build-remote: only allocate storeUri once 2024-07-25 14:04:03 +02:00
external-api-docs Format .nix files 2025-01-24 20:40:21 +01:00
internal-api-docs Format .nix files 2025-01-24 20:40:21 +01:00
libcmd Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libexpr {libutil,libexpr}: Move pos-idx,pos-table code to libutil 2025-03-14 13:22:44 +00:00
libexpr-c Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libexpr-test-support Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libexpr-tests Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libfetchers Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libfetchers-tests Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libflake Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libflake-c Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libflake-tests Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libmain Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libmain-c Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libstore windows: fix compilation after recent changes (backport #12495) (#12561) 2025-02-24 21:30:35 +00:00
libstore-c Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libstore-test-support Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libstore-tests Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libutil libutil: Fix Pos::getSourcePath 2025-03-14 13:22:44 +00:00
libutil-c Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libutil-test-support Write just ./.version on all components 2025-02-19 01:04:04 +01:00
libutil-tests Write just ./.version on all components 2025-02-19 01:04:04 +01:00
nix nix flake archive: Recurse into relative path inputs 2025-02-24 21:30:45 +00:00
nix-build Move code related to NIX_MAN_DIR from libstore to nix-cli 2025-02-18 14:37:28 +00:00
nix-channel Move code related to NIX_MAN_DIR from libstore to nix-cli 2025-02-18 14:37:28 +00:00
nix-collect-garbage Move code related to NIX_MAN_DIR from libstore to nix-cli 2025-02-18 14:37:28 +00:00
nix-copy-closure Move code related to NIX_MAN_DIR from libstore to nix-cli 2025-02-18 14:37:28 +00:00
nix-env Move code related to NIX_MAN_DIR from libstore to nix-cli 2025-02-18 14:37:28 +00:00
nix-instantiate Move code related to NIX_MAN_DIR from libstore to nix-cli 2025-02-18 14:37:28 +00:00
nix-store Move code related to NIX_MAN_DIR from libstore to nix-cli 2025-02-18 14:37:28 +00:00
perl Fix perl store bindings 2025-02-21 14:47:37 +00:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00