Skip to content

Nekroze/ldc-calypso.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

ldc-calypso.nix

Nix package for LDC Syniurge/Calypso fork which allows direct import of C++ code from dlang.

Usage

This requires the Nix package manager for reproducable builds.

Building ldc on its own

$ git clone https://github.com/Nekroze/ldc-calypso.nix.git
$ cd ldc-calypso.nix
$ nix-build
$ ./result/bin/ldc2 --help

As a nix dependency

$ cat default.nix
{ nixpkgs ? import <nixpkgs> {} }:

with nixpkgs;

let
  ldc = import ./ldc-calypso.nix {};
in stdenv.mkDerivation rec {
  name = "my-project-${version}";
  version = "0.0.1";

  src = ./.;

  buildInputs = [ldc];
  
  buildPhase = ''
    ldc2 --help
  '';
}

About

Nix package for ldc Syniurge/Calypso fork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages