forked from mirrors/nixpkgs
fdbc744856
Technically, racket compiles and packages too, but it doesn't pass all tests yet, so the build fails. gcc7Stdenv is GCC 7 with the MacOS-specific adaptations retained. Building on MacOS with that works, but we should be using clang. I'm hoping that the next person wanting to override the compiler version in some other derivation sees that attribute and doesn't inadvertently break a MacOS build again.
20 lines
598 B
Nix
20 lines
598 B
Nix
{ racket
|
|
}:
|
|
|
|
racket.overrideAttrs (oldAttrs: rec {
|
|
name = "racket-minimal-${oldAttrs.version}";
|
|
src = oldAttrs.src.override {
|
|
inherit name;
|
|
sha256 = "0c565jy2y3gjl5lncd5adjsrj8c24p4i062kphv26ni5q1nn5ip5";
|
|
};
|
|
|
|
meta = oldAttrs.meta // {
|
|
description = "Racket without bundled packages, such as Dr. Racket.";
|
|
longDescription = ''The essential package racket-libs is included,
|
|
as well as libraries that live in collections. In particular, raco
|
|
and the pkg library are still bundled.
|
|
'';
|
|
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
|
|
};
|
|
})
|