Retro68/default.nix

28 lines
569 B
Nix
Raw Normal View History

2020-10-04 13:35:11 +00:00
{ system ? builtins.currentSystem, pkgs ? import <nixpkgs> { inherit system; }
, ... }:
pkgs.callPackage ({
stdenv, cmake, ninja, bison, flex,ruby, boost, gmp, mpfr, libmpc, zlib,
lib, bash }:
stdenv.mkDerivation {
name = "retro68";
nativeBuildInputs = [ cmake bison ruby flex ];
buildInputs = [
boost
gmp
mpfr
libmpc
zlib
bash
];
src = if lib.inNixShell then null else pkgs.nix-gitignore.gitignoreSource [ ] ./.;
builder = ./nix/builder.sh;
hardeningDisable = ["all"];
}
) { }