diff --git a/default.nix b/default.nix index 339325d..17708c6 100644 --- a/default.nix +++ b/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"; - } - ); } diff --git a/flake.nix b/flake.nix index f85cf75..3aac916 100644 --- a/flake.nix +++ b/flake.nix @@ -59,10 +59,7 @@ }; in { - default = pkgs.symlinkJoin { - name = "all"; - paths = with code; [ app ]; - }; + default = code.app; } ); };