pebble-dev / pebble-dev/pebble.nix

Python 2.7 has reached its end of life after 2020-01-01

Open
#20 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.