nixpkgs/pkgs/applications/window-managers/compiz-fusion/default.nix
Eelco Dolstra c54b75c959 * Get rid of the `(import (__toPath ((toString
./JustNothing/.. )+"/"+args.version+".nix")))' hack, you can also just
  write `import (./path/to/pkg + "/${version}.nix)'.

svn path=/nixpkgs/trunk/; revision=9792
2007-11-26 13:24:56 +00:00

15 lines
761 B
Nix

args : with args;
rec
{
selectVersion = dir: import (dir + "/${args.version}.nix");
bcop = selectVersion ./bcop args;
libcompizconfig = selectVersion ./libcompizconfig (args // {inherit bcop;});
configBackendGConf = selectVersion ./config-backend (args // {inherit bcop libcompizconfig;});
compizConfigPython = selectVersion ./compizconfig-python (args // {inherit libcompizconfig
bcop pyrex configBackendGConf;});
ccsm = selectVersion ./ccsm (args // {inherit libcompizconfig bcop compizConfigPython configBackendGConf;});
pluginsMain = selectVersion ./main (args //{inherit bcop ;});
pluginsExtra = selectVersion ./extra (args //{inherit bcop pluginsMain;});
compizManager = selectVersion ./compiz-manager (args // {inherit bcop ccsm;});
}