1 2 3 4 5 6
with import <nixpkgs> {}; { env = stdenv.mkDerivation { name = "env"; buildInputs = [ emacs ]; }; }