> Any comments? It's not that good .. because you have to mention the flags for configuring and dependencies even if it's just [].
{ flags = { withX = { configure = "--with-X"; deps = ["libX"] }; mandatory = [ ... ] would be better because you can sepecify configure flags and dependencies at once.. or even shorter (everything starting with "-" is a configure flag withX = ["--with-X" "libX" ] ; But we can't implement a does string start with "-" function yet, can we? We'd need either some kind of substring, beeing able to use __head on stirngs or kind of matchstr (vim) which matches a regulare expression '^.' would get the first character.. Marc _______________________________________________ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev