Skip to content

Comments

pkgsStatic: Don't disable static on curl for git#66416

Closed
nh2 wants to merge 1 commit intoNixOS:masterfrom
nh2:pkgsStatic-curl
Closed

pkgsStatic: Don't disable static on curl for git#66416
nh2 wants to merge 1 commit intoNixOS:masterfrom
nh2:pkgsStatic-curl

Conversation

@nh2
Copy link
Contributor

@nh2 nh2 commented Aug 10, 2019

Motivation for this change

Makes static git build.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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 nix-review --run "nix-review wip"

  • Tested execution of all binary files (usually in ./result/bin/)

  • Determined the impact on package closure size (by running nix path-info -S before and after)

  • Ensured that relevant documentation is up to date

  • Fits CONTRIBUTING.md.

  • tested via static-haskell-nix

Notify maintainers

cc @matthewbauer

@nh2 nh2 requested a review from matthewbauer August 10, 2019 04:41
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 10, 2019
haskellStaticAdapter;
};

curl = super.curl.overrideAttrs (old: { dontDisableStatic = true; });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't makeStaticLibraries do this automatically?

@nh2
Copy link
Contributor Author

nh2 commented Oct 20, 2019

Doesn't makeStaticLibraries do this automatically?

Yes, same confusion as in #66417, closing.

@nh2 nh2 closed this Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants