Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose cabal executables as flake apps #137

Merged
merged 32 commits into from
Apr 19, 2023
Merged

Conversation

shivaraj-bh
Copy link
Contributor

@shivaraj-bh shivaraj-bh commented Apr 4, 2023

  • POC
  • Move parsing to find-haskell-paths parser, add tests
  • Use finalised options API (cf. ongoing discussion in comments)

POC for #36

Resolves #36

@srid
Copy link
Owner

srid commented Apr 5, 2023

Use finalised options API

@sbh69840 For the API, let's go with this:

  • Rename the currentoutputs.localPackages.<name> to outputs.packages.<name>.package
  • Rename this PR's localApps.<exe-name> to outputs.packages.<name>.exes.<exe-name>.

srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 5, 2023
@srid srid changed the title WIP: POC implementation of localApps WIP: Expose cabal executables in outputs Apr 5, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 6, 2023
nix/haskell-project.nix Outdated Show resolved Hide resolved
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 6, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 7, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 7, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 10, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 10, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 10, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 10, 2023
nix/find-haskell-paths/parser.nix Outdated Show resolved Hide resolved
nix/find-haskell-paths/parser_tests.nix Outdated Show resolved Hide resolved
nix/flake-module.nix Outdated Show resolved Hide resolved
nix/flake-module.nix Outdated Show resolved Hide resolved
nix/flake-module.nix Outdated Show resolved Hide resolved
nix/flake-module.nix Outdated Show resolved Hide resolved
nix/haskell-project.nix Outdated Show resolved Hide resolved
nix/haskell-project.nix Outdated Show resolved Hide resolved
nix/haskell-project.nix Outdated Show resolved Hide resolved
nix/haskell-project.nix Outdated Show resolved Hide resolved
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 12, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 12, 2023
@srid
Copy link
Owner

srid commented Apr 12, 2023

Just merged from master (because, using this branch in nammayatri)

srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 18, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 19, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 19, 2023
@srid

This comment was marked as resolved.

@srid srid merged commit 4e8e79b into srid:master Apr 19, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 20, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 20, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 20, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 20, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 21, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 21, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 21, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 21, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 21, 2023
srid added a commit to nammayatri/nammayatri that referenced this pull request Apr 21, 2023
@shivaraj-bh shivaraj-bh deleted the poc-localapps branch June 23, 2023 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create app-target for each executable cabal package
3 participants