From a615ba442e4c175e957dd0f07086b877268635df Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 23 Jan 2023 16:10:00 -0500 Subject: nix & build housekeeping, alternative D compilers - compilation status - dmd (@D2.100) ok, & has been fine - ldc (@D2.100) ok, & has been fine - gdc11 available in nixpkgs does not compile awaiting gdc12 (which would also be based on @D2.100 & just might) --- shell.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index c31d0a6..8f86997 100755 --- a/shell.nix +++ b/shell.nix @@ -4,12 +4,14 @@ with pkgs; mkShell { buildInputs = [ + #nix direnv nixVersions.unstable #nixFlakes nix-prefetch-git validatePkgConfig nix-tree jq nix-output-monitor git + gnumake ps ### d_build_related dub @@ -91,6 +93,12 @@ mkShell { nix-build . --no-out-link | xargs -o nix-tree nix-tree --derivation .#default + nix flake update && nix flake check --show-trace && nix flake show && nix develop .#devShell + nix build .#default --print-build-logs + + - nix build .#spine-dmd --print-build-logs + - nix build .#spine-ldc --print-build-logs + - nix build .#spine-gdc --print-build-logs " #echo "ldc `${pkgs.ldc}/bin/ldc2 -v`" ''; -- cgit v1.2.3