github.com/replit/upm@v0.0.0-20240423230255-9ce4fc3ea24c/nix/default.nix (about)

     1  {
     2    nixpkgs,
     3    nix-editor,
     4    rev,
     5    self,
     6    system,
     7    buildGoCache
     8  }: let
     9    pkgs = nixpkgs.legacyPackages.${system};
    10    nix-editor-pkg = nix-editor.packages.${system}.nix-editor;
    11  in rec {
    12    default = upm;
    13    devShell = pkgs.callPackage ./devshell {nix-editor = nix-editor-pkg;};
    14    fmt = pkgs.callPackage ./fmt {};
    15    upm = pkgs.callPackage ./upm {inherit rev; inherit buildGoCache;};
    16  }