mirror of
https://github.com/oxalica/rust-overlay.git
synced 2025-10-06 00:02:40 +02:00
*: move internal files into lib
subdir
They are not part of our public interfaces and must not be imported alone.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
final: prev:
|
||||
(import ./rust-overlay.nix final) (prev // (import ./manifest.nix final prev))
|
||||
(import ./lib/rust-bin.nix final) (prev // (import ./lib/manifests.nix final prev))
|
||||
|
@@ -83,4 +83,4 @@ All public attributes provided by the overlay are below. Fields not defined here
|
||||
}
|
||||
```
|
||||
|
||||
For more details, see also the source code of [`rust-overlay.nix`](../rust-overlay.nix).
|
||||
For more details, see also the source code of [`lib/rust-bin.nix`](../lib/rust-bin.nix).
|
||||
|
@@ -5,9 +5,9 @@ let
|
||||
inherit (final.lib)
|
||||
attrNames concatMap elemAt filter hasAttr mapAttrs mapAttrs' removeSuffix;
|
||||
|
||||
targets = import ./manifests/targets.nix // { _ = "*"; };
|
||||
renamesList = import ./manifests/renames.nix;
|
||||
profilesList = import ./manifests/profiles.nix;
|
||||
targets = import ../manifests/targets.nix // { _ = "*"; };
|
||||
renamesList = import ../manifests/renames.nix;
|
||||
profilesList = import ../manifests/profiles.nix;
|
||||
|
||||
inherit (final.rust-bin) distRoot;
|
||||
|
||||
@@ -117,9 +117,9 @@ in {
|
||||
|
||||
# For internal usage.
|
||||
manifests = {
|
||||
stable = uncompressManifestSet "stable" (import ./manifests/stable);
|
||||
beta = uncompressManifestSet "beta" (import ./manifests/beta);
|
||||
nightly = uncompressManifestSet "nightly" (import ./manifests/nightly);
|
||||
stable = uncompressManifestSet "stable" (import ../manifests/stable);
|
||||
beta = uncompressManifestSet "beta" (import ../manifests/beta);
|
||||
nightly = uncompressManifestSet "nightly" (import ../manifests/nightly);
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user