pebble-dev / pebble-dev/pebble.nix
Python 2.7 has reached its end of life after 2020-01-01
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 70
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
While trying to build with buildPebbleApp, I get this:
error: Refusing to evaluate package 'python-2.7.18.12-env' in /nix/store/f78lkqnk63pd0kf52zf2wcx35p1nnalr-source/pkgs/development/interpreters/python/cpython/2.7/default.nix:406 because it is marked as insecure
There also doesn't seem to be a way to override the nixpkgs passed in to flake.nix, so the package can't be added to permittedInsecurePackages: https://github.com/pebble-dev/pebble.nix/blob/e6086f2790f17968dcd5b89935100b20d3313a5c/flake.nix#L37-L40
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with flake.nix at lines 37-40 and reproduce the buildPebbleApp failure involving python-2.7.18.12-env. Trace how the flake supplies nixpkgs and how permittedInsecurePackages could be configured or overridden. Done means the project has a documented, working path past the Python 2.7 insecure-package rejection.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100