Use installPhase instead of builder for BSOD
This commit is contained in:
parent
182f0dfe5e
commit
584ff70a16
@ -1,8 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
tar xvfz $src
|
|
||||||
cd bsod-*
|
|
||||||
make
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp bsod $out/bin
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "bsod-0.1";
|
name = "bsod-0.1";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.vanheusden.com/bsod/bsod-0.1.tgz;
|
url = http://www.vanheusden.com/bsod/bsod-0.1.tgz;
|
||||||
sha256 = "0hqwacazyq5rhc04j8w8w0j0dgb6ca8k66c9lxf6bsyi6wvbhvmd";
|
sha256 = "0hqwacazyq5rhc04j8w8w0j0dgb6ca8k66c9lxf6bsyi6wvbhvmd";
|
||||||
@ -12,6 +10,11 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir $out/bin
|
||||||
|
cp bsod $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Blue Screen Of Death emulator for Unix";
|
description = "Blue Screen Of Death emulator for Unix";
|
||||||
longDescription = "
|
longDescription = "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user