Skip to content

Instantly share code, notes, and snippets.

@aljones15
Last active December 6, 2020 18:06
Show Gist options
  • Save aljones15/222e3e39b6bf5f09df77554b1c0d6bca to your computer and use it in GitHub Desktop.
Save aljones15/222e3e39b6bf5f09df77554b1c0d6bca to your computer and use it in GitHub Desktop.
Upgrade issues
[liminal18@nixos:~]$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
error: The option value `services.picom.inactiveOpacity' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/picom.nix' is not of type `a floating point number in range [0.1, 1]'.
(use '--show-trace' to show detailed location information)
[liminal18@nixos:~]$ sudo nixos-rebuild switch --upgrade --show-trace
unpacking channels...
building Nix...
building the system configuration...
error: while evaluating the attribute 'activationScript' of the derivation 'nixos-system-nixos-20.09.2152.e34208e1003' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:95:5:
while evaluating the attribute 'system.activationScripts.script' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:68:9:
while evaluating 'textClosureMap' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings-with-deps.nix:70:35, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:89:18:
while evaluating 'id' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:14:5, called from undefined position:
while evaluating the attribute 'text' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/activation-script.nix:9:5:
while evaluating the attribute 'text' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/strings-with-deps.nix:77:38:
while evaluating the attribute 'sources' of the derivation 'etc' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix:12:5:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/etc/etc.nix:20:20, called from undefined position:
while evaluating the attribute 'source' at undefined position:
while evaluating 'g' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
while evaluating the option `environment.etc.systemd/user.source':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:12:
while evaluating 'check' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:256:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:22:
while evaluating the attribute 'buildCommand' of the derivation 'user-units' at /nix/store/lc3r0nfgyfxwz90wjsbyqjfx3gs49p5a-nixos-20.09.2152.e34208e1003/nixos/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'text' of the derivation 'unit-picom.service' at /nix/store/lc3r0nfgyfxwz90wjsbyqjfx3gs49p5a-nixos-20.09.2152.e34208e1003/nixos/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'text' at undefined position:
while evaluating 'g' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
while evaluating the option `systemd.user.units.picom.service.text':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:491:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:590:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:28, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:17:
while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/systemd.nix':
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:549:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:478:137:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:338:44:
while evaluating 'attrsToSection' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/systemd-lib.nix:109:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/systemd.nix:342:13:
while evaluating 'mapAttrsToList' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:233:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/systemd-lib.nix:110:33:
while evaluating the attribute 'serviceConfig' at undefined position:
while evaluating 'g' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
while evaluating the option `systemd.user.services.picom.serviceConfig':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
while evaluating 'merge' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:294:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:59:
while evaluating 'filterAttrs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:124:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:295:35:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:125:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:125:18:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:295:51, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:125:62:
while evaluating the attribute 'ExecStart' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:344:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:295:86, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:344:15:
while evaluating the attribute 'optionalValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:509:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:491:9:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:590:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:28, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:477:17:
while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/picom.nix':
while evaluating 'dischargeProperties' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:549:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:478:137:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:299:60:
while evaluating the attribute 'text' of the derivation 'picom.conf' at /nix/store/lc3r0nfgyfxwz90wjsbyqjfx3gs49p5a-nixos-20.09.2152.e34208e1003/nixos/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'toConf' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/picom.nix:45:12, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/picom.nix:47:45:
while evaluating 'mapAttrsToList' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:233:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/picom.nix:45:42:
while evaluating the attribute 'settings' at undefined position:
while evaluating 'g' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
while evaluating the option `services.picom.settings':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
while evaluating 'merge' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:294:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:499:59:
while evaluating 'filterAttrs' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:124:23, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:295:35:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:125:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:125:18:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:295:51, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:125:62:
while evaluating the attribute 'inactive-opacity' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:344:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/types.nix:295:86, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:344:15:
while evaluating the attribute 'optionalValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:509:5:
while evaluating the attribute 'values' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:491:9:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:487:19, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:487:14:
while evaluating the attribute 'value._type' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:588:73:
while evaluating the attribute 'value.content' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:648:14:
while evaluating the attribute 'inactiveOpacity' at undefined position:
while evaluating 'g' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:276:19, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:98:72, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:279:20:
while evaluating the attribute 'value' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:465:9:
while evaluating the option `services.picom.inactiveOpacity':
while evaluating the attribute 'mergedValue' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:497:5:
The option value `services.picom.inactiveOpacity' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/picom.nix' is not of type `a floating point number in range [0.1, 1]'.
[liminal18@nixos:~]$ sudo nix-channel --list
nixos https://nixos.org/channels/nixos-20.09
nixos-unstable https://nixos.org/channels/nixos-unstable
unstable https://nixos.org/channels/nixos-unstable

picom is not in my manually configured nix stuff:

[liminal18@nixos:~]$ grep -inr picom /etc/nixos/
@aljones15
Copy link
Author

# Do not modify this file!  It was generated by ���nixos-generate-config���
# and may be overwritten by future invocations.  Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:

{
  imports =
    [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
    ];

  boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
  boot.kernelModules = [ "kvm-intel" ];
  boot.extraModulePackages = [ ];

  fileSystems."/" =
    { device = "/dev/disk/by-uuid/15dfec8e-5f87-45b2-86b7-1bc1932e04f5";
      fsType = "ext4";
    };

  fileSystems."/boot" =
    { device = "/dev/disk/by-uuid/0ABF-042E";
      fsType = "vfat";
    };

  swapDevices =
    [ { device = "/dev/disk/by-uuid/6197b547-48f3-4eae-b53d-c38f2a71a5f4"; }
    ];

  nix.maxJobs = lib.mkDefault 4;
}

@aljones15
Copy link
Author

copying path '/nix/store/msia542hn41igrd836xcwpic39bhhmk1-lndir-1.0.3' from 'https://cache.nixos.org'...
copying path '/nix/store/18ggindri5xm8zbdpzy7x2927z1lg5gc-stdenv-linux' from 'https://cache.nixos.org'...
building '/nix/store/2grlvili1038zadk77vabhc6xfwwwmhm-stage-2-init.sh.drv'...
building '/nix/store/579ffi7lbf74rc2aa8gxzsdrd4zfkavr-unit-console-getty.service-disabled.drv'...
building '/nix/store/ira66gvscsydbnbfqv1k9wl1mjbq4b4k-unit-script-nixos-upgrade-start.drv'...
building '/nix/store/asrdypcjcnpc98pj2ddrimgpcrwp7mjd-unit-nixos-upgrade.service.drv'...
building '/nix/store/3xirsnbkik92p177kp70j0i1accrlzg8-system-units.drv'...
building '/nix/store/a2wsmsjp4vxczdrcv2iyp6pknvasfjgq-etc.drv'...
building '/nix/store/4r4y40aqi9p3ma8cz6ha97867m7jxqzb-nixos-system-nixos-20.09.2152.e34208e1003.drv'...
systemd-boot not installed in ESP.
could not find any previously installed systemd-boot
Traceback (most recent call last):
  File "/nix/store/y65ir3d7g3qqf64hwmyxdczcvyrbr7kk-systemd-boot-builder.py", line 256, in <module>
    main()
  File "/nix/store/y65ir3d7g3qqf64hwmyxdczcvyrbr7kk-systemd-boot-builder.py", line 225, in main
    write_entry(*gen, machine_id)
  File "/nix/store/y65ir3d7g3qqf64hwmyxdczcvyrbr7kk-systemd-boot-builder.py", line 92, in write_entry
    initrd = copy_from_profile(profile, generation, "initrd")
  File "/nix/store/y65ir3d7g3qqf64hwmyxdczcvyrbr7kk-systemd-boot-builder.py", line 67, in copy_from_profile
    copy_if_not_exists(store_file_path, "/boot%s" % (efi_file_path))
  File "/nix/store/y65ir3d7g3qqf64hwmyxdczcvyrbr7kk-systemd-boot-builder.py", line 21, in copy_if_not_exists
    shutil.copyfile(source, dest)
  File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/shutil.py", line 272, in copyfile
    _fastcopy_sendfile(fsrc, fdst)
  File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/shutil.py", line 163, in _fastcopy_sendfile
    raise err from None
  File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/shutil.py", line 149, in _fastcopy_sendfile
    sent = os.sendfile(outfd, infd, offset, blocksize)
OSError: [Errno 28] No space left on device: '/nix/store/54ldqsk1ix11df5764mraaiqiigx92pb-initrd-linux-5.4.67/initrd' -> '/boot/efi/nixos/54ldqsk1ix11df5764mraaiqiigx92pb-initrd-linux-5.4.67-initrd.efi'
warning: error(s) occurred while switching to the new configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment