Open alicelogos opened 1 year ago
Would it be possible to provide a Nix package for Sourcegraph App in flake.nix?
I think it may be something like this:
packages = genAttrs defaultSystems (system: { sourcegraph-app = ...; } ); # and optional apps = genAttrs defaultSystems (system: { sourcegraph-app = { type = "app"; program = "${self.packages.${system}.sourcegraph-app}/bin/sourcegraph"; }; } );
Then one can run the app with just one command:
nix run github:sourcegraph/sourcegraph#sourcegraph-app
Would it be possible to provide a Nix package for Sourcegraph App in flake.nix?
I think it may be something like this:
Then one can run the app with just one command: