[Nix-dev] nix-env doesn't realize there is a Wine update
Eelco Dolstra
e.dolstra at tudelft.nl
Thu Jul 22 14:50:52 CEST 2010
Hi,
On 07/22/2010 02:00 PM, Peter Simons wrote:
> Wine was recently updated from version 1.2-rc1 to 1.2-rc7. On
> 32-bit Linux, running
>
> nix-env -u \*
>
> notices that and performs the update. On 64-bit Linux, however,
> it doesn't. No update is performed.
>
> Is that behavior intentional?
Sort of. Wine is built for i686-linux, so it's ignored by default on
x86_64-linux (e.g. it doesn't show up when you do "nix-env -qa wine" either).
You can override this by using the option "--system-filter '*'".
I have an uncommitted patch that makes this the default:
Index: src/nix-env/nix-env.cc
===================================================================
--- src/nix-env/nix-env.cc (revision 22376)
+++ src/nix-env/nix-env.cc (working copy)
@@ -1230,7 +1230,7 @@
globals.instSource.type = srcUnknown;
globals.instSource.nixExprPath = getDefNixExprPath();
- globals.instSource.systemFilter = thisSystem;
+ globals.instSource.systemFilter = "*";
globals.dryRun = false;
globals.preserveInstalled = false;
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list