-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Weber wrote: > a) > If we start discussion about this le'ts don't forget windows ntfs > filesystems.. Can it store symlinks as well? I know we're using cygwin > already ... (Just another point to think about (?) )
NTFS technically can store symlinks. Is there a sane tool for creating them is unclear. Maybe there is a sysinternals one. Cygwin uses a umsdos-like workaround that works even on FAT. > b) > I can imagine having symlinks on file level.. However I can't imagine > having it on function level.. So how should it look like? In all-packages.nix you use real file name only. I suppose that these symlinks should be there to help find the place you are looking for. once you decided where your package "physically" goes, you just put it there and write the path in all-packages.nix. > all-packages.nix: > > foo = (either (import pkgs_new/http/apache) # symlink > (import pkgs_new/app-admin/apache) # real file > (import pkgs_new/daemons/apache) # symlinks > (import pkgs_new/servers/apache) ) # symlink > ? > > I've abused the syntax here.. But I think you get the point > > Michael Raskin can you tell me a bit more how you imagine that? > I don't like duplication at all. Before introducing multiple files > (unecessary redundancy) I'd vote for a better system to find the > packages and tell people to not care about where to put packages. In my opinion there will not be any redundancy for you if you want to ignore pkgtags/ directory alongside pkgs. Those who want to use it would find some - probably redundant - symlinks that will help them to understand what in nixpkgs structure corresponds to things they expect. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJjoxMAAoJEE6tnN0aWvw3Q5gH/RcBBLWl4dXLgCsefB4HjCQv HDQRu3SVMRW9AbpxeiKcP4RLdjSOYzSyPnGDXCMdpTuR4n+wEI0PCJW9ewHNXIop XEeoIFzMDl2GuXaEWT4UeNb78odM6IZv8fTxfa80HO/ee1gYmmgita90ck0PpY9b KxbHzEg5f4cmd75zTfEf57joRBL2gVl5FIY7BcFJTauz6sor5GloaLPPu4SLoEGt fCIVXIXOS76ZQ5J6Md4mc27h7AOVrsqPPq4QzNL1etKeTGJZWMP8vOSb7RD1NpwH qQt8jB/XnYPwKnou5zRjoQxtMrl+jhxMhtUKdwEHGr1uoH2yszxAVHRI0THSDcc= =VdDC -----END PGP SIGNATURE----- _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
