aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-24Merge pull request #7082 from rapenne-s/ccacheThéophane Hufschmitt
add ccacheStdenv
2022-09-24Mention `--accept-flake-config` in the related warningThéophane Hufschmitt
Make sure that people who run Nix in non-interactive mode (and so don't have the possibility to interactively accept the individual flake configuration settings) are aware of this flag. Fix #7086
2022-09-24Merge pull request #7056 from hiroqn/fix-unameEelco Dolstra
Fix `uname -m` return value for armv6l/armv7l
2022-09-24Merge pull request #7059 from NixOS/remove-useless-ca-file-messageEelco Dolstra
Remove a useless debug message in filetransfer.cc
2022-09-23Apply suggestions from code reviewJohn Ericson
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Rune K. Svendsen <runesvend@gmail.com>
2022-09-23add ccacheStdenvSolène Rapenne
when using ccache, rebuild time has been measured 89% faster while not slowing the speed of cold builds
2022-09-22archive: check close errors when extracting narssqualus
2022-09-22Allow pass max-silent-time and build-poll-interval to daemon untrustedMatthew Bauer
These settings seem harmless, they control the same polling functionality that timeout does, but with different behavior. Should be safe for untrusted users to pass in.
2022-09-22Dodge "trusted" vs "trustworthy" by being explicit John Ericson
Hopefully this is best!
2022-09-22"valid signature" -> "trustworthy signature"John Ericson
I just had a colleague get confused by the previous phrase for good reason. "valid" sounds like an *objective* criterion, e.g. and *invalid signature* would be one that would be trusted by no one, e.g. because it misformatted or something. What is actually going is that there might be a signature which is perfectly valid to *someone else*, but not to the user, because they don't trust the corresponding public key. This is a *subjective* criterion, because it depends on the arbitrary and personal choice of which public keys to trust. I therefore think "trustworthy" is a better adjective to use. Whether something is worthy of trust is clearly subjective, and then "trust" within that word nicely evokes `trusted-public-keys` and friends.
2022-09-21Merge pull request #7070 from alyssais/repl-historyThéophane Hufschmitt
nix repl: warn if creating dir for history fails
2022-09-20nix repl: warn if creating dir for history failsAlyssa Ross
The history is not critical to the functionality of nix repl, so it's enough to warn here, rather than refuse to start if the directory Nix thinks the history should live in can't be created.
2022-09-20Merge pull request #7065 from squalus/schema-corruptThéophane Hufschmitt
Improve durability of schema version file writes
2022-09-20fix `uname -m` return value for armv6l/armv7lhiroqn
2022-09-19Improve durability of schema version file writessqualus
- call close explicitly in writeFile to prevent the close exception from being ignored - fsync after writing schema file to flush data to disk - fsync schema file parent to flush metadata to disk https://github.com/NixOS/nix/issues/7064
2022-09-19Merge pull request #7060 from fricklerhandwerk/issue-templatesThéophane Hufschmitt
issue template: fill 'about' field
2022-09-19issue template: fill 'about' fieldValentin Gagarin
according to [GitHub documentation] some fields are required. `about` is not listed, but it probably is required. [GitHub documentation]: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
2022-09-19Remove a useless debug message in filetransfer.ccThéophane Hufschmitt
Remove the `verify TLS: Nix CA file = 'blah'` message that Nix used to print when fetching anything as it's both useless (`libcurl` prints the same info in its logs) and misleading (gives the impression that a new TLS connection is being established which might not be the case because of multiplexing. See #7011 )
2022-09-18address review feedbackTravis A. Everett
Mainly: - Try to triangulate between narrative that framed this as a new/easy process and the need for a reference that will not quickly grow stale. - Fix a ~continuity issue where the text was talking about "your Cachix cache" before saying that you'd need to make a Cachix cache to enable the installer tests. - Adopt suggestion on titling, and nest subtitles in the installer test section.
2022-09-17Apply suggestions from code reviewTravis A. Everett
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-16Merge pull request #7052 from amjoseph-nixpkgs/pr/fetch/impureEelco Dolstra
libexpr/fetchurl.nix: allow __impure fetch
2022-09-16release-notes/rl-next.md: note new argument to fetchurl.nixAdam Joseph
2022-09-16fetchurl.nix: change other use of __impureAdam Joseph
2022-09-16Update src/libexpr/fetchurl.nixAdam Joseph
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2022-09-16Merge pull request #7050 from fricklerhandwerk/issue-templatesThéophane Hufschmitt
add issue template for missing or incorrect documentation
2022-09-16libexpr/fetchurl.nix: allow __impure fetchAdam Joseph
This commit adds an optional `__impure` parameter to fetchurl.nix, which allows the caller to use `libfetcher`'s fetcher in an impure derivation. This allows nixpkgs' patch-normalizing fetcher (fetchpatch) to be rewritten to use nix's internal fetchurl, thereby eliminating the awkward "you can't use fetchpatch here" banners scattered all over the place. See also: https://github.com/NixOS/nixpkgs/pull/188587
2022-09-16fix markdown rendering quirk Valentin Gagarin
markdown would interpret parentheses as belonging to the first link without escaping.
2022-09-16Update doc/manual/src/contributing/hacking.mdValentin Gagarin
2022-09-16Update doc/manual/src/contributing/hacking.mdValentin Gagarin
2022-09-16Update doc/manual/src/contributing/hacking.mdValentin Gagarin
2022-09-16Update doc/manual/src/contributing/hacking.mdValentin Gagarin
2022-09-15add issue template for missing or incorrect documentationValentin Gagarin
this allows anyone to create labelled issues for easy filtering.
2022-09-15Fix evaluationEelco Dolstra
2022-09-15Add RHEL 9Eelco Dolstra
2022-09-15Disable Ubuntu 14.04Eelco Dolstra
2022-09-15Add RHEL 7/8Eelco Dolstra
2022-09-15Use libvirt imageEelco Dolstra
2022-09-15Remove pre-release Ubuntu 22.10Eelco Dolstra
2022-09-15Add Ubuntu 22.04 LTSEelco Dolstra
2022-09-15Make cross product of images and testsEelco Dolstra
2022-09-15Test buildingEelco Dolstra
2022-09-14dockerImage: fix root shellMatthew Kenigsberg
Currently root's shell is set to a path that does not exist; this change sets it to the correct path to bash
2022-09-14Get Ubuntu 22.10 to workEelco Dolstra
2022-09-14Enable daemon installation test on FedoraEelco Dolstra
2022-09-14Add Fedora 36Eelco Dolstra
2022-09-14Add an installer testEelco Dolstra
This runs the installer in a QEMU VM. Unlike the old installer test that ran inside a declaratively built RedHat/Debian image, this uses an image from Vagrant.
2022-09-14Merge pull request #7014 from ↵Eelco Dolstra
DeterminateSystems/graham/ds-327-fish-support-for-the-nix-installer Add Fish suport to the Nix installer
2022-09-14Merge pull request #7025 from fricklerhandwerk/issue-templatesThéophane Hufschmitt
issue template: add feature label
2022-09-13Add installer_test matrix for shellsAna Hobden
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-09-13Add fish suport to installerAna Hobden
Before this patch, installing Nix using the Fish shell did not work because Fish wasn't configured to add Nix to the PATH. Some options in #1512 offered workarounds, but they typically involve extra plugins or packages. This patch adds native, out-of-the-box support for the Fish shell. Note that Fish supports a `conf.d` directory, which is intended for exactly use cases like this: software projects distributing shell snippets. This patch takes advantage of it. The installer doesn't append any Nix loader behavior to any Fish config file. Because of that, the uninstall process is smooth and a reinstall obliterates the existing nix.fish files that we place instead of bothering the user with a backup / manual removal. Both single-user and multi-user cases are covered. It has been tested on Ubuntu, and a Mac with MacPorts, homebrew, and the Fish installer pkg. Closes #1512 Co-authored-by: Graham Christensen <graham@grahamc.com>