stardust-remixer/src/default.nix

20 lines
446 B
Nix
Raw Permalink Normal View History

2019-01-07 18:55:04 +01:00
let
2021-04-18 11:50:05 +02:00
pkgs = import <nixpkgs> {};
sdcc_ = (pkgs.sdcc.override {
inherit (pkgs) gputils;
excludePorts = ["mcs51" "z80" "z180" "r2k" "r3ka" "gbz80" "tlcs90" "ds390" "ds400" "pic16" "hc08" "s08" "stm8"];
}).overrideAttrs (o: {
enableParallelBuilding = true;
});
2019-01-07 18:55:04 +01:00
in
2021-04-18 11:50:05 +02:00
with pkgs;
2019-01-07 18:55:04 +01:00
stdenv.mkDerivation {
name = "blink";
2021-04-18 11:50:05 +02:00
buildInputs = [ sdcc_ gputils ];
2019-01-07 18:55:04 +01:00
src = ./.;
installPhase = ''
mkdir $out
cp blink_led.hex $_
'';
}