[Nix-dev] [PATCH] Scanning with SANE as unprivileged user

Eelco Dolstra e.dolstra at tudelft.nl
Fri Dec 9 11:05:42 CET 2011


Hi,

On 12/05/2011 06:33 PM, Shea Levy wrote:

> Thanks for the patches, committed.

This patch causes nixos-rebuild to fail on a 64-bit system:

# nixos-rebuild switch
...
error: assertion failed at
`/etc/nixos/nixpkgs/pkgs/misc/sane-backends/default.nix:6:1'
(use `--show-trace' to show detailed location information)

The assertion in question is

  assert hotplugSupport -> stdenv.system == "i686-linux";

Maybe "x86_64-linux" should be handled here as well?

(Incidentally, this configuration doesn't even have SANE enabled, but the NixOS
module system still evaluates the values in the SANE module...)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list