Compare commits

...

4 commits

Author SHA1 Message Date
Raito Bezarius
71353962cf chore(libmain): license it under LGPL-2.1-only
Progress towards REUSE compliance.

Change-Id: I2991234cfd193773a377d2f1735b9974918b8138
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-08-10 20:47:34 +02:00
Raito Bezarius
dc5399dedc chore(libfetchers): license it under LGPL-2.1-only
Progress towards REUSE compliance.

Change-Id: I75fd1f986f75865e03f161eda74647da86c1a28e
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-08-10 20:47:22 +02:00
Raito Bezarius
19ad871b74 chore(libexpr): license it under LGPL-2.1-only
Progress towards REUSE compliance.

Change-Id: Ia64efc4fbf4e8eb3800b75159f357ea009438ae1
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-08-10 20:47:12 +02:00
Raito Bezarius
f76b2961e7 chore(libcmd): license it under LGPL-2.1-only
Progress towards REUSE compliance.

Change-Id: I0f9d13cb2ceaedab4a1695bd90f57d86ee8cb3e5
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-08-10 20:47:02 +02:00
124 changed files with 496 additions and 0 deletions

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "built-path.hh"
#include "derivations.hh"
#include "store-api.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file
#include "derived-path.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include <set>
#include "cmd-profiles.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "command.hh"
#include "store-api.hh"
#include "local-fs-store.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "eval-settings.hh"
#include "common-eval-args.hh"
#include "shared.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "editor-for.hh"
#include "environment-variables.hh"
#include "source-path.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "globals.hh"
#include "installable-attr-path.hh"
#include "outputs-spec.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "installable-derived-path.hh"
#include "derivations.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "globals.hh"
#include "installable-flake.hh"
#include "installable-derived-path.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "installable-value.hh"
#include "eval-cache.hh"
#include "fetch-to-store.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "globals.hh"
#include "installables.hh"
#include "installable-derived-path.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "legacy.hh"
namespace nix {

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "markdown.hh"
#include "error.hh"
#include "finally.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
libcmd_sources = files(
'built-path.cc',
'cmd-profiles.cc',

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "error.hh"
#include "file-system.hh"
#include "logging.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
/// @file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
info: initial: functions:
let
final = builtins.foldl' (prev: function: prev // (function info final prev)) initial functions;

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include <cstdio>
#include <editline.h>
#include <iostream>

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "attr-path.hh"
#include "eval-inline.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "attr-set.hh"
#include "eval-inline.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "eval-cache.hh"
#include "sqlite.hh"
#include "eval.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "eval-error.hh"
#include "eval.hh"
#include "value.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "file-system.hh"
#include "globals.hh"
#include "profiles.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file
#include "config.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "eval.hh"
#include "eval-settings.hh"
#include "hash.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
{
system ? "", # obsolete
url,

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
lockFileStr: rootSrc: rootSubdir:
let

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "flake.hh"
#include "logging.hh"
#include "users.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "flake.hh"
#include "eval.hh"
#include "eval-settings.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "flakeref.hh"
#include "store-api.hh"
#include "url.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "lockfile.hh"
#include "store-api.hh"
#include "url-parts.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
libexpr_generated_headers += custom_target(
command : [ 'bash', '-c', 'echo \'R"__NIX_STR(\' | cat - @INPUT@ && echo \')__NIX_STR"\'' ],
input : 'call-flake.nix',

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "function-trace.hh"
#include "logging.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "get-drvs.hh"
#include "eval-inline.hh"
#include "derivations.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
attrs@{
drvPath,
outputs,

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "json-to-value.hh"
#include "value.hh"
#include "eval.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
libexpr_generated_headers = [
gen_header.process('primops/derivation.nix', preserve_path_from : meson.current_source_dir()),
]

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "nixexpr.hh"
#include "derivations.hh"
#include "eval.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "attr-set.hh"
#include "error.hh"
#include "eval-settings.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "eval.hh"
namespace nix {

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "archive.hh"
#include "derivations.hh"
#include "downstream-placeholder.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "primops.hh"
#include "eval-inline.hh"
#include "derivations.hh"

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
/*
This is the implementation of the derivation builtin function.
It's actually a wrapper around the derivationStrict primop.

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "primops.hh"
#include "store-api.hh"
#include "make-content-addressed.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "primops.hh"
#include "eval-inline.hh"
#include "eval-settings.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "primops.hh"
#include "eval-inline.hh"
#include "eval-settings.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "primops.hh"
#include "eval-inline.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "print-ambiguous.hh"
#include "attr-set.hh"
#include "logging.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
/**
* @file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include <limits>
#include <span>
#include <unordered_set>

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
/**
* @file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "search-path.hh"
namespace nix {

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "value-to-json.hh"
#include "eval-inline.hh"
#include "signals.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "value-to-xml.hh"
#include "xml-writer.hh"
#include "signals.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "value/context.hh"
#include <optional>

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "attrs.hh"
#include "fetchers.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "cache.hh"
#include "sqlite.hh"
#include "sync.hh"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once
///@file

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#include "abstract-setting-to-json.hh"
#include "args.hh"
#include "config-impl.hh"

Some files were not shown because too many files have changed in this diff Show more