Skip to content

Print a real hash in paths-from-graph printRegistration #17697

Closed

Description

@shlevy

Currently we have:

print "0000000000000000000000000000000000000000000000000000000000000000\n"; # !!! fix

in paths-from-graph.pl. This breaks the tests for NixOS/nix#1027, because the new path copy code does hash checking. We should store the real hash there.

Activity

  1. shlevy commented on Aug 12, 2016

    @shlevy
    MemberAuthor

    @edolstra has said he will work on this

  2. domenkozar commented on Aug 12, 2016

    @domenkozar
    Member
  3. domenkozar commented on Aug 16, 2016

    @domenkozar
    Member

    Following files use Nix:: perl namespace in nixpkgs:

    maintainers/scripts/copy-tarballs.pl:use Nix::Store;
    maintainers/scripts/copy-tarballs.pl:isValidPath("/nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo"); # FIXME: forces Nix::Store initialisation
    nixos/modules/installer/tools/nixos-install.sh:binary_caches=$(@perl@/bin/perl -I @nix@/lib/perl5/site_perl/*/* -e 'use Nix::Config; Nix::Config::readConfig; print $Nix::Config::config{"binary-caches"};')
    

    Maybe we should name this issues as removal of nix+perl in nixpkgs?

  4. shlevy commented on Aug 16, 2016

    @shlevy
    MemberAuthor

    Wrong issue? Anyway we still build the perl bindings as a separate drv.

  5. shlevy commented on Jan 21, 2018

    @shlevy
    MemberAuthor

    Closing this to clear up my open issues list, please open a new one if interested in pursuing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions