| Commit message (Collapse) | Author | Age |
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This should remove the need to rename links from mirror.centos.org to
vault.centos.org as the removed comment mentions.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
| |
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
|
|\ |
|
| |\
| | |
| | | |
buid-support: Add Ubuntu bionic base images
|
| | | |
|
|\| | |
|
| |/
| |
| |
| |
| | |
There is a function params `kernel' intended to specify which kernel to use.
It defaults to `pkgs.linux`.
But when we override `kernel', compiling and using two kernels seems not to be the intendend bevavior.
|
|/ |
|
|
|
|
|
| |
snapshot.debian.org actually keeps track of all of the updates as they
come in rather than doing arbitrary (?) snapshots.
|
|
|
|
|
|
|
| |
This reverts commit f777d2b719be0db4cb7819d5b6dbdd121db29a37.
cc #34409
This breaks evaluation of the tested job:
attribute 'diskInterface' missing, at /nix/store/5k9kk52bv6zsvsyyvpxhm8xmwyn2yjvx-source/pkgs/build-support/vm/default.nix:316:24
|
| |
|
|
|
|
|
|
|
| |
Previously the Release.xz URL would show up with a new hash whenever
debian releases an update. By using archive.org we should have a stable
source for those. I wasn't able to find the equivalent in the debian
world. Maybe they don't keep all the different Release files around..
|
|
|
|
| |
It is deprecated and will be removed after 18.09.
|
|
|
|
| |
Progress towards #27069
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the recent update of BusyBox to version 1.29.0 in
d6aa506e3baa3565eb375bbf8a4e68c3e3134ec9 there is now a new dependency
on libresolv.
This now throws a runtime error when executing ash, eg. whenever we do
something like this:
nix-build -E 'with import ./. {}; vmTools.runInLinuxVM hello'
The resulting error will be:
.../ash: error while loading shared libraries: libresolv.so.2: cannot
open shared object file: No such file or directory
I tried to override BusyBox with enableStatic, but that still requires
parts of glibc:
Static linking against glibc, can't use --gc-sections
Trying libraries: crypt m resolv
Library crypt is not needed, excluding it
Library m is needed, can't exclude it (yet)
Library resolv is needed, can't exclude it (yet)
Library m is needed, can't exclude it (yet)
Library resolv is needed, can't exclude it (yet)
Final link with: m resolv
In the long term maybe switching to a more minimal C library such as
musl would make more sense, but for now I just added libresolv.so to the
initrd which fixes the runtime error.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @edolstra, @rbvermaa
Signed-off-by: aszlig <aszlig@nix.build>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This is necessary due to a e2fsprogs update
(e6114781b0fad5345a2430fac3587d618273bda2) that causes mke2fs to
enable a feature (metadata_csum) that depends on crc32c.
https://hydra.nixos.org/build/72636785
|
| |
|
|
|
|
|
|
|
|
| |
Drop currently unsupported releases.
Add Fedora 26 and 27.
Update CentOS.
Add Debian 9.
Add Ubuntu 17.10.
|
|
|
|
| |
Link it in stage 1.
|
|
|
|
|
| |
... by moving the existing definition to qemu-flags.nix and reusing
that.
|
| |
|
|
|
|
| |
We compute it on the fly, careful to avoid any mass rebuilds for now.
|
| |
|
|
|
|
| |
It's 'Image' on AArch64.
|
|
|
|
| |
Fixes #33378.
|
|
|
|
| |
In 2017, there is no reason to create a static /dev.
|
| |
|
|
|
|
|
|
|
| |
This commit adds the CentOS 7.4 base image from the CentOS mirror, for use with
building RPMs or evaluating Nix expressions in a CentOS image.
When CentOS 7.5 comes out, I will swap this URL to the permanently vaulted image.
|
|
|
|
| |
ARM and AArch64 might use virtio_mmio in some cases.
|
|\
| |
| | |
Init Centos 7.3 vmTools diskImage
|
| |
| |
| |
| |
| | |
This commit adds the CentOS 7.3 base image from the CentOS vault, for use with
building RPMs or evaluating Nix expressions.
|
|/
|
|
| |
https://hydra.nixos.org/build/64519371
|
| |
|
|
|
|
|
| |
In future we might just not use the updates if hash changes too
often.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows adding packages that are not part of the distribution, e.g.g
extraDebs = [
(pkgs.fetchurl {
name = "openjdk.deb";
url = http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-8/openjdk-8-jdk-headless_8u111-b14-3~14.04.1_amd64.deb;
sha256 = "1n5ibpkx9pjmc4nr052rls1yqbq7ckav2rabixjhd4yxbyhjl0ap";
})
];
|
| |
|
|
|
|
|
|
| |
Nix no longer allows this for security reasons.
http://hydra.nixos.org/build/53993125
|
| |
|