Skip to content

Instantly share code, notes, and snippets.

@joepie91
Last active August 3, 2017 22:00
Show Gist options
  • Save joepie91/f981bf19bf8ad5aafa097a1917feee0b to your computer and use it in GitHub Desktop.
Save joepie91/f981bf19bf8ad5aafa097a1917feee0b to your computer and use it in GitHub Desktop.
options: let
combinedOptions = options // {
overlays = [
(import ../nixpkgs-mozilla/rust-overlay.nix)
(self: super: {
jre8Plugin = super.jre8Plugin.overrideAttrs {
src = ../sources/jdk-8u141-linux-x64.tar.gz;
};
})
];
};
in {
master = (import (fetchTarball https://github.com/NixOS/nixpkgs/archive/master.tar.gz) combinedOptions);
unstable = (import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) combinedOptions);
nixpkgs = (import <nixpkgs>) combinedOptions;
myNixpkgs = (import ../packages) {};
}
building Nix...
building the system configuration...
warning: dumping very large path (> 256 MiB); this may run out of memory
error: while evaluating the attribute ‘buildCommand’ of the derivation ‘nixos-system-desktop-home-17.03.1641.d95660168d’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/activation/top-level.nix:107:7:
while evaluating the attribute ‘sources’ of the derivation ‘etc’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/etc/etc.nix:12:5:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/etc/etc.nix:20:20, called from undefined position:
while evaluating the attribute ‘source’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/attrsets.nix:199:44:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:75:45, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/attrsets.nix:199:52:
while evaluating the attribute ‘value’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:300:9:
while evaluating the option `environment.etc.lightdm/lightdm.conf.source':
while evaluating the attribute ‘mergedValue’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:327:5:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:327:32, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:327:19:
while evaluating ‘check’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/types.nix:168:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:328:10:
while evaluating the attribute ‘text’ of the derivation ‘lightdm.conf’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute ‘buildCommand’ of the derivation ‘desktops’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating ‘concatMapStrings’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/strings.nix:27:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/display-managers/default.nix:180:9:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/display-managers/default.nix:180:27, called from undefined position:
while evaluating the attribute ‘text’ of the derivation ‘xsession’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating ‘concatMapStrings’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/strings.nix:27:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/display-managers/default.nix:154:11:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/display-managers/default.nix:154:29, called from undefined position:
while evaluating the attribute ‘start’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/desktop-managers/default.nix:45:13:
while evaluating the attribute ‘start’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/desktop-managers/xfce.nix:60:9:
while evaluating the attribute ‘pkgs’ of the derivation ‘system-path’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute ‘meta.outputsToInstall’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/stdenv/generic/default.nix:302:9:
while evaluating ‘optionalAttrs’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/attrsets.nix:321:25, called from /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/stdenv/generic/default.nix:317:14:
while evaluating the attribute ‘meta.description’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/applications/networking/browsers/firefox/wrapper.nix:132:5:
while evaluating ‘intersperse’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/strings.nix:44:28, called from /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/applications/networking/browsers/firefox/wrapper.nix:135:28:
while evaluating ‘optional’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/lists.nix:175:20, called from /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/applications/networking/browsers/firefox/wrapper.nix:36:10:
while evaluating ‘overrideAttrs’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/customisation.nix:63:67, called from /home/sven/projects/nixrc/lib/packages.nix:6:30:
while evaluating ‘makeOverridable’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/customisation.nix:54:24, called from /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/customisation.nix:64:11:
while evaluating anonymous function at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/customisation.nix:64:28, called from /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/customisation.nix:56:12:
while evaluating ‘overrideAttrs’ at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/stdenv/generic/default.nix:297:25, called from /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/lib/customisation.nix:64:34:
attempt to call something which is not a function but a set, at /nix/store/af9ivx3hkxpswsqx21qxfaicqhpj9d5q-nixos-17.03.1641.d95660168d/nixos/pkgs/stdenv/generic/default.nix:297:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment