chore(libcmd): license it under LGPL-2.1-only

Progress towards REUSE compliance.

Change-Id: I0f9d13cb2ceaedab4a1695bd90f57d86ee8cb3e5
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
raito 2024-08-10 20:47:02 +02:00
parent fa92f41a18
commit f76b2961e7
30 changed files with 120 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 "built-path.hh"
#include "derivations.hh" #include "derivations.hh"
#include "store-api.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 #pragma once
///@file ///@file
#include "derived-path.hh" #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 <set>
#include "cmd-profiles.hh" #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 #pragma once
///@file ///@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 "command.hh"
#include "store-api.hh" #include "store-api.hh"
#include "local-fs-store.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 #pragma once
///@file ///@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 "eval-settings.hh"
#include "common-eval-args.hh" #include "common-eval-args.hh"
#include "shared.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 #pragma once
///@file ///@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 "editor-for.hh"
#include "environment-variables.hh" #include "environment-variables.hh"
#include "source-path.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 #pragma once
///@file ///@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 "globals.hh"
#include "installable-attr-path.hh" #include "installable-attr-path.hh"
#include "outputs-spec.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 #pragma once
///@file ///@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 "installable-derived-path.hh"
#include "derivations.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 #pragma once
///@file ///@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 "globals.hh"
#include "installable-flake.hh" #include "installable-flake.hh"
#include "installable-derived-path.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 #pragma once
///@file ///@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 "installable-value.hh"
#include "eval-cache.hh" #include "eval-cache.hh"
#include "fetch-to-store.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 #pragma once
///@file ///@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 "globals.hh"
#include "installables.hh" #include "installables.hh"
#include "installable-derived-path.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 #pragma once
///@file ///@file

View file

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

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
//
// SPDX-License-Identifier: LGPL-2.1-only
#pragma once #pragma once
///@file ///@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 "markdown.hh"
#include "error.hh" #include "error.hh"
#include "finally.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 #pragma once
///@file ///@file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
libcmd_sources = files( libcmd_sources = files(
'built-path.cc', 'built-path.cc',
'cmd-profiles.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 "error.hh"
#include "file-system.hh" #include "file-system.hh"
#include "logging.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 #pragma once
/// @file /// @file

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Nix and Lix Authors
#
# SPDX-License-Identifier: LGPL-2.1-only
info: initial: functions: info: initial: functions:
let let
final = builtins.foldl' (prev: function: prev // (function info final prev)) initial functions; 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 <cstdio>
#include <editline.h> #include <editline.h>
#include <iostream> #include <iostream>

View file

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