Nix: Get rid of the Perl dependency

$3,500 of $3,500 goal

Raised by 54 people in 43 months
Motivation

The goal is to get rid of Perl as runtime dependency for Nix package manager.

This will have many implications:

- reduce closure size of Nix by 50 MB
- Nix will be written only in C++ (and some bash)
- better cross-platform (cross compile) support

Level of effort

The work consists of converting each of the scripts in the scripts/ directory (except the shell scripts, nix-http-export, nix-reduce-build, and show-duplication) into standalone c++ programs.

It may be natural to add some stuff to core Nix libraries as part of that.

If necessary for external projects (e.g. hydra) the nix/perl directory can be kept there and built as a separate package.

Note: Manifests (preceeding binary caches) and binary patching (depends on manifests) won't be ported as part of this effort. The feature will be dropped.

Developer: Shea Levy

Shea is a core contributor to NixOS ecosystem in general. He is also second top contribor to Nix (by number of commits).

Shea is going to implement this proposal if we meet the funding goal.
+ Read More
As of today, Perl has been removed as a dependency to Nix: https://github.com/NixOS/nix/commit/915f62fa19790d8f826aeb4dd3d2bb5bde2f67e9

Thank you all for taking part of this!
+ Read More
Dear supporter,

exactly a year has passed since your contribution the removal of Perl from Nix.

Shea Levy has done an amazing job. It took many iterations with Eelco Dolstra's carefulness (which we greatly appreciate).

There are three outstanding Pull Requests: https://github.com/NixOS/nix/pulls?q=is%3Apr+milestone%3Aperl-to-c%2B%2B+is%3Aopen

Once Eelco Dolstra decides what's the best way to keep backwards compatibility in remote building, Nix will be able to run without Perl.

PS: There is another campaign to fund research of adding static typing to Nix: https://www.gofundme.com/typing-nix

Domen

+ Read More
Thanks to all 54 contributions <3 We have funded this work in only 20 days.

You can follow the progress at https://github.com/NixOS/nix/issues/341 as Shea Levy will tackle Perl one step at the time.

+ Read More
Read a Previous Update
Be the first to leave a comment on this campaign.

$3,500 of $3,500 goal

Raised by 54 people in 43 months
Created January 9, 2016
Your share could be bringing in donations. Sign in to track your impact.
   Connect
We will never post without your permission.
In the future, we'll let you know if your sharing brings in any donations.
We weren't able to connect your Facebook account. Please try again later.
JS
$68
Jozko Skrablin
43 months ago
$42
Tuomas Tynkkynen
43 months ago
SM
$10
Sergey Mironov
43 months ago

Good luck

BA
$100
Badi' Abdul-Wahid
43 months ago
$50
Anonymous
43 months ago
OB
$10
Ole Jørgen Brønner
43 months ago
$100
Charles Strahan
43 months ago
$50
Anonymous
43 months ago
$50
Anonymous
43 months ago
OC
$100
Oliver Charles
43 months ago
Be the first to leave a comment on this campaign.
or
Use My Email Address
By continuing, you agree with the GoFundMe
terms and privacy policy
There's an issue with this Campaign Organizer's account. Our team has contacted them with the solution! Please ask them to sign in to GoFundMe and check their account. Return to Campaign

Are you ready for the next step?
Even a $5 donation can help!
Donate Now Not now
Connect on Facebook to keep track of how many donations your share brings.
We will never post on Facebook without your permission.