flake.nix 768 B

1234567891011121314151617181920212223
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. {
  10. description = "Devshell for materialize that delegates to the legacy shell.nix";
  11. inputs.flake-utils.url = "github:numtide/flake-utils";
  12. outputs = { self, nixpkgs, flake-utils }:
  13. flake-utils.lib.eachDefaultSystem (system:
  14. let pkgs = nixpkgs.legacyPackages.${system}; in
  15. rec {
  16. # we pass `pkgs` directly to shell.nix
  17. devShell = import ./shell.nix { inherit pkgs; };
  18. }
  19. );
  20. }