You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build the nix-1.3 tools in NIX. Have you done this before? It seems the makefile tries to change permissions on /nix/var/nix/db, which of course it is not allowed to do. There may be multiple versions of nix in nix, none should be trying to alter global paths of course.
Perhaps there is a --build-in-nix configure flag. I tried --with-store-dir=$out/store, but that didn't help.
I fixed this by patching the makefile so install-data-local target was not run by make install. Not the prettiest fix. Is there a cleaner way?
Perfect. Found this myself actually, sorry for not updating the ticket.
I did sed the Makefile to add big-I include paths to perlFlags to point to perl-DBD and perl-DBI modules in NIX. Works great, the shebang is very long and just what I want.
Perl is much better than Python for parsing the shebang args.
Activity
edolstra commentedon Feb 26, 2013
See pkgs/tools/package-management/nix/default.nix in Nixpkgs. You should use the --disable-init-state flag.
federicosacerdoti commentedon Feb 26, 2013
Perfect. Found this myself actually, sorry for not updating the ticket.
I did sed the Makefile to add big-I include paths to perlFlags to point to perl-DBD and perl-DBI modules in NIX. Works great, the shebang is very long and just what I want.
Perl is much better than Python for parsing the shebang args.
Thanks
FDS
Sent from my iPhone
On Feb 26, 2013, at 7:13 AM, Eelco Dolstra [email protected] wrote:
Merge pull request NixOS#95 from nix-dot-dev/dependabot/pip/livereloa…
Merge pull request NixOS#95 from alyssais/NIX_PATH
nix: extract LegacyEvalArgs base for legacy CLI entry points
nix: extract LegacyEvalArgs base for legacy CLI entry points
doc/inventory: Batch B — strike off doc-branch corrections
nix: extract LegacyEvalArgs base for legacy CLI entry points
doc/inventory: foundation batch 2 outcome — NixOS#216 landed, NixOS#255…