direnv.nix 464 B

12345678910111213141516171819
  1. let
  2. sources = import ./nix/sources.nix;
  3. pkgs = import sources.nixpkgs {};
  4. fly = pkgs.callPackage ./nix/fly.nix {};
  5. commonPaths = [pkgs.dhall pkgs.dhall-json pkgs.shellcheck];
  6. ciPaths = commonPaths ++ [ pkgs.bash pkgs.git ];
  7. devPaths = commonPaths ++ [fly pkgs.jq];
  8. in {
  9. devEnv = pkgs.buildEnv {
  10. name = "dhall-concourse-devenv";
  11. paths = devPaths;
  12. };
  13. ciEnv = pkgs.buildEnv {
  14. name = "dhall-concourse-cienv";
  15. paths = ciPaths;
  16. };
  17. }