nix-repl: Remove

This package is obsolete.
This commit is contained in:
Eelco Dolstra 2018-08-10 21:48:47 +02:00
parent f1c978aca0
commit 490ca6aa8a
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
2 changed files with 0 additions and 38 deletions

View File

@ -1,36 +0,0 @@
{ lib, stdenv, fetchFromGitHub, nix, readline }:
let rev = "a1ea85e92b067a0a42354a28355c633eac7be65c"; in
stdenv.mkDerivation {
name = "nix-repl-${lib.getVersion nix}-2016-02-28";
src = fetchFromGitHub {
owner = "edolstra";
repo = "nix-repl";
inherit rev;
sha256 = "0rf9711day64lgg6g6yqc5709x4sgj137zpqyn019k764i7m2xs8";
};
buildInputs = [ nix readline ];
dontBuild = true;
# FIXME: unfortunate cut&paste.
installPhase = ''
mkdir -p $out/bin
$CXX -O3 -Wall -std=c++0x \
-o $out/bin/nix-repl nix-repl.cc \
-I${nix.dev}/include/nix \
-lnixformat -lnixutil -lnixstore -lnixexpr -lnixmain -lreadline -lgc \
-DNIX_VERSION=\"${(builtins.parseDrvName nix.name).version}\"
'';
meta = {
homepage = https://github.com/edolstra/nix-repl;
description = "An interactive environment for evaluating and building Nix expressions";
maintainers = [ lib.maintainers.eelco ];
license = lib.licenses.gpl3;
platforms = nix.meta.platforms;
};
}

View File

@ -21419,8 +21419,6 @@ with pkgs;
nix-top = callPackage ../tools/package-management/nix-top { }; nix-top = callPackage ../tools/package-management/nix-top { };
nix-repl = callPackage ../tools/package-management/nix-repl { nix = nix1; };
nix-review = callPackage ../tools/package-management/nix-review { }; nix-review = callPackage ../tools/package-management/nix-review { };
nix-serve = callPackage ../tools/package-management/nix-serve { }; nix-serve = callPackage ../tools/package-management/nix-serve { };