Last active
February 20, 2018 23:44
-
-
Save theNerd247/d2d24f3860c54877987656eb930c3d47 to your computer and use it in GitHub Desktop.
merging of sub nix-shells into a toplevel shell
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
(import ./dev.nix).breeze-login.env |
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> {}}: | |
let | |
mkInputs = pkg: | |
builtins.map (x: x.outPath) (import "./${pkg}/shell.nix").buildInputs; | |
in | |
pkgs.stdenv.mkDerivation { | |
name="breeze-shell"; | |
buildInputs = mkInputs "breeze-login" ++ mkInputs "ui"; | |
src = ./.; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment