mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +02:00
Support building with the Perl XS bindings disabled
Since the Perl bindings require shared libraries, this is required on platforms such as Cygwin where we do a static build.
This commit is contained in:
parent
6a7b24a3f2
commit
4f7bab7db1
5 changed files with 92 additions and 12 deletions
|
@ -10,6 +10,8 @@ $confDir = $ENV{"NIX_CONF_DIR"} || "@sysconfdir@/nix";
|
|||
$bzip2 = $ENV{"NIX_BZIP2"} || "@bzip2@";
|
||||
$curl = "@curl@";
|
||||
|
||||
$useBindings = "@perlbindings@" eq "yes";
|
||||
|
||||
sub readConfig {
|
||||
my %config;
|
||||
my $config = "@sysconfdir@/nix/nix.conf";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue