[prev in list] [next in list] [prev in thread] [next in thread]
List: nix-dev
Subject: [Nix-dev] How can I stop python writing into the nix store?
From: marco-oweber () gmx ! de (Marc Weber)
Date: 2011-04-04 9:37:16
Message-ID: 1301909145-sup-2632 () nixos
[Download RAW message or body]
Excerpts from roconnor's message of Mon Apr 04 08:19:06 +0200 2011:
> What is the best way to stop python from modifying the nix store? I'm
> considiering trying to convince python to write its .pyc or .pyo files at
> build time so it doesn't feel compelled to write them at runtime. Any
> ideas how to do this, or any other solutions to this problem.
I remember that there was patch - but I can't find it. So maybe I was
wrong.
>From python --help:
-B : don't write .py[co] files on import; also PYTHONDONTWRITEBYTECODE=x
would be another option.
> P.S. wicd also writes stuffin into it's share directory in the store. I
> think I will tackle this issue by patching the source code for wicd.
Eelco once came up with a quick solution for this kind of problem for
xorg:
make $out/etc/share point to /var/share/wicd or such.
Marc Weber
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic