mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-12 15:53:11 +00:00
Simplify code
This commit is contained in:
parent
c4d43b0277
commit
817f064ec6
2 changed files with 5 additions and 14 deletions
14
default.nix
14
default.nix
|
|
@ -10,8 +10,10 @@ let
|
|||
inherit system;
|
||||
overlays = [ (import rust-overlay) ];
|
||||
};
|
||||
|
||||
common = {
|
||||
in
|
||||
{
|
||||
app = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "lychee";
|
||||
version = "0.17.0";
|
||||
src = ./.;
|
||||
|
||||
|
|
@ -36,12 +38,4 @@ let
|
|||
"--skip=collector::tests::test_url_without_extension_is_html"
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
app = pkgs.rustPlatform.buildRustPackage (
|
||||
common
|
||||
// {
|
||||
pname = "lychee";
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,10 +59,7 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
default = pkgs.symlinkJoin {
|
||||
name = "all";
|
||||
paths = with code; [ app ];
|
||||
};
|
||||
default = code.app;
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue