-
-
Save sheeldotme/19903a8ea75331a8dc647819e3c82be6 to your computer and use it in GitHub Desktop.
Nix Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
pkgs.llvmPackages_7.stdenv.mkDerivation { | |
name = "json-casa"; | |
src = ./.; | |
nativeBuildInputs = [ pkgs.cmake pkgs.ninja ]; | |
unpackPhase = '' | |
cp -r $src/source/* .; | |
''; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
derivation = import ./default.nix {}; | |
in | |
pkgs.mkShell.override { stdenv = pkgs.llvmPackages_7.stdenv; } { | |
inputsFrom = [ derivation ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment