IntersectMBO / IntersectMBO/cardonnay

Expose package itself from the flake

Open
#120 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
7
Forks
0
Avg merge
5m
Merged PRs (30d)
7

Description

Hello,

thanks a lot for putting this useful tool together. One blocker which I found is that flake.nix does not expose the package itself (I'm not able to use your shell I want to include the tool inside my shell where I provide cardano-node myself). Should I open a PR with something like:

```nix
packages.cardonnay = pkgs.python313.pkgs.buildPythonApplication {
pname = "cardonnay";
version = "0.3.4";
src = self;
pyproject = true;

build-system = with pkgs.python313.pkgs; [ setuptools setuptools-scm ];

SETUPTOOLS_SCM_PRETEND_VERSION = "0.3.4";

nativeBuildInputs = with pkgs.python313.pkgs; [ pythonRelaxDepsHook ];

pythonRelaxDeps = [ "setuptools" ];

dependencies = with pkgs.python313.pkgs; [
supervisor click pygments pydantic filelock
];
};
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in flake.nix by comparing the existing shell definition with the proposed packages.cardonnay expression. Done means the flake exposes the package itself so users can include it in a shell without using the provided cardano-node shell; verify the flake evaluates successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.