Hello.
I am now migrating to NixOS. I have already written some Nix expressions
  for software not included/included with minimal options.. So I want to
hear what to correct in attached lsof expression in order to get it
merged. It has the simplest nix-part, non-standard builder part and is
the most critical of my hand-installed packages.

Thanks for paying attention.
        Raskin Michael.


PS. Sorry for first posting from wrong address..
source $stdenv/setup || exit 1

set -e 

tar xvjf $src
cd lsof_*
tar xvf lsof_*.tar
cd lsof_*
./Configure -n linux
make
mkdir -p $out/bin $out/man/man8
cp lsof.8 $out/man/man8/
cp lsof $out/bin

pkgs:
pkgs.stdenv.mkDerivation {
  name = "lsof";

  src = pkgs.fetchurl {
    url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.78.tar.bz2;
    md5 = "00360ce2b62de3015fa7e0f8f92179a8";
  };
 
  builder=./builder.sh;

  buildInputs = [];
}

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to