Commit Graph

10 Commits

Author SHA1 Message Date
oxalica
305d3b088e flake: impl builder interface lib.mkRustBin
This allows construction of `rust-bin` attrset on an existing `pkgs`,
instead of staging another overlayed nixpkgs. This can reduce redundant
evaluation of nixpkgs for flake-heavy users who also don't like or
cannot (due to flake dependency hell) manually instantiate nixpkgs.
2024-06-03 04:51:55 -04:00
oxalica
92089b75db *: refactor and bubble up self-dependencies from final/self
Clean up entangled self-references and make inputs explicit through
arguments.
2024-06-03 04:51:55 -04:00
oxalica
37a2fe6c74 *: move internal files into lib subdir
They are not part of our public interfaces and must not be imported
alone.
2024-06-03 01:55:02 -04:00
oxalica
b79de030a6 Revert "Rework flake and overlay structures" due to downstream breakage
This reverts commit cf102ae729, reversing
changes made to ffe47b9007.

Nix doesn't allow a dependent flake to have relative inputs.
```
error: cannot fetch input 'path:./systems.nix?lastModified=1&narHash=sh
a256-cyfZqnwhPNzdfQnmUUUVK5fon88TSm/0CwgE7Lf%2BLDU%3D' because it uses a relat
ive path
```

Closes #125
2023-04-18 02:35:16 +08:00
oxalica
e8f9903cb9 overlay: split overlay interface from utility functions 2023-04-18 00:29:46 +08:00
oxalica
4c09255aeb
Provide rust-bin and clean-up 2021-01-02 20:42:57 +08:00
oxalica
91b5c82bd8
Move 2021-01-02 20:39:46 +08:00
oxalica
43fa470721
Add nightly support 2021-01-02 02:03:38 +08:00
oxalica
488822942d
Add stable toolchains down to 1.29.0 2021-01-01 22:42:15 +08:00
oxalica
815fa068bc
Init 2021-01-01 20:16:46 +08:00