racket-minimal: init at 6.12.0 (same as racket)
Racket without the bundled packages, such as Mr Racket. 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.
This commit is contained in:
parent
ad78e52357
commit
435bceb69e
3 changed files with 18 additions and 2 deletions
|
@ -35,8 +35,13 @@ stdenv.mkDerivation rec {
|
|||
name = "racket-${version}";
|
||||
version = "6.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mirror.racket-lang.org/installers/${version}/${name}-src.tgz";
|
||||
src = (stdenv.lib.makeOverridable ({ name, sha256 }:
|
||||
fetchurl rec {
|
||||
url = "https://mirror.racket-lang.org/installers/${version}/${name}-src.tgz";
|
||||
inherit sha256;
|
||||
}
|
||||
)) {
|
||||
inherit name;
|
||||
sha256 = "0cwcypzjfl9py1s695mhqkiapff7c1w29llsmdj7qgn58wl0apk5";
|
||||
};
|
||||
|
||||
|
|
10
pkgs/development/interpreters/racket/minimal.nix
Normal file
10
pkgs/development/interpreters/racket/minimal.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ racket
|
||||
}:
|
||||
|
||||
racket.overrideAttrs (oldAttrs: rec {
|
||||
name = "racket-minimal-${oldAttrs.version}";
|
||||
src = oldAttrs.src.override {
|
||||
inherit name;
|
||||
sha256 = "0c565jy2y3gjl5lncd5adjsrj8c24p4i062kphv26ni5q1nn5ip5";
|
||||
};
|
||||
})
|
|
@ -7015,6 +7015,7 @@ with pkgs;
|
|||
# https://github.com/NixOS/nixpkgs/pull/31017#issuecomment-343574769
|
||||
stdenv = overrideCC stdenv gcc7;
|
||||
};
|
||||
racket-minimal = callPackage ../development/interpreters/racket/minimal.nix { };
|
||||
|
||||
rakudo = callPackage ../development/interpreters/rakudo {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
|
||||
|
|
Loading…
Reference in a new issue