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

locate: extend module #21686

Merged
merged 3 commits into from Jan 26, 2017
Merged

locate: extend module #21686

merged 3 commits into from Jan 26, 2017

Conversation

gkleen
Copy link
Contributor

@gkleen gkleen commented Jan 5, 2017

Motivation for this change

Support for mlocate looked significantly more complete than it turned out to be

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
    • Linux
  • 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.

I couldn't find a way to properly handle includeStore in rename.nix so I´m just echoing a warning for now. I think a reasonable approach would be to remove /nix/store from prunePaths when includeStore is set (and print a warning). I could not, however, find a way to do so without running into infinite recursion – any ideas?

@mention-bot
Copy link

@pngwjpgh, thanks for your PR! By analyzing the history of the files in this pull request, we identified @copumpkin, @edolstra and @andjscott to be potential reviewers.

@gkleen gkleen changed the title Enhance Locate module locate: extend module Jan 6, 2017
@gkleen
Copy link
Contributor Author

gkleen commented Jan 26, 2017

Bump

@copumpkin, @edolstra, @andjscott Care to comment?

@Mic92
Copy link
Member

Mic92 commented Jan 26, 2017

@pngwjpgh tested and works for me. Can you rebase your changes against master again?
`

@gkleen
Copy link
Contributor Author

gkleen commented Jan 26, 2017

@Mic92 done

@Mic92 Mic92 merged commit 2657ee4 into NixOS:master Jan 26, 2017
@Mic92
Copy link
Member

Mic92 commented Jan 26, 2017

Thanks!

@gkleen gkleen deleted the locate branch January 26, 2017 13:03
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.

None yet

3 participants