From c6c1a430ffe436045360e358be00d67033ac0c42 Mon Sep 17 00:00:00 2001 From: DavHau Date: Wed, 25 Oct 2023 00:00:35 +0100 Subject: [PATCH] lib: move to /modules/flake-parts/lib --- lib/internal | 1 + lib/types | 1 + modules/flake-parts/{lib.nix => lib/default.nix} | 0 {lib => modules/flake-parts/lib}/internal/dreamLockUtils.nix | 0 .../flake-parts/lib}/internal/fetchDreamLockSources.nix | 0 .../flake-parts/lib}/internal/fetchers/archive/default.nix | 0 .../flake-parts/lib}/internal/fetchers/crates-io/default.nix | 0 .../flake-parts/lib}/internal/fetchers/extractSource.nix | 0 .../flake-parts/lib}/internal/fetchers/git/default.nix | 0 .../flake-parts/lib}/internal/fetchers/github/default.nix | 0 .../flake-parts/lib}/internal/fetchers/gitlab/default.nix | 0 .../flake-parts/lib}/internal/fetchers/http/default.nix | 0 .../flake-parts/lib}/internal/fetchers/npm/default.nix | 0 .../flake-parts/lib}/internal/fetchers/path/default.nix | 0 .../flake-parts/lib}/internal/fetchers/pypi-sdist/default.nix | 0 .../flake-parts/lib}/internal/fetchers/pypi-wheel/default.nix | 0 {lib => modules/flake-parts/lib}/internal/findCycles.nix | 0 {lib => modules/flake-parts/lib}/internal/getDreamLockSource.nix | 0 {lib => modules/flake-parts/lib}/internal/graphUtils.nix | 0 {lib => modules/flake-parts/lib}/internal/hashFile.nix | 0 {lib => modules/flake-parts/lib}/internal/hashPath.nix | 0 {lib => modules/flake-parts/lib}/internal/nodejsLockUtils.nix | 0 {lib => modules/flake-parts/lib}/internal/nodejsUtils.nix | 0 {lib => modules/flake-parts/lib}/internal/parseSpdxId.nix | 0 {lib => modules/flake-parts/lib}/internal/php-semver.nix | 0 {lib => modules/flake-parts/lib}/internal/prepareSourceTree.nix | 0 {lib => modules/flake-parts/lib}/internal/python/selectWheel.nix | 0 {lib => modules/flake-parts/lib}/internal/readDreamLock.nix | 0 {lib => modules/flake-parts/lib}/internal/sanitizePath.nix | 0 .../flake-parts/lib}/internal/sanitizeRelativePath.nix | 0 {lib => modules/flake-parts/lib}/internal/simpleTranslate.nix | 0 {lib => modules/flake-parts/lib}/internal/simpleTranslate2.nix | 0 {lib => modules/flake-parts/lib}/internal/toTOML.nix | 0 {lib => modules/flake-parts/lib}/types/default.nix | 0 34 files changed, 2 insertions(+) create mode 120000 lib/internal create mode 120000 lib/types rename modules/flake-parts/{lib.nix => lib/default.nix} (100%) rename {lib => modules/flake-parts/lib}/internal/dreamLockUtils.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchDreamLockSources.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/archive/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/crates-io/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/extractSource.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/git/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/github/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/gitlab/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/http/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/npm/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/path/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/pypi-sdist/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/fetchers/pypi-wheel/default.nix (100%) rename {lib => modules/flake-parts/lib}/internal/findCycles.nix (100%) rename {lib => modules/flake-parts/lib}/internal/getDreamLockSource.nix (100%) rename {lib => modules/flake-parts/lib}/internal/graphUtils.nix (100%) rename {lib => modules/flake-parts/lib}/internal/hashFile.nix (100%) rename {lib => modules/flake-parts/lib}/internal/hashPath.nix (100%) rename {lib => modules/flake-parts/lib}/internal/nodejsLockUtils.nix (100%) rename {lib => modules/flake-parts/lib}/internal/nodejsUtils.nix (100%) rename {lib => modules/flake-parts/lib}/internal/parseSpdxId.nix (100%) rename {lib => modules/flake-parts/lib}/internal/php-semver.nix (100%) rename {lib => modules/flake-parts/lib}/internal/prepareSourceTree.nix (100%) rename {lib => modules/flake-parts/lib}/internal/python/selectWheel.nix (100%) rename {lib => modules/flake-parts/lib}/internal/readDreamLock.nix (100%) rename {lib => modules/flake-parts/lib}/internal/sanitizePath.nix (100%) rename {lib => modules/flake-parts/lib}/internal/sanitizeRelativePath.nix (100%) rename {lib => modules/flake-parts/lib}/internal/simpleTranslate.nix (100%) rename {lib => modules/flake-parts/lib}/internal/simpleTranslate2.nix (100%) rename {lib => modules/flake-parts/lib}/internal/toTOML.nix (100%) rename {lib => modules/flake-parts/lib}/types/default.nix (100%) diff --git a/lib/internal b/lib/internal new file mode 120000 index 00000000..d3bd0462 --- /dev/null +++ b/lib/internal @@ -0,0 +1 @@ +../modules/flake-parts/lib/internal \ No newline at end of file diff --git a/lib/types b/lib/types new file mode 120000 index 00000000..6bf4095b --- /dev/null +++ b/lib/types @@ -0,0 +1 @@ +../modules/flake-parts/lib/types/ \ No newline at end of file diff --git a/modules/flake-parts/lib.nix b/modules/flake-parts/lib/default.nix similarity index 100% rename from modules/flake-parts/lib.nix rename to modules/flake-parts/lib/default.nix diff --git a/lib/internal/dreamLockUtils.nix b/modules/flake-parts/lib/internal/dreamLockUtils.nix similarity index 100% rename from lib/internal/dreamLockUtils.nix rename to modules/flake-parts/lib/internal/dreamLockUtils.nix diff --git a/lib/internal/fetchDreamLockSources.nix b/modules/flake-parts/lib/internal/fetchDreamLockSources.nix similarity index 100% rename from lib/internal/fetchDreamLockSources.nix rename to modules/flake-parts/lib/internal/fetchDreamLockSources.nix diff --git a/lib/internal/fetchers/archive/default.nix b/modules/flake-parts/lib/internal/fetchers/archive/default.nix similarity index 100% rename from lib/internal/fetchers/archive/default.nix rename to modules/flake-parts/lib/internal/fetchers/archive/default.nix diff --git a/lib/internal/fetchers/crates-io/default.nix b/modules/flake-parts/lib/internal/fetchers/crates-io/default.nix similarity index 100% rename from lib/internal/fetchers/crates-io/default.nix rename to modules/flake-parts/lib/internal/fetchers/crates-io/default.nix diff --git a/lib/internal/fetchers/extractSource.nix b/modules/flake-parts/lib/internal/fetchers/extractSource.nix similarity index 100% rename from lib/internal/fetchers/extractSource.nix rename to modules/flake-parts/lib/internal/fetchers/extractSource.nix diff --git a/lib/internal/fetchers/git/default.nix b/modules/flake-parts/lib/internal/fetchers/git/default.nix similarity index 100% rename from lib/internal/fetchers/git/default.nix rename to modules/flake-parts/lib/internal/fetchers/git/default.nix diff --git a/lib/internal/fetchers/github/default.nix b/modules/flake-parts/lib/internal/fetchers/github/default.nix similarity index 100% rename from lib/internal/fetchers/github/default.nix rename to modules/flake-parts/lib/internal/fetchers/github/default.nix diff --git a/lib/internal/fetchers/gitlab/default.nix b/modules/flake-parts/lib/internal/fetchers/gitlab/default.nix similarity index 100% rename from lib/internal/fetchers/gitlab/default.nix rename to modules/flake-parts/lib/internal/fetchers/gitlab/default.nix diff --git a/lib/internal/fetchers/http/default.nix b/modules/flake-parts/lib/internal/fetchers/http/default.nix similarity index 100% rename from lib/internal/fetchers/http/default.nix rename to modules/flake-parts/lib/internal/fetchers/http/default.nix diff --git a/lib/internal/fetchers/npm/default.nix b/modules/flake-parts/lib/internal/fetchers/npm/default.nix similarity index 100% rename from lib/internal/fetchers/npm/default.nix rename to modules/flake-parts/lib/internal/fetchers/npm/default.nix diff --git a/lib/internal/fetchers/path/default.nix b/modules/flake-parts/lib/internal/fetchers/path/default.nix similarity index 100% rename from lib/internal/fetchers/path/default.nix rename to modules/flake-parts/lib/internal/fetchers/path/default.nix diff --git a/lib/internal/fetchers/pypi-sdist/default.nix b/modules/flake-parts/lib/internal/fetchers/pypi-sdist/default.nix similarity index 100% rename from lib/internal/fetchers/pypi-sdist/default.nix rename to modules/flake-parts/lib/internal/fetchers/pypi-sdist/default.nix diff --git a/lib/internal/fetchers/pypi-wheel/default.nix b/modules/flake-parts/lib/internal/fetchers/pypi-wheel/default.nix similarity index 100% rename from lib/internal/fetchers/pypi-wheel/default.nix rename to modules/flake-parts/lib/internal/fetchers/pypi-wheel/default.nix diff --git a/lib/internal/findCycles.nix b/modules/flake-parts/lib/internal/findCycles.nix similarity index 100% rename from lib/internal/findCycles.nix rename to modules/flake-parts/lib/internal/findCycles.nix diff --git a/lib/internal/getDreamLockSource.nix b/modules/flake-parts/lib/internal/getDreamLockSource.nix similarity index 100% rename from lib/internal/getDreamLockSource.nix rename to modules/flake-parts/lib/internal/getDreamLockSource.nix diff --git a/lib/internal/graphUtils.nix b/modules/flake-parts/lib/internal/graphUtils.nix similarity index 100% rename from lib/internal/graphUtils.nix rename to modules/flake-parts/lib/internal/graphUtils.nix diff --git a/lib/internal/hashFile.nix b/modules/flake-parts/lib/internal/hashFile.nix similarity index 100% rename from lib/internal/hashFile.nix rename to modules/flake-parts/lib/internal/hashFile.nix diff --git a/lib/internal/hashPath.nix b/modules/flake-parts/lib/internal/hashPath.nix similarity index 100% rename from lib/internal/hashPath.nix rename to modules/flake-parts/lib/internal/hashPath.nix diff --git a/lib/internal/nodejsLockUtils.nix b/modules/flake-parts/lib/internal/nodejsLockUtils.nix similarity index 100% rename from lib/internal/nodejsLockUtils.nix rename to modules/flake-parts/lib/internal/nodejsLockUtils.nix diff --git a/lib/internal/nodejsUtils.nix b/modules/flake-parts/lib/internal/nodejsUtils.nix similarity index 100% rename from lib/internal/nodejsUtils.nix rename to modules/flake-parts/lib/internal/nodejsUtils.nix diff --git a/lib/internal/parseSpdxId.nix b/modules/flake-parts/lib/internal/parseSpdxId.nix similarity index 100% rename from lib/internal/parseSpdxId.nix rename to modules/flake-parts/lib/internal/parseSpdxId.nix diff --git a/lib/internal/php-semver.nix b/modules/flake-parts/lib/internal/php-semver.nix similarity index 100% rename from lib/internal/php-semver.nix rename to modules/flake-parts/lib/internal/php-semver.nix diff --git a/lib/internal/prepareSourceTree.nix b/modules/flake-parts/lib/internal/prepareSourceTree.nix similarity index 100% rename from lib/internal/prepareSourceTree.nix rename to modules/flake-parts/lib/internal/prepareSourceTree.nix diff --git a/lib/internal/python/selectWheel.nix b/modules/flake-parts/lib/internal/python/selectWheel.nix similarity index 100% rename from lib/internal/python/selectWheel.nix rename to modules/flake-parts/lib/internal/python/selectWheel.nix diff --git a/lib/internal/readDreamLock.nix b/modules/flake-parts/lib/internal/readDreamLock.nix similarity index 100% rename from lib/internal/readDreamLock.nix rename to modules/flake-parts/lib/internal/readDreamLock.nix diff --git a/lib/internal/sanitizePath.nix b/modules/flake-parts/lib/internal/sanitizePath.nix similarity index 100% rename from lib/internal/sanitizePath.nix rename to modules/flake-parts/lib/internal/sanitizePath.nix diff --git a/lib/internal/sanitizeRelativePath.nix b/modules/flake-parts/lib/internal/sanitizeRelativePath.nix similarity index 100% rename from lib/internal/sanitizeRelativePath.nix rename to modules/flake-parts/lib/internal/sanitizeRelativePath.nix diff --git a/lib/internal/simpleTranslate.nix b/modules/flake-parts/lib/internal/simpleTranslate.nix similarity index 100% rename from lib/internal/simpleTranslate.nix rename to modules/flake-parts/lib/internal/simpleTranslate.nix diff --git a/lib/internal/simpleTranslate2.nix b/modules/flake-parts/lib/internal/simpleTranslate2.nix similarity index 100% rename from lib/internal/simpleTranslate2.nix rename to modules/flake-parts/lib/internal/simpleTranslate2.nix diff --git a/lib/internal/toTOML.nix b/modules/flake-parts/lib/internal/toTOML.nix similarity index 100% rename from lib/internal/toTOML.nix rename to modules/flake-parts/lib/internal/toTOML.nix diff --git a/lib/types/default.nix b/modules/flake-parts/lib/types/default.nix similarity index 100% rename from lib/types/default.nix rename to modules/flake-parts/lib/types/default.nix