| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Using `rust` instead of `rustc cargo` doesn't work in either `systemPackages` or `nix-shell -p`
|
| |
|
|
|
|
| |
Close #31810.
|
| |
|
| |
|
|
|
| |
The nix-shell command here is incorrect AFAICT. `-i` is supposed to specify the interpreter and `-p` specifies the packages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The biggest benefit is that we no longer have to update the registry
package. This means that just about any cargo package can be built by
nix. No longer does `cargo update` need to be feared because it will
update to packages newer then what is available in nixpkgs.
Instead of fetching the cargo registry this bundles all the source code
into a "vendor/" folder.
This also uses the new --frozen and --locked flags which is nice.
Currently cargo-vendor only provides binaries for Linux and
macOS 64-bit. This can be solved by building it for the other
architectures and uploading it somewhere (like the NixOS cache).
This also has the downside that it requires a change to everyone's deps
hash. And if the old one is used because it was cached it will fail to
build as it will attempt to use the old version. For this reason the
attribute has been renamed to `cargoSha256`.
Authors:
* Kevin Cox <kevincox@kevincox.ca>
* Jörg Thalheim <Mic92@users.noreply.github.com>
* zimbatm <zimbatm@zimbatm.com>
|
| |
|
|
|
|
|
| |
Applying `haskell.lib.failOnAllWarnings` to a Haskell package enables the
`-Wall` and `-Werror` GHC options to turn all warnings into build failures.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- fix some mistakes
- move explanation on how to create Python environments to the front
|
|
|
|
| |
1. Call `nix-build` with `--no-out-link` to avoid cluttering the source dir.
2. Re-add `patchShebangs`, since `buildCommand` doesn't imply a patch phase. (It was my fault to remove this in the first place, sorry!)
|
|\ |
|
| |\
| | |
| | | |
replace "Mac OS X" and "OS X" with "macOS"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
as it is the official name since 2016
https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop
exception are parts refering to older versions of macOS like
"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
|
|/ /
| |
| |
| |
| |
| | |
to better fit the existing naming scheme.
https://github.com/NixOS/nixpkgs/pull/26155#issuecomment-321279629
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows one to always override the call to `buildPythonPackage`.
In the following example we create an environment where we have the `blaze` package using an older version of `pandas`. We override first the Python interpreter and pass `packageOverrides` which contains the overrides for packages in
the package set.
```
with import <nixpkgs> {};
(let
python = let
packageOverrides = self: super: {
pandas = super.pandas.overridePythonPackage(old: rec {
version = "0.19.1";
name = "pandas-${version}";
src = super.fetchPypi {
pname = "pandas";
inherit version;
sha256 = "08blshqj9zj1wyjhhw3kl2vas75vhhicvv72flvf1z3jvapgw295";
};
});
};
in pkgs.python3.override {inherit packageOverrides;};
in python.withPackages(ps: [ps.blaze])).env
```
|
| |
| |
| | |
The 'phases' attribute is unneeded and misleading
|
|\ \
| | |
| | | |
python33: end-of-life
|
| | |
| | |
| | |
| | |
| | |
| | | |
Python 3.3 reaches end-of-life when we release 17.09.
https://mail.python.org/pipermail/python-dev/2017-July/148584.html
|
| |/
|/|
| |
| |
| | |
1. 'wrapper' has been renamed to 'wrappedRuby', so use this instead.
2. mkDerivation isn't called with a 'src' attribute, so skip the 'unpackPhase' to avoid an error.
3. Simplify the build command. 'mkdir' and 'patchShebangs' don't need to be called explicitly.
|
|/ |
|
|
|
|
| |
cc #25980
|
|\
| |
| | |
BundlerEnv, now with groups and paths
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
These packages have been broken for a while and now they don't even evaluate
any more.
|
| | |
|
|\ \
| | |
| | | |
doc / go building: improve
|
| | |
| | |
| | |
| | | |
Move the paragraph about go2nix to the other paragraphs about dependencies.
|
|\ \ \
| | | |
| | | | |
erlang: refactor: build packages per Erlang/OTP version.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Improve beam docs:
* correct spelling
* update per pandoc changes
* capitalize titles
* capitalize BEAM throughout and use "the BEAM" when referring to the virtual machine.
* tweak grammar and phrasing
* reformat build-tools-rebar3 section
* add more links
* re-wrap <para>s
Also update <programlisting>s
* normalize whitespace
* don't double quote homepage
* use $ in all shell snippets
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The documentation got a bit stale compared to actual contents of
nixpkgs. This commit focuses on updating existing docs, not on making
sure all details of beam packages are covered.
|
|/ / / |
|
| | | |
|
|/ /
| |
| |
| | |
It is no longer necessary to wrap Qt packages
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
See f63eb5857352705665411130d4f1638d55dd8c58
The `requests2` attribute now throws an error informing that `requests`
should be used instead.
|
|/
|
|
|
| |
Use "fenced" code blocks to enable syntax highlighting. Other markup
and formatting.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update python.md
this makes it clear how to alter `attributes` by using `packageOverrides`
* Update python.md
* Update python.md
* Update python.md
* Update python.md
* Update python.md
* Update python.md
|
| |
|