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

Add an argument to allow users to specify nixpkgs overlays from their project default.nix #1019

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

cgibbard
Copy link
Contributor

@cgibbard cgibbard commented Feb 7, 2023

Needed something like this in order to be able to override some C library dependencies.

I have:

  • Based work on latest develop branch
  • Followed the contribution guide
  • Looked for lint in my changes with hlint . (lint found code you did not write can be left alone)
  • Run the test suite: $(nix-build -A selftest --no-out-link)
  • Updated the changelog
  • (Optional) Run CI tests locally: nix-build release.nix -A build.x86_64-linux --no-out-link (or x86_64-darwin on macOS)

@cgibbard cgibbard changed the base branch from master to develop February 7, 2023 17:53
@@ -413,8 +414,8 @@ in rec {
exe = serverOn mainProjectOut dummyVersion;
server = args@{ hostName, adminEmail, routeHost, enableHttps, version, module ? serverModules.mkBaseEc2, redirectHosts ? [], configHash ? "" }:
server (args // { exe = linuxExe version; });
obelisk = import (base' + "/.obelisk/impl") {};
};
obelisk = import (base' + "/.obelisk/impl") { inherit system profiling iosSdkVersion config terms reflex-platform-func useGHC810 nixpkgsOverlays ; };
Copy link
Contributor Author

@cgibbard cgibbard Feb 7, 2023

Choose a reason for hiding this comment

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

I hope this is cromulent, does it make sense to pass these same arguments along? At least without this the overrides didn't take effect, but perhaps we could just pass the overrides, if it doesn't make sense to just pass everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant