mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-18 19:10:31 +08:00
Port over all git relevant parts of the radicle-link repository[0]. The packages that are kept are: * git-ext * git-ref-format * git-trailers * link-git * macros * std-ext * test -- only the portions that test the above The development and testing scripts are also added for local and CI testing. [0]: https://github.com/radicle-dev/radicle-link/ Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
23 lines
469 B
Nix
23 lines
469 B
Nix
{ sources ? import ./nix/sources.nix
|
|
, pkgs ? import sources.nixpkgs {
|
|
overlays = [ (import sources.rust-overlay) ];
|
|
}
|
|
}:
|
|
let
|
|
stable = pkgs.rust-bin.stable.latest.default;
|
|
rust-overlay = stable.override {
|
|
extensions = [ "rust-src" "rust-analysis" ];
|
|
};
|
|
devault = (pkgs.callPackage ./default.nix {});
|
|
in
|
|
with pkgs;
|
|
mkShell {
|
|
name = "development";
|
|
buildInputs = devault.buildInputs ++ [
|
|
clang
|
|
lld
|
|
|
|
ripgrep
|
|
];
|
|
}
|