mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-05 20:05:15 +00:00
28 lines
569 B
Nix
28 lines
569 B
Nix
|
{ 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"];
|
||
|
}
|
||
|
|
||
|
|
||
|
) { }
|