Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian-devscripts: add dpkg to PATH #37755

Merged
merged 1 commit into from Mar 25, 2018
Merged

Conversation

KaiHa
Copy link
Contributor

@KaiHa KaiHa commented Mar 25, 2018

Motivation for this change

The script uscan was complaining about missing dpkg, therefore I have
added it to the PATH.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

The script uscan was complaining about missing dpkg, therefore I have
added it to the PATH.
@Mic92
Copy link
Member

Mic92 commented Mar 25, 2018

@GrahamcOfBorg build debian-devscripts

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: debian-devscripts

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: debian-devscripts

Partial log (click to expand)

/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.dep3changelog-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.debcheckout-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.dcontrol-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.build-rdeps-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.chdist-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.rc-alert-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.debrepro-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8/bin/.namecheck-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/ggb7k5x9855j10dz99467djx4rplg32b-perl-5.24.3/bin/perl"
checking for references to /tmp/nix-build-debian-devscripts-2.16.8.drv-0 in /nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8...
/nix/store/cylycrrrg90qadjx8zkfism9q9r0cl5d-debian-devscripts-2.16.8

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: debian-devscripts

Partial log (click to expand)

/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.dcontrol-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/icf1qhlpnbq1gag3x0dp2qsa0kkfvgan-perl-5.24.3/bin/perl"
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.dcmd-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.cvs-debuild-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/icf1qhlpnbq1gag3x0dp2qsa0kkfvgan-perl-5.24.3/bin/perl"
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.checkbashisms-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/icf1qhlpnbq1gag3x0dp2qsa0kkfvgan-perl-5.24.3/bin/perl"
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.chdist-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/icf1qhlpnbq1gag3x0dp2qsa0kkfvgan-perl-5.24.3/bin/perl"
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.build-rdeps-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/icf1qhlpnbq1gag3x0dp2qsa0kkfvgan-perl-5.24.3/bin/perl"
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.bts-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/icf1qhlpnbq1gag3x0dp2qsa0kkfvgan-perl-5.24.3/bin/perl"
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8/bin/.add-patch-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8...
/nix/store/fjmz3xj2l31vjm21jflqilibwiiy2j14-debian-devscripts-2.16.8

@Mic92 Mic92 merged commit 29bef71 into NixOS:master Mar 25, 2018
@Mic92
Copy link
Member

Mic92 commented Mar 25, 2018

Also backported to stable: 1da25dd

@KaiHa KaiHa deleted the pr/devscripts_dpkg-path branch March 25, 2018 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants