ref: 8c96aa052a1c592f008660729384c9a44988d248
parent: c0b8e8f30ce98acc52a8268dbb13744950d636e3
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jun 24 12:44:40 EDT 2018
Remove duplicated default.nix
--- a/default.nix
+++ /dev/null
@@ -1,25 +1,0 @@
-{ pkgs ? (import <nixpkgs> {})
-, stdenv ? pkgs.stdenv
-, bison ? pkgs.bison
-, binutils ? pkgs.binutils
-, fetchurl ? pkgs.fetchurl
-}:
-
-stdenv.mkDerivation rec {
- name = "myrddin";
-
- src = ./.;
-
- buildInputs = [ bison binutils ];
-
- preBuild = ''
- make bootstrap
- '';
-
- postPatch = ''
- substituteInPlace "mbld/opts.myr" --replace '"ld"' '"${binutils}/bin/ld"'
- substituteInPlace "configure" --replace '"ld"' '"${binutils}/bin/ld"'
- substituteInPlace "mbld/opts.myr" --replace '"as"' '"${binutils}/bin/as"'
- substituteInPlace "configure" --replace '"as"' '"${binutils}/bin/as"'
- '';
-}