nixpkgs/pkgs/applications/window-managers/compiz-fusion/default.nix
Yury G. Kudryashov 3896cd4a28 * 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/branches/stdenv-updates/; revision=9886
2007-12-08 01:09:00 +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;});
}