Hi list, I wrote a bunch of bash scripts: http://gitorious.org/nixpkgs-dev-utilities
It contains 3 scripts: # this shows differing .drv files used to build both .drv files you have # to pass nixpkgs-dev-utils-diff-drvs # runs some santy checks on current directory - falling back to # /etc/nixo/nixpkgs. You can use it to sanity check your commits nixpkgs-dev-utils-nixpkgs-check # This let's you run a nix-instantiate command creating a .drv file # twice. Both .drv files will be compared. nixpkgs-dev-utils-rebuild-check The rebuild-check outputs this if you modify the make-wrapper.sh scripts.sh and ask it to evaluate openoffice by using the command "nix-instantiate -A openoffice -f $NIXPKGS/default.nix" /nix/store/rwrm809cwbfbg9p2cr75lic0wjh0v5vq-openoffice.org-3.2.0.drv /nix/store/n4r2vpg8hn7whx0ap0sdkwmdm88fn0v1-openoffice.org-3.2.0.drv 390 390 differ: xmlto-0.0.23.drv 418lfpf3lwl581sn3p5m4kgb4k0ic8vs 4nmj647hh8mkqdbpyf109h601k1vyjjr differ: ant-jdk-1.6.0_20.drv 8c1v2h7q75sp78z3vvkilfirnxdlq26l z7s9xzwjzxb73jdbg6vbhp67ygj0d4a3 differ: builder.sh n9d9y8jnfbk9apyq6r4w8npmy8wh01pi rwm702w2d6mg3jk4s316sbb2z1p7558a differ: libXtst-1.1.0.drv wxdl12i7ghajbw2lq4k5qkf1kyay3rif 9fkksr21m8bsmkcg473qdpngi67ia30n differ: hook.drv 1ms1c0i34nlkv7hrr8frlmyk3ark9sb6 gr84fxirbnm4v4pj26ih43rs1c402jv2 differ: jdk-1.6.0_20.drv ss8gh9cvxhrxbfrb6rl58dac9xk53wg7 zz7lrdv9jxh20f6cxrn9aq1wmmlkg1kr differ: libXi-1.3.drv 13xnik8k13mdpq1m8y688dl238ii9hw1 xkg0vhj1r9n8mq23gv8qgjdlmjjv9d5b differ: openoffice.org-3.2.0.drv rwrm809cwbfbg9p2cr75lic0wjh0v5vq n4r2vpg8hn7whx0ap0sdkwmdm88fn0v1 differ: make-wrapper.sh f7cvz47hky5nq0aq5kn81bpyq3j4djd7 dqr0i7ybhgs0kjgsf8y0mlbvwf80nmpy This script is meant to be used to figure out whether a less important fix should go to stdenv-updates or into trunk. I still don't know which packages to take care off when running this script ? What do you suggest? Can I ask nix-instantiate to evaluate all names found in an attr such as pkgs-all/release.nix ? Can you have a quick glance at them ? I'd like to add those scripts to nixpkgs one day. Of course if you belong to the nix-developer group you an commit to this repository. Marc Weber _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
