diff options
Diffstat (limited to 'nixpkgs/pkgs/development/interpreters/racket/minimal.nix')
-rw-r--r-- | nixpkgs/pkgs/development/interpreters/racket/minimal.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/interpreters/racket/minimal.nix b/nixpkgs/pkgs/development/interpreters/racket/minimal.nix new file mode 100644 index 000000000000..02aed6e8929c --- /dev/null +++ b/nixpkgs/pkgs/development/interpreters/racket/minimal.nix @@ -0,0 +1,20 @@ +{ racket +}: + +racket.overrideAttrs (oldAttrs: rec { + name = "racket-minimal-${oldAttrs.version}"; + src = oldAttrs.src.override { + inherit name; + sha256 = "0bbglf9vfacpm2hn3lskhvc8cpg6z088fbnzpqsn17z8qdk8yvb3"; + }; + + 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" ]; + broken = false; # Minimal build does not require working FFI + }; +}) |