forked from lix-project/lix
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:
parent
fa92f41a18
commit
f76b2961e7
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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 {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@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',
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
/// @file
|
/// @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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2024 Nix and Lix Authors
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: LGPL-2.1-only
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
///@file
|
///@file
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue