nixUnstable.perlBindings: Fix Nix::Config generation
The configure script calls nix-instantiate, which fails if /nix/var doesn't exist (e.g. in a sandbox). This caused a bogus Nix::Config module to be generated, causing issues in Hydra.
This commit is contained in:
parent
61e5763694
commit
20d846bcdd
@ -116,9 +116,10 @@ let
|
|||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-dbi=${perlPackages.DBI}/${perl.libPrefix}"
|
[ "--with-dbi=${perlPackages.DBI}/${perl.libPrefix}"
|
||||||
"--with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}"
|
"--with-dbd-sqlite=${perlPackages.DBDSQLite}/${perl.libPrefix}"
|
||||||
"--with-www-curl=${perlPackages.WWWCurl}/${perl.libPrefix}"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preConfigure = "export NIX_STATE_DIR=$TMPDIR";
|
||||||
|
|
||||||
preBuild = "unset NIX_INDENT_MAKE";
|
preBuild = "unset NIX_INDENT_MAKE";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user