2
0
Fork 0
genodepkgs/tests/stdcxx/default.nix

29 lines
544 B
Nix

{ pkgs, legacyPackages, ... }:
with pkgs;
let
testStdcxx = pkgs.stdenv.mkDerivation {
name = "test-stdcxx";
inherit (pkgs.genodeSources) version;
src = pkgs.genodeSources;
buildPhase = ''
mkdir -p $out
$CXX -o $out/test-stdcxx \
repos/libports/src/test/stdcxx/main.cc
'';
};
in {
name = "stdcxx";
machine = {
config = ./config.dhall;
inputs = map pkgs.genodeSources.depot [
"libc"
"posix"
"vfs"
"stdcxx"
"test-stdcxx"
];
# ++ [ testStdcxx ];
};
}