Skip to content

maintainers/scripts/haskell/regenerate-transitive-broken-packages.sh got broken by Nix 2.25 or 2.26 #400784

@sternenseemann

Description

@sternenseemann

Currently fails like this:

> ./maintainers/scripts/haskell/regenerate-transitive-broken-packages.sh 
error: access to absolute path '/nix' is forbidden in restricted mode

This fixes the script:

-#! nix-shell -i bash -p coreutils jq nix -I nixpkgs=.
+#! nix-shell -i bash -p coreutils jq nixVersions.nix_2_24 -I nixpkgs=.

Unfortunately 2.25-2.27 have been removed, so they can't be tested easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: regressionSomething that worked before working no longer6.topic: developer experiencenixpkgs development workflow6.topic: haskellGeneral-purpose, statically typed, purely functional programming language

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions