Re: [Nix-dev] warning if trying to install a package but it fails an assert.

2008-12-19 Thread Michael Raskin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maybe we should reverse the situation? Obviously, we should try to avoid building just what we need each time and always ending up with a bunch of near-identical builds. We can already have .passthru.function in any package

Re: [Nix-dev] warning if trying to install a package but it fails an assert.

2008-12-19 Thread Andres Loeh
Hi Michael, Obviously, we should try to avoid building just what we need each time and always ending up with a bunch of near-identical builds. I'm sorry, but this isn't obvious to me. Granted, if it can be avoided at no other cost, then yes, ok. But my priorities lie elsewhere. I want a

Re: [Nix-dev] warning if trying to install a package but it fails an assert.

2008-12-19 Thread Marc Weber
Independently of .passthru.function, this sounds like a good plan to me. You check your required flags against defaults. If they're met, you reuse the default. If they're not met, you adapt on the fly, but warn. Actually, it could be a global configuration setting to either be silent about

Re: [Nix-dev] warning if trying to install a package but it fails an assert.

2008-12-18 Thread Marc Weber
Hello @ll. I've been offline for 3days. Now I'm back.. :-) But there was no warning or message explaining what was going on. It would help me a lot next time I run into this if nix gave me a more detailed explanation of what happened. Any chance this could be added? Hi Erick,

Re: [Nix-dev] warning if trying to install a package but it fails an assert.

2008-12-18 Thread Andres Loeh
At the risk of sounding annoying: I don't want an error message. I want NixOS to automatically rebuild svn with perlBindings enabled. An error message is like manual tracking of dependencies: It doesn't work. First do this and try again. I'm reminded of situations with other package managers

Re: [Nix-dev] warning if trying to install a package but it fails an assert.

2008-12-16 Thread Andres Loeh
I left out setting the svn perl bindings: subversion = { perlBindings = true; }; This was tripping this assert in .../git/default.nix: assert svnSupport - (subversion != null perlLibs != [] subversion.perlBindings); But there was no warning or message explaining what was going