Last active
May 14, 2017 10:46
-
-
Save cleverca22/bb103d600ac7cc737e7ab009ad6c48da to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| config = { | |
| packageOverrides = pkgs_in: { | |
| }; | |
| }; | |
| pkgs = import <nixpkgs> { inherit config; }; | |
| callPackage = pkgs.newScope self; | |
| self = rec { | |
| generator = callPackage ./cpp-protobuf-generator/generator.nix {}; | |
| generator-env = callPackage ./cpp-protobuf-generator/env.nix {}; | |
| }; | |
| in self |
This file contains hidden or 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
| { runCommand, protobuf, generator }: | |
| runCommand "proto-generator-env" { buildInputs = [ generator protobuf ]; } '' | |
| exit 1 | |
| '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment