We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ lib, writeText, stdenv, ldc }: stdenv.mkDerivation { name = "ldc-test"; src = writeText "test.d" '' module test; import std.stdio; void main() { writeln("Hello, world!"); } ''; dontUnpack = true; buildInputs = [ ldc ]; buildPhase = '' ldc2 -of=test $src ''; installPhase = '' mkdir -p $out/bin mv test $out/bin ''; }
Building and getting the closure size gives us a number around 1.3 GiB:
$ nix --extra-experimental-features nix-command path-info -S $(nix-build --no-out-link -E '(import <nixpkgs> {}).callPackage ./package.nix {}') /nix/store/fqlm6ailjq09shqrgrbhf4ll391n5mx8-ldc-test 1395772728
Graph:
It looks like there are some things there which might not need to be there, such as:
CC @ThomasMader @lionello @jtbx
"x86_64-linux"
Linux 6.6.34, NixOS, 24.11 (Vicuna), 24.11pre641786.d603719ec6e2
yes
nix-env (Nix) 2.18.2
/nix/store/ksj02zhy7qc4dmqi8g2ga8p9hj5173dv-nixpkgs-patched
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered:
Also see #111475 "dmd keeps references to boostrap compiler" and PR #111525 which had fixes for dmd
dmd
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Building and getting the closure size gives us a number around 1.3 GiB:
Graph:
It looks like there are some things there which might not need to be there, such as:
Notify maintainers
CC @ThomasMader @lionello @jtbx
Metadata
"x86_64-linux"
Linux 6.6.34, NixOS, 24.11 (Vicuna), 24.11pre641786.d603719ec6e2
yes
yes
nix-env (Nix) 2.18.2
/nix/store/ksj02zhy7qc4dmqi8g2ga8p9hj5173dv-nixpkgs-patched
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: