<genesis>
rule 1: always write stuff the nearest to what it concerns.
<genesis>
(Kanban)
ryanartecona has joined #nixos
spear2 has quit [Read error: Connection reset by peer]
<genesis>
wiki or tor secret site is the same, people look what it's oki for others derivations, not the differents manual , pills, wiki , readme, and so, i eat a lot of nix stuff this days, but i can't have read all, and coding convention is not always write, it's why people tend to follow others instead of documentation that could be outdated
<sphalerite_>
Is there a way of viewing hydra information (currently most interested in seeing which jobs failed in the most recent nixpkgs eval at https://nixos.org/nixpkgs/manual/#chap-quick-start ) without javascript?
<genesis>
if i were Profpatsch , i could advise you about middle button
<genesis>
you know on a mouse
<genesis>
the little plastic things you use generally in the right hand
<gchristensen>
(genesis: this isn't very funny)
{^_^} has quit [Remote host closed the connection]
<genesis>
yes it's not ...
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<genesis>
sense of humour is a relative thing, i like to be sarcastic.
<genesis>
when people say " Normally I just grep for stuff and look at a few examples."
<{^_^}>
hi samueldr
<samueldr>
hi {^_^}, loks like you got notice powers back!
<samueldr>
looks*
<Profpatsch>
grep is a bit too slow for nixpkgs, you need ag or ripgrep to have any fun, true.
<samueldr>
!tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
* gchristensen
restrains from plugging his search tool
<samueldr>
(I was checking just in case something broke)
<gchristensen>
nice
<Profpatsch>
gchristensen: What’s your search tool?
<sphalerite_>
search.nix.gsc.io
<gchristensen>
I think I'll probably take the ircbot out of the ofborg repo, it doesn't really belong there.
<sphalerite_>
iirc
<gchristensen>
indeed
ryanartecona has quit [Quit: ryanartecona]
<gchristensen>
its my secret weapo
<sphalerite_>
so many things don't work without javascript :(
ryanartecona has joined #nixos
<gchristensen>
sphalerite_: hound's editor integration works without JS
<samueldr>
sometimes it's a necessary evil :(
<Profpatsch>
function finddef { ag "$1.=" ~/nixpkgs }
<Profpatsch>
:)
<Profpatsch>
Works every time!
fragamus has quit [Ping timeout: 265 seconds]
azertyieio has joined #nixos
<gchristensen>
yeah, but hound searches all of NixOS
<simpson>
Profpatsch: It still sounds overengineered TBH. Even if something replaced one of those system libraries, it'd hopefully still be API-compatible. Using the names as the interface sounds fine.
<Profpatsch>
The hello package will not be built if fooSupport is false
<dhess>
so this is something that Nix maintainers should get consistent about.
<Profpatsch>
dhess: What exactly does marking them null gain you?
<dhess>
I happen to agree with Profpatsch that it's unnecessary because of laziness
<dhess>
Profpatsch: don't ask me, I wrote it like you did!
<genesis>
i don't like lz4sSupport , because it's not straightforward, why not lz4Enable ... such things tends to become a nightmare of code ruling
<dhess>
Profpatsch: in other words, I agree with you completely on this. My point was, even amongst Nix maintainers, there is disagreement on this.
<genesis>
dhess : Profpatsch propose at first a set of compressionAlgorithmFlags ...
<samueldr>
unless I'm mistaken, the flag is named this way as it is "to add support for X in package"
<dhess>
genesis: dude, from one long-time FOSS contributor to another, you need to drop it. Patches get rejected by maintainers all the time, for all kinds of reasons. You need to have a thick skin about it. You should know this by now.
<genesis>
people needs some rules to be able to do easily the with/without flags
day|flip has joined #nixos
<gchristensen>
genesis: please listen to dhess
<dhess>
in the time you've been complaining about it, you could have fixed the PR as requested and had it accepted again.
<dhess>
Don't let your pride get in the way of being useful.
<gchristensen>
anyone have a google pixel 2 (XL or not)?
<day|flip>
i'm trying to install a package from cabal. but can't get pass this failed build. i have openssl install. but it still giving me issue. https://hastebin.com/osukaxanox.sql
<genesis>
dhess ; that doesn't resolve the case for all using mkflag/mkwith/mkenable, btw it would be better to have standard expressoin
<genesis>
a noob like me have no idea how to set it in the nix expr
<dhess>
genesis: It would be better to have a *convention*. And these conventions should probably be documented. Perhaps you could open an issue requesting documentation to that effect.
<dhess>
because as you have pointed out, nixpkgs itself is inconsistent on this issue.
<genesis>
dhess : oki but are we agree we need expr that provides such mecanism more than "convention"
<simpson>
dhess: We're talking in the dev channel right now about possible ways to go from a *convention* to a *signature*, or to otherwise unify nixpkgs' stance on this.
<dhess>
simpson: cool, that would be helpful
<dhess>
genesis: I think a convention would be fine but if the devs want to provide a function or other infrastructure to codify it, that would be even better.
<genesis>
i fear the convention without feature will resume to not do that :)
<dhess>
genesis: Nix is a programming language. Even if you provide the feature, you can still do it your own way, just ever so differently ;)
<genesis>
and since it's how people tend to do it, since it's the evident way of doing it, it's hard to prevent fure people doing it that way
<genesis>
s/fure/future
<dhess>
anyway look, not much point on continuing on this track. We agree that Nixpkgs is inconsistent on this matter and it should be made obvious to contributors what is the preferred way. How that is done is up to the devs, and it sounds like they are working on it. So that is good!
<genesis>
yes, i still don't get why it's bad, but i have to stop discusting about that :)
<dhess>
yes, that would also be good :)
<dhess>
anyway, maybe you can just keep an eye out for the new expression/mechanism and re-submit your PR when it is ready
<dhess>
and then everyone is happy again.
oida has quit [Ping timeout: 265 seconds]
<day|flip>
i have two issue. one I can't install HsOpenSSL from cabal-install. and 2) it seem that nix is not reading the extra config I added to /etc/X11/xorg.conf.d/20-intel.conf
noffle has left #nixos ["WeeChat 1.9-dev"]
Lisanna has quit [Quit: Lisanna]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc closed pull request #34778: nixos: export packages of the current configuration (master...os/allow-pkgs) https://git.io/vALeo
catch22 has quit [Remote host closed the connection]
<sphalerite_>
oops, I accidentally included some WIP iPXE stuff there too
<sphalerite_>
but you get the idea. Much less code, can still be overridden not to use the libs by doing something like squashfuse.override { zstd = null; }
<sphalerite_>
and no options to argue about the names for :p
<genesis>
but you don't provide the path
<genesis>
the option -with needs
<genesis>
and why i use mkwith.
<genesis>
like Profpatsch , you don't answer the problem, but you have the right code rule;
<sphalerite_>
Compression support ....... : ZLIB XZ LZO LZ4 ZSTD
Arcaelyx has joined #nixos
<genesis>
because this package is lazy too, it won't disable if it finds the compressor
stephenjudkins has quit [Remote host closed the connection]
<genesis>
it's not what i want because i want to be able to disable a compressor, even if it exists, even if on nix it can't find it anyway
<simpson>
sphalerite_: Does the { zstd = null; } work?
<sphalerite_>
simpson: yep.
<genesis>
that's an exercice for me doing my first derivation
<simpson>
genesis: Fact of life: You *will* have to occasionally do overrides when working with nixpkgs. If a package inside nixpkgs always wants the override, we can do that. If you always want the override, you can do that.
spear2 has joined #nixos
<genesis>
that is that's work because the configure script is not fixed, but when i'll have fixed to be not lazy, i've to redo the stuff
<duncan^>
Does gparted even support ZFS? ZFS is basically a software RAID solution, so gparted would probably need special support for it.
<samueldr>
you're welcome, you were in a tough bind there
<duncan^>
It's not just any old filesystem.
<samueldr>
from the feature page on their website, it seems gparted knows enough to show "it's zfs" and that's it
<duncan^>
Luckily, ZFS is really easy to manage with its native tools.
d4g has joined #nixos
<dhess>
anyone around who manages Hydra builds?
<gchristensen>
what does that question mean?
<dhess>
Let me be slightly more specific: anyone around who is knowledgeable about how Hydra evaluates expressions?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] oxij opened pull request #34797: OpenCL things (master...pkgs/opencl-things) https://git.io/vALVr
NixOS_GitHub has left #nixos [#nixos]
mbrgm has quit [Ping timeout: 260 seconds]
marusich has joined #nixos
<dhess>
I have a release.nix that works fine with nix-build interactively, but when built on Hydra, it complains that one of the jobs is empty. I know the expression that is causing problems and I'm trying to figure out why
<gchristensen>
Hydra prohibits import from derivation, where "myNixOps = super.fetchFromGitHub" is producing a derivation and import "${myNixOps}/release.nix" { is trying to import it
<dhess>
yeah that is what I was afraid of
<dhess>
it's weird because IOHK has a job that evaluates their nixops expression.
ZaraChimera has quit [Remote host closed the connection]
<dhess>
that's why I was looking for domenkozar
<gchristensen>
you could pass in the network via a hydra input and then <mynixopsnetwork>
<clever>
dhess: this does a hydra eval, without installing hydra
<dhess>
oh hehehehe that is a really nice trick!
<clever>
so you can start spraying builtins.trace and lib.traceShowVal all over your code
<dhess>
That won't build on macOS though, right?
<clever>
it may
<dhess>
I assume Hydra has platforms.linux
<dhess>
ok. Well good tool to have anyway
<clever>
error: Package ‘hydra-2017-09-14’ in /nix/store/1ja644zdbff4n0zxpa7p3w40vqj8lxh7-nixpkgs-18.03pre118668.0e4be9e5f0/nixpkgs/pkgs/build-support/release/nix-build.nix:151 is not supported on ‘x86_64-darwin’, refusing to evaluate.
<dhess>
"Jobset contains a job with a empty name" is the bane of my existence
Arcaelyx_ has joined #nixos
i-am-the-slime has quit [Ping timeout: 240 seconds]
<clever>
dhess: all it does is run nix-prefetch-git as the hydra user, no sandboxing involved
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] oxij opened pull request #34798: aspellDicts: add more dictionaries and some documentation (master...pkgs/aspell-dicts) https://git.io/vALwk
NixOS_GitHub has left #nixos [#nixos]
<dhess>
"FIXME: Don't use nix-prefetch-git" :) So maybe not for much longer
<clever>
dhess: if you hit blame, that has been there for 3 years
<dhess>
I think the Hydra override is probably a better way to go. I think it will "just work" with what I've got in my original version, actually
<Profpatsch>
Feel free to add your names, describe what you have already done to create containers, link your projects etc.
<Profpatsch>
Next step is to author a nice list of tooling that might be interesting to work with containers.
Supersonic has quit [Ping timeout: 264 seconds]
<Profpatsch>
And of course get as much links to interesting material and examples in there as possible.
<Profpatsch>
There were even more people interested in that topic, but I don’t remember their names or nicks.
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
ZaraChimera has quit [Quit: Leaving]
spietz has joined #nixos
oida has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] dtzWill opened pull request #1857: configure.ac: check if lzma has MT support, fix deb build/etc. (master...fix/check-for-lzma-mt) https://git.io/vALre
NixOS_GitHub has left #nixos [#nixos]
<dtz>
fixitfixitfixitfixitfixit
<dtz>
:)
hakujin has joined #nixos
rardiol[m] has joined #nixos
hakujin has quit [Ping timeout: 252 seconds]
spietz has quit [Ping timeout: 265 seconds]
iyzsong has joined #nixos
spietz has joined #nixos
pkill9 has quit [Ping timeout: 240 seconds]
zopsi has joined #nixos
spietz has quit [Ping timeout: 248 seconds]
nuncanada2 has joined #nixos
leroux` has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srid>
why can't I install certain fonts like dejavu-fonts? Did something change?
<srid>
> error: undefined variable ‘dejavu-fonts’
<Shados>
Is there a derivation attribute that exposes the propagatedBuildInputs of said derivation's own buildInputs? i.e. that exposes the build inputs propagated to it?
<NixOS_GitHub>
[nixpkgs] noqqe opened pull request #34804: Multiple users with hashedPassword is broken in mosquitto (release-17.03...release-17.03) https://git.io/vALMF
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to gcc-7: https://git.io/vALDt
<NixOS_GitHub>
nixpkgs/gcc-7 5699a12 Vladimír Čunát: Revert "libjack2: fix build with gcc-7 via upstream patch"...
NixOS_GitHub has left #nixos [#nixos]
amfl has quit [Ping timeout: 248 seconds]
<delta_>
does anyone know how to increase the disksize of the vm's created by `nixos-rebuild build-vm`? I always end up copying and tweaking the generated script; there must be a better way...
<delta_>
s/vm's/vms/g
schoppenhauer has quit [Ping timeout: 252 seconds]
<clever>
delta_: its just a normal nixos option you set in the configuration.nix
schoppenhauer has joined #nixos
<delta_>
clever: yeah, I found qemu-vm.nix, but `man configuration.nix` doesn't list `virtualisation.diskSize`, and including it in my configuration.nix gives me an error saying it doesn't exist. Am I supposed to configure that somewhere else?
<clever>
delta_: its only valid in configuration.nix when using build-vm
<clever>
and it wont be in the auto-generated docs due to how build-vm works
<delta_>
clever: ah, ok. I tried putting it the guest configuration.nix (the one you point to with NIXOS_CONFIG) and I get the same error as https://github.com/NixOS/nixpkgs/issues/16076.
<delta_>
clever: Am I missing something else?
<clever>
it will error, then build normally
<clever>
thats normal, side-effects of how build-vm works
<sphalerite_>
does nixos's sshd not allow X forwarding by default?
<delta_>
clever: OH. Thanks! That seems like a really counter-intuitive thing to do, is that documented anywhere?
<LnL>
I have it enabled explicitly so I don’t think so
<sphalerite_>
thanks LnL
arjen-jonathan has joined #nixos
<clever>
delta_: i dont think its documented anywhere
MP2E has quit [Remote host closed the connection]
<dhess>
whoot! nixops deployments working from macOS!
<delta_>
clever: Thanks!
ssmike has joined #nixos
ssmike has quit [Client Quit]
<adisbladis>
dhess: Cool! How did you accomplish that?
<dhess>
adisbladis: first had to get remote builds working. That was thanks to nix-darwin.
<dhess>
adisbladis: then, the only real trick is to make sure you set 'nixpkgs.system = "x86_64-linux"' or whatever in every system config
<dhess>
you don't typically need that when you deploy from NixOS.
<dhess>
and that was it!
<dhess>
adisbladis: I think container deployments are still broken, because there is some code in there that overrides nixpkgs.system or something like that. There's an issue on the tracker about that, I think it's being addressed.
i-am-the-slime has joined #nixos
<clever>
dhess: that option defaults to the same arch as the nix binary that is being used to eval the expressions
<dhess>
clever: yeah, unfortunately it took people a loooong time to figure out that was why macOS deployments weren't working
<dhess>
because the same configs would work fine in NixOS
<clever>
dhess: i would expect the error to be obvious
<dhess>
clever: it was not!
<clever>
dhess: what error did you get?
<dhess>
it was that "An x86_64-linux is required to build ... and I am an x86_64-darwin"
<clever>
dhess: that implies that you havent setup build slaves
<dhess>
yeah but I believe it's the same error in this case as well
knupfer has joined #nixos
<dhess>
there are plenty of issues on the NixOps tracker by this if you're really curious.
spietz has joined #nixos
azertyieio has quit [Ping timeout: 268 seconds]
<dhess>
/by/about/
ma273 has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vALyQ
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/release-17.09 b1cbce8 Florian Baumann: Multiple users with hashedPassword is broken in mosquitto...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #34804: Multiple users with hashedPassword is broken in mosquitto (release-17.03...release-17.03) https://git.io/vALMF
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee opened pull request #34805: lib: make use of visible variable in doRename (master...fix/dorename) https://git.io/vALyd
<nico202>
Hi, is there an helper to create a default.nix to dev on a package based on the expresion in nixpkgs? Right now I'm going to nixpkgs, finding the default.nix of the program I want to work, clone the repository, copy the default inside, replacing src with ./.; and adding the small changes needed. Something a computer can do better than me
rauno has quit [Remote host closed the connection]
<clever>
nico202: that will build the hello-world package, but fetch the source from .
ZaraChimera has joined #nixos
<ZaraChimera>
j #gobolinux
<nico202>
clever: yeah, the next step I'd like would be to create the nix file so that changing dependencies and so on is easier and is saved to a file instead of on the bash history XD
<clever>
nico202: you can just put the string inside the 'single quotes' into a default.nix and nix-build will use it
<clever>
nico202: there is no real difference between putting it all in a file, and using -E
hamishmack has joined #nixos
<nico202>
clever: ok that was stupidly easy. Thanks a lot
<clever>
yep
knupfer has quit [Ping timeout: 265 seconds]
<nico202>
I don't know why but I wanted a file with all dependencies and phases written down, while the override was enough
dbe_ has joined #nixos
ZaraChimera has quit [Remote host closed the connection]
ZaraChimera has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/staging 256ba86 Vladimír Čunát: libtasn1: 4.12 -> 4.13 (security)...
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vAL9A
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/release-17.09 b81861f Vladimír Čunát: libtasn1: 4.12 -> 4.13 (security)...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vAL9j
chisui has joined #nixos
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master da6b85b Richard Marko: nixops-dns: init at 1.0
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALHE
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to gcc-7: https://git.io/vALQI
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/gcc-7 0a941e0 Vladimír Čunát: treewide: avoid fatal warnings from gcc7
<MichaelRaskin>
kiloreux: nix copy --help
<MichaelRaskin>
The idea is that a binary channel is just a directory with files, and how you serve it is your choice.
<typetetris>
MichaelRaskin: What about packages, whose nix expression is reused in different package sets? Like python36.<something> and python27.<something> ?
<kiloreux>
MichaelRaskin, my problem is also making local nix accept that binary cache and use it.
<kiloreux>
Mostly i create new packages on binary caches and mention them but upon configuring my local nix. It doesn't use it really
freeman42x[NixOS has quit [Ping timeout: 252 seconds]
<MichaelRaskin>
typetetris: sometimes you list with comma as separator, sometimes you write pythonPackages… Read CONTRIBUTING.md and user your judgement. Also, if you don't guess you just force-push with new messages and ping the committer who has complained.
<typetetris>
ok
<MichaelRaskin>
kiloreux: wherever you keep your binary cache, you need to add its URL to Nix configuration.
<MichaelRaskin>
And nix copy handles both the package dump and metadata, of course.
thc202 has joined #nixos
aarvar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] typetetris opened pull request #34809: bumped pythonPackages.msgpack, pythonPackages.neovim and created pythonPackages.msgpack-transitional (master...master) https://git.io/vALQi
NixOS_GitHub has left #nixos [#nixos]
gamambel has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALQS
<trikl[m]>
I'm trying to use the font xits-math with latex. After installing xits-math, the font files are linked in `.nix-profile/share/fonts/opentype` but `fc-cache -f -v` does not find them. Strangely enough, it finds other fonts in the same dir. Any ideas?
arjen-jonathan has quit [Ping timeout: 248 seconds]
akl has quit []
akl has joined #nixos
terrorjack has quit []
<trikl[m]>
Sorry, I stand corrected, it does find them
<trikl[m]>
But the cache wasn't rebuild after installing xits-math
<MichaelRaskin>
I would start with a lesser measure.
<MichaelRaskin>
Four months with no updates and the author has commit access.
<MichaelRaskin>
(Doesn't matter if access obtained before or after the latest update)
<infinisil>
MichaelRaskin: why commit access?
<gchristensen>
because they're not fusssed to merge it themselves
<infinisil>
ah
<MichaelRaskin>
Or think that it requires some agreement and we all know that Nixpkgs fail to reach agreement.
<genesis>
does it could be some issue using a nix version different as user vs non-nixos OS one ?
<genesis>
s/could it be/
<LnL>
you mean the client version not matching the daemon?
<genesis>
yes
<LnL>
that should be fine
<genesis>
oki thanks.
<MichaelRaskin>
Running a newer client than the daemon does make sense in many cases, and if the difference is small enough, that should be fine.
<LnL>
I think there's a small bug with output streaming if you use some combination of 1.x and 2.x but ti should be fine for the most part
<MichaelRaskin>
(I think I haven't ever heard of hidden failures of Nix socket protocol mismatch — if it doesn't complain, it works)
<genesis>
i don't do critics things , just want to know
<kiloreux>
Would a nix store work correctly if mounted as read only ?
<kiloreux>
Or is there some requirements?
<MichaelRaskin>
kiloreux: for what operations?
nico202 has quit [Ping timeout: 256 seconds]
<MichaelRaskin>
Running stuff from Nix store without any modification works fine even if you just tar the /nix/store without metadata and unpack it and mount that read-only
<kiloreux>
I'm trying to have my binaries used by many docker containers. So I am thinking about read only volume for /nix directory
ma27 has joined #nixos
<kiloreux>
That I mount into containers and they use the binaries
<MichaelRaskin>
Yes, that's fine
Mateon3 has joined #nixos
<kiloreux>
So one volume can used by many containers fine ?
orivej has joined #nixos
<MichaelRaskin>
It won't care anyway
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<MichaelRaskin>
You have multiple read-only bind-mounts, for the volume it is just a lot of reads.
<kiloreux>
Well mostly speaking about a big production system and pipeline to run those.
<MichaelRaskin>
But if you expect that the load would be fine without containers, mounting Nix store into containers read-only won't make the situation worse. Or better.
<infinisil>
mojjo: I've been wanting to do something like this, would be really useful. don't think there's an easy way for now
<MichaelRaskin>
I would actually hope that mounting Nix store into containers is better than creating huge images: unless there is some pretty paranoid side-channel mitigation, reading glibc from the storage would be cached once and the cache would be used by everything
<MichaelRaskin>
(it makes sure that identical files from different packages are hardlinks to the same inode, so the caching knows it is the same data to cache once)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALFs
<NixOS_GitHub>
nixpkgs/master 3df98ef gnidorah: vkquake: init at 0.97.3
<kiloreux>
I suppose that should be done at build time ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda opened pull request #34810: home-assistant: remove dependencies which should be loaded via autoExtraComponents (master...home-assistant) https://git.io/vALF0
NixOS_GitHub has left #nixos [#nixos]
<kiloreux>
MichaelRaskin, Or after mounting the volume ?
<MichaelRaskin>
It is a separate operation that can be done whenever
<MichaelRaskin>
I guess there are some details that nix-store --optimise reads a lot and so messes up the caches while it runs…
<kiloreux>
So running it at the start should save some time i suppose
<betaboon>
hello #nixos, i have a question regarding nixops and deploying to an already existing nixos-machine. nixops is using the root user, right? so do i have to permit RootLogin for ssh?
<MichaelRaskin>
Of course its effects persist even if you do build afterwise — the new stuff won't be deduplicated, but the old one stays.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vALFr
<NixOS_GitHub>
nixpkgs/master ed5064c Linus Heckemann: otter-browser: init at 0.9.94
<NixOS_GitHub>
nixpkgs/master 49d4e6c Linus Heckemann: otter-browser: use qt5.callPackage, fix licence
<juhe>
Hi, I've trouble getting wxpython working, after running python interactive shell and issuing "import wx" I get an error message import error no module named wx even though wxpython is installed and its wx.pth available in /run/current-system/sw/lib/python2.7/site-packages/ directory. Any idea/pointer how to get wxpython working?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vALF6
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 9f24e68 Frederik Rietdijk: Merge pull request #34810 from dotlambda/home-assistant...
<NixOS_GitHub>
nixpkgs/master 6fb6616 Robert Schütz: home-assistant: remove dependencies which should be loaded via autoExtraComponents
<infinisil>
I just had the idea to go through all github repositories by descending star count and package the first one for nixpkgs that isn't already packaged
etu has quit [Read error: Connection reset by peer]
<infinisil>
300000 stars for some webdev coding camp damn
vcunat has quit [Ping timeout: 240 seconds]
etu has joined #nixos
<infinisil>
Oh and oh-my-zsh is very high up with 65000 stars, I guess that explains everybody using it
<lexwhatever>
juhe I'm not aware how to implement solution for your problem in Nix lang. But use virtual envs, just on bare NixOS, so far they work for me. If python app requires FHS you may look at https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F. Docker should work too.
<lexwhatever>
juhe you may firstly try nix-env -iA nixos.python27Packages.wxPython
<hyper_ch>
stars?
<hyper_ch>
I have a total of 8 stars
<infinisil>
hyper_ch: 15 for me, take that
<juhe>
lexwhatever: thanks, will check that page out, I've workarounded it for the time being by checking what strace says and found out it tries to read stuff from ~/.local/lib, so I used "ln -s /run/current-system/sw/lib/python2.7 ~/.local/lib/" and it seems working.
<hyper_ch>
infinisil: I don't like too much publicity :) I prefer to stay in the background
<infinisil>
hyper_ch: a true hackerman
<lexwhatever>
infisil I like how FISH works out of the box, with batteries included https://www.youtube.com/watch?v=0NOAUogSSMo . so far, fish works for me fine. not as main but as additional sub shell. man bases argument autosuggestion is killer feature. I also tried Xonsh, but Xonsh don't play well with pypy, venv and have immature bugs.
nico202 has quit [Ping timeout: 260 seconds]
<FRidh>
do *not* nix-env python libraries
<infinisil>
lexwhatever: the video doesn't demonstrate more than default behaviour, i know that zsh can be customized a lot
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALbE
<NixOS_GitHub>
nixpkgs/master 9b85e31 Maximilian Bode: terraform-landscape: init at 0.1.17
<lexwhatever>
sounds like you made dirty hack juhe, I beleive nix-env -iA nixos.python27Packages.wxPython should bring wx to your user scope. also if nix-env will solve this, you may code\automate\log\document that as nix expression in ~/.config/nixpkgs/config.nix or overlay
<infinisil>
lexwhatever: i for example have things like "press Ctrl-G to interactively list all recently/frequently used files and open the one selected in vim"
<lexwhatever>
infinisil the this that selling FISH to me: zsh CAN be customized (and user will spent time on that), but FISH already works out of the box with same degree of features, no need to jerk configs
michaelpj_ has joined #nixos
<infinisil>
lexwhatever: features != customization
<infinisil>
but i assume fish can be customized well too
<lexwhatever>
i for example doesn't have to press CTRL-G, as fish autosuggest me all used shit when I began type
<infinisil>
i mean i'm using stuff like fzf and fasd for that demo
<juhe>
lexwhatever: Having nixos.python27Packages.wxPython in environment.systemPackages doesn't make sense if it doesn't work as I expected. I like the nix-env solution more, though question remains why FRidh doesn't like it...
<mojjo>
is it possible to define a recursive type with nix's type for module options?
<infinisil>
hyper_ch: finally something useful to do with all my wet strings
<hyper_ch>
infinisil: :)
<infinisil>
mojjo: probably, what are you thinking of?
niklob has quit [Ping timeout: 248 seconds]
yann-kaelig has joined #nixos
<mojjo>
let t = types.attrsOf (types.either types.string t)
ThatDocsLady has quit [Ping timeout: 276 seconds]
<mojjo>
{ foo = ""; bar = { x = "" }; }
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vALNe
<NixOS_GitHub>
nixpkgs/master 713a69d Daniel Schaefer: nixos/acpid: pass event parameters to handler (#34190)...
NixOS_GitHub has left #nixos [#nixos]
<FRidh>
juhe: installing python modules directly is not supported. See the Nixpkgs manual.
<infinisil>
mojjo: yeah that should work
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master b8f6510 adisbladis: wordgrinder: Fix darwin build
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vALNk
<infinisil>
mojjo: type = let t = types.attrsOf (types.either types.string t); in t;
<typetetris>
puh hopefully my pr is acceptable now :)
betaboon has quit [Quit: WeeChat 1.9.1]
vidbina has joined #nixos
<toppler>
Hey. I'm trying to install project-m36, but the dependencies are broken. There's a stack.yaml file in the git repo. Do I just need stackage2nix at this point?
vidbina has quit [Ping timeout: 268 seconds]
<typetetris>
Is there some program like stylish-haskell or gofmt for `.nix` files?
<guido_>
LnL: setting the package? I did set services.ipfs.enable = true; is that what you mean?
<guido_>
and why would it work with Postgres in the manual, but not with ipfs?
<tilpner>
You have two channels, you didn't replace the old one. That's probably where it gets the old ipfs from
<LnL>
no, I'm talking about services.ipfs.package or nixpkgs.overlays
<tilpner>
Do you want to switch to unstable, or just use ipfs from it?
<LnL>
guido_: the example would only update the services.postgresl.* options not the postgres version
<guido_>
I want to keep running stable for everything but run ipfs from unstable, as that has some important fixes.
<LnL>
did the configuration/module change or just the package?
<guido_>
I have: disabledModules = [ "services/network-filesystems/ipfs.nix" ]; and in imports: <nixos-unstable/nixos/modules/services/network-filesystems/ipfs.nix>
<genesis>
i have all my files in /nix/store/jxli96vmaxgjydznwidwvw9yc9vw26ik-qmc2-0.192/nix/store/jxli96vmaxgjydznwidwvw9yc9vw26ik-qmc2-0.192 , but no files in my profiles
mkoenig has quit [Ping timeout: 260 seconds]
<genesis>
i wonder what happens.
mkoenig has joined #nixos
mkoenig_ has joined #nixos
mkoenig__ has joined #nixos
<sphalerite_>
genesis: the path seems to be doubled..?
mkoenig_1 has joined #nixos
mkoenig_2 has joined #nixos
obadz has joined #nixos
<genesis>
hum
<genesis>
thanks.
obadz has quit [Client Quit]
<sphalerite_>
@nix {"action":"msg","level":0,"msg":"\u001b[31;1merror:\u001b[0m called without required arguments\nTry 'build-remote --help' for more information."}
obadz has joined #nixos
<genesis>
so i've it in ~/.nix-profile/nix/store/jxli96vmaxgjydznwidwvw9yc9vw26ik-qmc2-0.192/ made a mistake in the makeflags.
<sphalerite_>
Anybody seen this error while trying to build nixos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAtea
<LnL>
sphalerite_: do you have build machines enabled?
<sphalerite_>
LnL: I did, just disabled them but am still getting the same hting
<sphalerite_>
weird, it only seemed to occur from that shell. I started a new one and it's fine
<LnL>
the hook is supposed to get the build verbosity as an argument IIRC
<samueldr>
diff the output of `env` maybe?
<sphalerite_>
too late, I closed the broken one like an idiot…
<samueldr>
next time :)
<sphalerite_>
but I have a suspicion
<sphalerite_>
can this occur as a result of using nixUnstable with a 1.11.x daemon?
jmiven has quit [Quit: co'o]
jmiven has joined #nixos
<LnL>
possibly, I don't know how the 1.11 hook works
freeman42x[NixOS has quit [Ping timeout: 276 seconds]
ma27 has quit [Ping timeout: 276 seconds]
ma27 has joined #nixos
<lexwhatever>
I would like to point to the problem in https://nixos.org/nixpkgs/manual/#python , there is not enough documentation for buildPythonPackage . as tried to point src = ./myfile.py . nix-build compains src is not an archive. I archived myfile.py and made change src = my1pythonfile.tar.gz , now error : unpacker appears to have produced no directories
<lexwhatever>
any help ? want to make simple nix package from 1 local file
<lexwhatever>
with import <nixpkgs> {};
<lexwhatever>
with pkgs.python35Packages;
<lexwhatever>
buildPythonPackage rec {
<lexwhatever>
name = "mypackage";
<lexwhatever>
src = ./abube.py ;
<lexwhatever>
propagatedBuildInputs = [ ];
<lexwhatever>
}
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #34021: boomerang: switch to new active fork, cleanup, maintain (master...update/boomerang-20180118) https://git.io/vN075
NixOS_GitHub has left #nixos [#nixos]
<sphalerite>
lexwhatever: buildPythonPackage is intended to work on tarballs packaged the standard (if you can call it that...) Python way, with a setup.py that does the installation
humanoyd has joined #nixos
etu has quit [Ping timeout: 248 seconds]
ericsagnes has quit [Ping timeout: 255 seconds]
ericsagnes has joined #nixos
<lexwhatever>
k, will try to write unnecessary setup.py, around my simplesinglefilescriptwithnodependencies.py . and then nix-expression package around it :) seems like a somewhat amount of work to distribute simple single script without dependencies
chreekat has quit [Remote host closed the connection]
<lexwhatever>
vs alternative when target_user could just "git clone" it
chreekat has joined #nixos
<lexwhatever>
and it just works! (TM)
ericsagnes has quit [Ping timeout: 248 seconds]
<lexwhatever>
despite my script is not even intended to be uploaded to pypi\repos
<symphorien>
lexwhatever: you can try mkDerivation { name = ..., installPhase = 'cp ${./file} $out'; buildInputs = [python] #for patchShebangs }
<lexwhatever>
does it will be fine to use stdenv.mkDerivation with builder.sh: cp myfile.py $out ? or any other fine alternatives to avoid writing setup.py?
<lexwhatever>
oh :D
<lexwhatever>
:3
endformationage has joined #nixos
freeman42x[NixOS has joined #nixos
zzamboni has quit [Quit: Leaving.]
i-am-the-slime has quit [Ping timeout: 256 seconds]
<sphalerite>
lexwhatever: yeah I wasn't saying that's necessarily what you should do, just that that's what buildPythonPackage is for
ericsagnes has joined #nixos
<sphalerite>
lexwhatever: what symphorien suggested should work unless you have some dependencies that aren't part of python
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vAtJt
<sphalerite>
in which case I'd suggest doing the same thing, but with `(python.withPackages (ps: with ps; [foo bar baz]))` instead of python, where foo, bar, and baz are the packages for the dependencies of your script
chreekat has quit [Ping timeout: 255 seconds]
chreekat has joined #nixos
<infinisil>
lexwhatever: you may want to try buildPythonPackage and setting `format = "other";` which disables setuptools specific stuff, but still does the cpython stuff wrapping
<infinisil>
lexwhatever: See nixpkgs/pkgs/development/interpreters/python/{build-python-package,mk-python-derivation}.nix
<simpson>
You can bump your Mesa version in your local nixpkgs and see what happens.
vidbina has quit [Ping timeout: 240 seconds]
chreekat has quit [Quit: quitting]
<simpson>
However, are you sure you want a development version?
periklis has joined #nixos
i-am-the-slime has joined #nixos
<Aleksejs>
simpson: I've read that mesa 17.4 fixes one bug in Civ6 and I want to try if it works
<simpson>
Aleksejs: Makes sense. Bump the version and nixos-rebuild to victory.
arjen-jonathan has joined #nixos
pSub has quit [Remote host closed the connection]
<infinisil>
Aleksejs: Civ6?
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
<Aleksejs>
civilization 6
<simpson>
infinisil: Civilization 6, a popular turn-based strategy game.
<infinisil>
Ah, where can i find it in nixpkgs?
<simpson>
Get Steam and then pay $60 USD, I'm afraid.
<infinisil>
oh steam i see
<infinisil>
Doesn't steam deliver all the libs itself? If so it might not be possible to update to mesa17.4 for it
<infinisil>
if i understand that correctly
<simpson>
No, steam doesn't come with DRI drivers or GL.
oida has joined #nixos
<infinisil>
Ahh I see
<simpson>
Or at least I haven't seen that happening. It's certainly *possible* on Linux to ship your own graphics drivers, more or less, but the only folks I know of who do that on a big scale are Google.
kiloreux_ has joined #nixos
<infinisil>
simpson: would you have to ship a driver for every GPU with the program then?
ThatDocsLady has joined #nixos
<infinisil>
more or less?
pddalm has left #nixos ["Auf Wiedersehen"]
<simpson>
You could pick and choose. You could start a probe program, say glxinfo, and use its output to consider whether you want to load your own driver into your context.
iqubic has quit [Remote host closed the connection]
kelleyNif has joined #nixos
kiloreux has quit [Ping timeout: 248 seconds]
kelleyNif has quit [Client Quit]
<infinisil>
simpson: isn't the opengl driver a common problem for nix packages on other distros? Could this be solved somehow by wrapping programs with a driver from nix itself?
vcunat1 has quit [Quit: Leaving.]
vcunat has joined #nixos
<genesis>
it is definitly ;)
<genesis>
very hard to handle since it gl init is different between software.
<simpson>
infinisil: Kind of. The precise ABI between the OS and the driver is very unstable on Linux, so it's risky to do that.
spear2 has joined #nixos
<simpson>
...Okay, I shouldn't say that. It's *considered* unstable and can break, but it changes very rarely. It's changed enough that 20yr-old drivers don't work, that 10yr-old drivers don't work, and probably that 5yr-old drivers only work on 5yr-old GPUs.
<infinisil>
Hmm
orivej has joined #nixos
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<Aleksejs>
I think they renamed 17.4 to 18.0
<Aleksejs>
at least I can't see 17.4 here ftp://ftp.freedesktop.org/pub/mesa/
<simpson>
Well, as the docs say, 17.4.0 is a development release.
coot has quit [Quit: coot]
<simpson>
Mesa's major version number indicates its GL support, so Mesa 18 supports a different (newer, "better") GL version, GL 4.6 or whatever.
i-am-the-slime has quit [Quit: Konversation terminated!]
<simpson>
Anyway, for *testing* purposes, feel free to use that 18.0.0-rc4 tarball. That's a *release candidate*, so you're supposed to test it, and I'm sure that the Mesa team would love to hear whether it fixes/breaks your Civ6.
<vcunat>
No, mesa's first number indicates the year of release.
<simpson>
Huh, when did that change?
<simpson>
Well, okay. Year-of-release is far more useful anyway.
<vcunat>
A year ago? I'm not sure.
azertyieio has joined #nixos
<vcunat>
There was a jump 13 -> 17 or similar.
<simpson>
Yeah, the numbers weren't so far off.
<simpson>
I figured that the jump was because Intel or Collabora or somebody did a big code spike and added a bunch of GL features all at once.
<ottidmes>
I just tried to write an assertion for the first time in NixOS, but it did not work the way I expected it to. I get an error for a missing attribute, something I check for in my assertion, but since apparently the assertion is run afterwards, I get that error instead of the assertion failing. How should I work around this?
aarvar has quit [Ping timeout: 256 seconds]
<chisui>
Hey, I am trying to set up a simple Nix project with haskell but can't get it to compile. There seems to be some kind of version conflict with th-desugar and template-haskell but I know to little about Nix to even start to investigate that issue. https://gist.github.com/chisui/e3b44cb90b729b15ae7b277118c50a2c
<vcunat>
Now yy.n are feature releases, and the third number is for bugfix updates.
<infinisil>
I don't understand, share your code?
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 52628a2 Peter Simons: hackage2nix: disable broken builds
<NixOS_GitHub>
[nixpkgs] peti pushed 12 new commits to master: https://git.io/vAtT2
<NixOS_GitHub>
nixpkgs/master c8bc616 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub>
nixpkgs/master 1d4529c Peter Simons: cabal2nix: compile with hpack 0.25.0
NixOS_GitHub has left #nixos [#nixos]
griff_ has quit [Quit: griff_]
<ottidmes>
infinisil: To who are you replying?
<infinisil>
ottidmes: ah right, you
<infinisil>
ottidmes: code and error
<ottidmes>
infinisil: Ah, great, I will paste it somewhere
<infinisil>
ottidmes: ah, so you want it to only throw an error when there are invalid users?
<ottidmes>
infinisil: So I tried to just explicitly set the assertion to false, to make sure the assertion should fail, but I first get the error that attribute does not exist
<ottidmes>
infinisil: Yeah, assertion = length invalidSystemUsers > 0; should do that, but instead of it failing, it will fail first on the missing attribute error
<infinisil>
ah, well then the error isn't in the assertion but somewhere else
<ottidmes>
infinisil: The error is in: users = map (name: { uid = uids.${name}; inherit name; group = name; }) cfg.systemUsers;
<ottidmes>
infinisil: Where uids.${name}, i.e. uids.www-data, is missing, which I hoped my assertion would have guarded me against, giving a more useful error
JosW has joined #nixos
<infinisil>
ah i see, you want the assertion to prevent that
<ottidmes>
right
arjen-jonathan has quit [Ping timeout: 240 seconds]
* infinisil
thinks
<ottidmes>
The assertion should have failed at that point already and given a more useful error message then the general "attribute missing" error
<infinisil>
I gotta say I'm confused by your module, the whole uid and gid stuff
<infinisil>
are these config.ids.{gids,uids} automatically assigned somewhere?
<srhb>
ottidmes: Aren't you missing a mkIf or something to lazify the module?
<ottidmes>
srhb: Good idea, that would likely solve my problem
<srhb>
Yeah. :)
<infinisil>
I'm not sure how that would work though, there's nothing to lazify
hask_bee_3 has joined #nixos
zzamboni has quit [Quit: Leaving.]
Arcaelyx has joined #nixos
<srhb>
Why not? If the import alone triggers evaluation of an attribute that doesn't exist, you're boned.
zzamboni has joined #nixos
xcmw has joined #nixos
<ottidmes>
I tried some things with mkIf, but that did not seem to work, but if can somehow make sure it first evaluates the assertions, then I have the behavior I want, where making it somehow lazy might work
<srhb>
Oh, I see. uids.www-data doesn't exist at all?
<ottidmes>
Noe it does not
<ottidmes>
An easy fix would be to filter those that are valid
<srhb>
Yeah, that's the right approach
<infinisil>
ottidmes: I think you should have one assertion per systemUser
<ottidmes>
Assertions are likely not built-in, so I can imagine this is the only way, but it goes against my expectations
xcmw has quit [Client Quit]
periklis has quit [Ping timeout: 255 seconds]
<srhb>
THey are built in, and you could use it in the map
<ottidmes>
srhb: Nice to know! Then I might just create a list of valid users first, so I have to do it only at one place
<infinisil>
does this work? assert isn't lazy, which might not work with the module system
<srhb>
Assuming validUser doesn't fail itself
<srhb>
Otherwise yeah, no amount of asserting will help.
<ottidmes>
And are these hasAttr really necessary? hasAttr name uids && hasAttr name gids && uids.${name} < 499 && uids.${name} == gids.${name}
<mojjo>
does any body have an idea how to generalize the following: `with types; either A (either B (either C D))`? For this kind of sum type I don't want to nest too much...
<ottidmes>
I assume they are otherwise I will get a missing attribute error, but this the right approach, just checking them all
<infinisil>
mojjo: what are you using it for?
<mojjo>
infinisil: type checking for module options...
<infinisil>
duh
<infinisil>
i mean more specifically
<infinisil>
because either is not like "Left a | Right b" in haskell, it's more like a "a or b, but i don't tell you what it is"
athan has quit [Ping timeout: 256 seconds]
<mojjo>
infinisil: ha.. well, you remember some hours ago... my question with the tree... I just have a module that can be configured by a configuration tree. Each node can either be of type1, type2, .... or the recursive type of itself... So I'm just wondering is I can get rid of the eithers....
nico202 has joined #nixos
<mojjo>
infinisil: yeah, sure. I understand the either.. The nesting works well, for more than 4 it looks just a bit silly :)
<infinisil>
i mean you could do a binary tree with `either (either A B) (either C D)` :P
athan has joined #nixos
nico202 has quit [Client Quit]
<infinisil>
or you could write the type yourself
<infinisil>
mojjo: What kind of module are you writing to require a tree type?
<mojjo>
interestingly, even this little helper function does not work: `alts3 = a: b: c: either a (either b c);` (error: stack overflow (possible infinite recursion))
<mojjo>
infinisil: ah, I just figured out, that I'm using lot's of shorthands/helperscripts which are namespaced 'foo-bar-baz', and so I like to define them as a tree { foo: { bar: ...;}
<infinisil>
mojjo: can you share your code? The stack overflow doesn't seem related
ditadi has joined #nixos
<ditadi>
Does anybody know if it's possible to remap Tab and Escape keys using xkbOptions?
<Baughn>
What's the right way to share a NIC with a container, letting it get its own IP address from the network?
<infinisil>
ditadi: I don't think so, not for Tab, but there are some options for escape
<infinisil>
ditadi: there's caps:swapescape which swaps escape with caps lock, and caps:escape which makes caps lock another escape
<infinisil>
ditadi: if you need help with keylayout customization, i can help you
<ditadi>
Ahh ok, that confirms my suspision as I wasn't able to find anything online. Thanks!
<ditadi>
I already mapped CTRL to caps, and I wanted to use Tab as ESC
<MichaelRaskin>
Maybe use xmodmap?
<ditadi>
That might be my only way
<MichaelRaskin>
The only simple way, at least.
<ditadi>
Without brining on even more extra 3rd party software
<MichaelRaskin>
You can always override xkeyboard-config to add a new layout
<infinisil>
i am using a customized xkb layout file, and loading that through xkbcomp
<ottidmes>
infinisil: srhb: Thanks for the help, it now works the way I wanted it to!
<MichaelRaskin>
I have a long xmodmap script.
niklob has quit [Ping timeout: 268 seconds]
<ditadi>
I'll try the simplest approach first
<chisui>
how do I get nix to use another version of a package? I read that there are things like overlays, but couldn't find any good tutorials on how to use them
<genesis>
the only i can do it remove i686 support in the sdlamame nix derivation.
<infinisil>
ditadi: and at the top you can see how i defined mine
rauno has quit [Ping timeout: 248 seconds]
<woffs>
genesis: there are unfortunately several packages which do not compile for i686. I have problems compiling libreoffice for instance.
<lexwhatever>
infinisil, I tried format="other"; sounds good in theory, but in practice nix evaluates it to "configure ; make install
<lexwhatever>
"
<lexwhatever>
and fails, cause there is no makefile with "install" target
<infinisil>
lexwhatever: and when you define your own build phase to be just ":"?
<lexwhatever>
and nix is here hard to debug because it heavily relies on bash https://github.com/NixOS/nixpkgs/search?utf8=%E2%9C%93&q=No+rule+to+make+target&type= so we can't find pice of code that produce this output, cuz its produced by make binary. and nix-built --show-trace -v 5 don't show line numbers and trace useful like python throw traceback for example
* lexwhatever
goes afk for awhile
<infinisil>
lexwhatever: am confused, you're blaming nix for what exactly? Just defined your own build phase, maybe look at examples in nixpkgs that use format = "other"
<lexwhatever>
k, np, could you kindly demostrate example how to define my own build phase?
zzamboni has joined #nixos
<infinisil>
lexwhatever: and i guess if it's just a simple script of a single file, you can just `pkgs.writeScript "foo" ''#!${pkgs.python}/bin/python ...''
<ditadi>
Is there a way to restart x11 server so that my tmux sessions are kept alive?
<infinisil>
lexwhatever: (i'm not sure if bin/python works for shebangs, but smth like that)
<symphorien>
lexwhatever: didn't what I suggested you work ?
ditadi has quit [Quit: WeeChat 2.0]
* lexwhatever
expirimenting
ditadi has joined #nixos
<symphorien>
:)
* lexwhatever
goes afk in to the shadows
<ditadi>
Alright, so my tmux sessions were still alive but weechat didn't want to open back up inside of tmux for some reason so I had to restart weechat.
<ditadi>
Actually, I'm not sure about that as I have tmux sessions started by xmonad on restart.
zzamboni has quit [Quit: Leaving.]
<ditadi>
The Esc<->Tab mapping swap persisted after X11 restart. Thankyou very much infinisil!
<infinisil>
ditadi: glad i could help :)
mojjo has quit [Ping timeout: 255 seconds]
niklob has quit [Remote host closed the connection]
niklob has joined #nixos
<infinisil>
Whew, I finally made it so that the power key on my laptop doesn't shut it down
<infinisil>
was really annoying to accidentally do that
ThatDocsLady has quit [Ping timeout: 240 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<aminechikhaoui>
btw they're never rebuilt, just pulled again from the binary cache in case of cache miss
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vAtmh
<NixOS_GitHub>
nixpkgs/master 0905e5e Daiderd Jordan: qt59-qtbase: fix darwin build
NixOS_GitHub has left #nixos [#nixos]
<elvishjerricco>
aminechikhaoui: I was asking about hydra in general, but that's helpful :)
<hask_bee_3>
When we execute a program in a Nix shell on macOS, are we guaranteed that nothing from the global macOS namespace (for instance /usr/local) is ever used?
<elvishjerricco>
aminechikhaoui: The reason I ask is that the CPU require for compressing nars for large builds is significant. So are these ever rebuilt at all?
<elvishjerricco>
hask_bee_3: I think you can guarantee that by turning on the Nix sandbox setting, IIRC. But it's not the default, no
<MichaelRaskin>
hask_bee_3: no
<hask_bee_3>
Hmm. I'm surprised it isn't the default. Wasn't that the whole point of Nix - to keep things isolated from the main system?
<hask_bee_3>
I think I'm missing the point.
<MichaelRaskin>
There is work on isolating _the builds_
<MichaelRaskin>
Of course isolation is better on Linux, but there is always work on improving isolation both on Linux and on MacOS
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 4 new commits to release-17.09: https://git.io/vAtYC
<schoppenhauer>
seems like nobody was/is interested in mono under nixos.
<MichaelRaskin>
But I mean, you obviously can just go and open a file in /usr/share by a Nix-installed text editor.
<schoppenhauer>
hm.
<schoppenhauer>
at least not in programming with mono under nixos.
ma27 has joined #nixos
<MichaelRaskin>
schoppenhauer: you are trying to complain about a PR being ignored?
<hask_bee_3>
MichaelRaskin So it's a matter of using best practices then, isn't it? The best practice being to just not ever use those global things, even if you technically can.
<schoppenhauer>
no
<schoppenhauer>
MichaelRaskin: no
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis opened pull request #34819: Go cve 2018 6574 (master...go-CVE-2018-6574) https://git.io/vAtYR
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin>
Then I guess you problem is harder to fix…
lexwhatever has quit [Ping timeout: 260 seconds]
<schoppenhauer>
MichaelRaskin: I just cannot find any information on how to use mono under nixos … :\
<schoppenhauer>
there are lots of mono package
<schoppenhauer>
s
<schoppenhauer>
but I have no idea … "why"
<MichaelRaskin>
hask_bee_3: well, if something always breaks things, it is probably patched out. If a program does a stupid thing with manual search of program binaries to launch which falls back to PATH — well, that may go unnoticed for some time, and unfixed for some more time
genesis has quit [Ping timeout: 240 seconds]
<MichaelRaskin>
schoppenhauer: for a lot of thing you just install mono and run the binaries…
<schoppenhauer>
MichaelRaskin: and how do I install mono?
<MichaelRaskin>
Package called mono
<schoppenhauer>
ah.
<schoppenhauer>
my bad.
<vcunat>
:-)
<schoppenhauer>
MichaelRaskin: what about dotnet core?
<hyper_ch>
infinisil: bored?
<MichaelRaskin>
Is it the same as dotnet-sdk?
<infinisil>
hyper_ch: semi-bored
<hyper_ch>
infinisil: I'm updating my encrypte-root-zfs-auto-installer :)
<hyper_ch>
so that it will be pretty much auto install (after few questions)
<hyper_ch>
step 1: run kexec to have nixos install environment
<hyper_ch>
step 2: grab script and run
<hyper_ch>
step 3: grab coffe, wait around 15-20 min
<hyper_ch>
step 4: reboot into encrypted ixos
<schoppenhauer>
MichaelRaskin: error: selector ‘dotnet-sdk’ matches no derivations
<MichaelRaskin>
Well, it is the attribute name
<schoppenhauer>
ah, it is only in unstable
<schoppenhauer>
not in stable yet
<MichaelRaskin>
See? There is some dynamics!
<MichaelRaskin>
(Not sure it is the package you need, though)
arjen-jonathan has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master e05a05e Franz Pletz: altcoins.sumokoin: init at 0.2.0.0
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vAtYj
<NixOS_GitHub>
nixpkgs/master 41b3a76 Franz Pletz: altcoins.dero: init at 0.11.3
<hyper_ch>
still need to figure out how to do that encrypted swap
genesis has joined #nixos
<azdle>
MichaelRaskin: I was just waiting for it to tell me that the hash was wrong and what the right hash actually was because I'm lazy. It hasn't failed on that yet.
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
<infinisil>
hyper_ch: I heard it wouldn't work well, soo
<azdle>
vcunat, I don't see what you mean.
<MichaelRaskin>
That's why experienced people do a random change in the hash when doing !tofu on preexisting packages
<genesis>
yep but on biger stuff it's not really usefull ...
<azdle>
Ooohh, so it's using something from a cache?
<NixOS_GitHub>
[nixpkgs] thoughtpolice pushed 1 new commit to master: https://git.io/vAtOj
<dhess>
TIL that Chez Scheme is owned by Cisco.
alex`` has quit [Quit: WeeChat 2.0.1]
<hyper_ch>
I don't really understand that encrypted swap thing
zzamboni has joined #nixos
chisui has quit [Ping timeout: 260 seconds]
Lisanna has quit [Remote host closed the connection]
ryantrinkle has joined #nixos
<abathur>
does anyone have a relatively simple setup that enables remote desktop to the full local session? I got teamviewer working after chasing xrdp in circles for a bit, but not keen on teamviewer as a long-term solution. Have a small preference for RDP because I've already got multiple clients/routers installed/configured around it, and I need to do some remoting from lower-quality networks.
alex`` has joined #nixos
<ldlework>
rycee are you around?
<samueldr>
♥ nixos, on which hardware failure in the storage medium is a mild inconvenience (when data isn't lost)
<ldlework>
I'm wondering why HM does not symlink things that are ~/.nix-profile/Applications to ~/Applications ?
kiloreux_ has quit [Remote host closed the connection]
yann-kaelig has quit []
kiloreux_ has joined #nixos
<hyper_ch>
abathur: if you set it up in a vm using virt manager you could then use like virtviewer or virtmanager
<abathur>
It sounds like xrdp could work if it was proxying x11vnc, but it looks like I would have to override how xrdp is configured to get that working, since nix seems to strip out all session types except for xorg
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master b85f2eb Michael Weiss: android-studio-preview: 3.1.0.9 -> 3.1.0.10
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vAtGi
<NixOS_GitHub>
[nixpkgs] dotlambda opened pull request #34821: qmediathekview: set platforms to unix (master...qmediathekview) https://git.io/vAtnn
NixOS_GitHub has left #nixos [#nixos]
<Xaln>
I've got two displays attached to by nvidia graphics card, and then another attached to my intel processor's iGPU. I'd like to use all three at once, by getting xrandr to offload rendering from the nvidia card to my igpu monitor
<MichaelRaskin>
xrandr --listproviders
<Xaln>
yep, that lists both providers
<abathur>
hyper_ch: and I eventually found a recent github issue (https://github.com/neutrinolabs/xrdp/issues/960) on xrdp where they make it pretty clear that xrdp can only support connecting to the local desktop session by proxying something like x11vnc
<hyper_ch>
I have no idea what you just said
<Xaln>
the problem is that when I specify all three xrandrHeads X dies because every screen gets put into every device section
<MichaelRaskin>
Does xrandr-q list all the needed outputs?
<Xaln>
It does
<Xaln>
Hold on, I'll pastebin what my xorg.conf looks like
<Xaln>
or what nix generates, rather
<abathur>
hyper_ch: fair, I'm pretty far down the rabbit-hole
<MichaelRaskin>
Xaln: to be honest, I would just add xrandr commands inside login script.
<azdle>
Okay, next thing I don't understand, it builds now, but fails to import requests despite the fact it's in propagatedBuildInputs.
<rycee>
ldlework: I can't do much to help with this, though, since I know very little about how a mac is set up. So any help would be much appreciated!
<ldlework>
rycee well, I could add a module to your modules that has this function which adds a graph node
<ldlework>
People would have to call it manually
dan_b has joined #nixos
mkoenig has joined #nixos
<ldlework>
I don't know how home-manager could automatically detect an OSX application was built
<Xaln>
MichaelRaskin: one last question: is there an option to specify commands to run after starting X?
<ldlework>
I guess it would iterate whatever is in ~/.nix-profile/Applications/ and just link anything there...
<MichaelRaskin>
Not sure…
<JosW>
abathur: there is something like x2go in nixpkgs
<Xaln>
I've found services.xserver.displayManager.sddm.setupScript but it's specific to sddm
<ldlework>
rycee I guess my question is, why does this require OSX support at all? Shouldn't home-manager be symlinking anything it finds in the package output?
<ldlework>
rycee for example ~/.nix-profile/Applications/Viscosity.app exists, as an output of my home-manager build - shouldn't hm blindly symlink it to my home directory?
<JosW>
I have been using that on a Debian server for remote desktops, sadly the x2go packages in not maintained anymore
smichel17 has quit [Quit: smichel17]
<JosW>
hyper_ch: did you use some of the kexec from clever for your zfs setup?
chsisui has joined #nixos
<MichaelRaskin>
there is services.xserver.displayManager.session.script
<MichaelRaskin>
Or maybe not
MP2E has joined #nixos
<JosW>
X2go is about to use new nxlibs from a project called the Arctica project
<rycee>
ldlework: Hmm, for many packages I think that wouldn't work very well. For example, I have the directories bin, functions, include, libexec, sbin, texmf-dist, etc, games, lib, manifest.nix, share, and var in ~/.nix-profile.
<ldlework>
I don't know what you mean
<MichaelRaskin>
displayManager.sessionCommands seems global
<ldlework>
Are you saying that home-manager doesn't symlink all package output?
<ldlework>
How does it know what to symlink?
<rycee>
ldlework: Well, the symlinks produced in ~/.nix-profile are placed there by nix-env so home-manager is not at all involved in that (except running the "nix-env -i" command).
<ldlework>
I'm so confused
<rycee>
ldlework: The symlinks home manager produces in the other parts of your home directory are the ones within the `home.file` option.
<ldlework>
lol
<ldlework>
Oh right.
<ldlework>
I seeeeeee.
<ldlework>
rycee does the home.file option support symlinks?
<ldlework>
I guess it doesn't since I looked already
<ldlework>
So I suppose this is entirely up to the user to do via activation scripts
<rycee>
For example, in my configuration I have many options along the lines of `home.file.".mailcap".source = dotfiles/mailcap;`
rauno has quit [Remote host closed the connection]
<ldlework>
Is it possible to specify home.files = expr, more than once in a given set? I forget.
<ldlework>
Probably not
<JosW>
abathur: Ah sadly i see it is only the x2go client that is in Nixos, I used an x2go server on a Debian vps. With the client you can connect to the vps (local) desktop and resume a previous session.
<JosW>
but that would mean to get all these packages into Nix, way over my head....
<rycee>
Within a single attribute set you can have only one `home.files = expr` but you can use `imports` or `mkMerge` to merge multiple attribute sets that each may have `home.files = expr`.
<rycee>
ldlework: ^
<JosW>
In other words, would be great to have this remote desktop solution in NixOS but I have no clue how to get that done.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAtci
<NixOS_GitHub>
nixpkgs/master 0db25dd Vladimír Čunát: qmediathekview: set platforms to linux...
NixOS_GitHub has left #nixos [#nixos]
<abathur>
yeah, similar position
<abathur>
it sounds like running x11vnc locally and letting xrdp proxy that and handle remote connections would do what I need, but I'm just trying to get up on my legs
<abathur>
it looks like I could eventually get that working if I override how xrdp is configured, but I'd be learning all of that from scratch; tenable longer term solution if there aren't Very Good Reasons the current xrdp setup removes the other session types
Lisanna has joined #nixos
humanoyd has quit [Quit: WeeChat 2.0.1]
xcmw has joined #nixos
zzamboni has quit [Quit: Leaving.]
coot has quit [Quit: coot]
Ross has quit [Ping timeout: 264 seconds]
shiver has quit [Quit: No Ping reply in 180 seconds.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda closed pull request #34821: qmediathekview: set platforms to unix (master...qmediathekview) https://git.io/vAtnn
NixOS_GitHub has left #nixos [#nixos]
Lisanna has quit [Quit: Lisanna]
Ross has joined #nixos
zearen has joined #nixos
fendor has quit [Ping timeout: 248 seconds]
Ross has quit [Ping timeout: 256 seconds]
winem_ has quit [Ping timeout: 276 seconds]
ma27 has quit [Ping timeout: 248 seconds]
ma27 has joined #nixos
nuncanada2 has quit [Remote host closed the connection]
nuncanada2 has joined #nixos
jmiven has quit [*.net *.split]
guido_ has quit [*.net *.split]
ottidmes has quit [*.net *.split]
kini has quit [*.net *.split]
LangeOortjes has quit [*.net *.split]
tv has quit [*.net *.split]
hotfuzz has quit [*.net *.split]
maurer has quit [*.net *.split]
raving has quit [*.net *.split]
snajpa has quit [*.net *.split]
Moredread has quit [*.net *.split]
kline has quit [*.net *.split]
flugsio has quit [*.net *.split]
tg has quit [*.net *.split]
nadley has quit [*.net *.split]
uwap has quit [*.net *.split]
larsvm has quit [*.net *.split]
FireFly has quit [*.net *.split]
DerGuteMoritz has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
tobiasBora has quit [*.net *.split]
oleks has quit [*.net *.split]
nahamu has quit [*.net *.split]
candy` has quit [*.net *.split]
abrar has quit [*.net *.split]
socksy has quit [*.net *.split]
GlennS has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
tertleeltret has quit [*.net *.split]
knupfer has quit [*.net *.split]
{^_^} has quit [*.net *.split]
hiratara has quit [*.net *.split]
sjanssen has quit [*.net *.split]
ghuntley has quit [*.net *.split]
alunduil has quit [*.net *.split]
demyan[m] has quit [*.net *.split]
r3mfKm[m] has quit [*.net *.split]
davidak[m] has quit [*.net *.split]
Deleh[m] has quit [*.net *.split]
Vincenzo[m] has quit [*.net *.split]
offlinehacker[m] has quit [*.net *.split]
teh[m] has quit [*.net *.split]
voobscout[m] has quit [*.net *.split]
fogbugzz[m] has quit [*.net *.split]
noctuid has quit [*.net *.split]
mudri[m] has quit [*.net *.split]
PlasmaStrike[m] has quit [*.net *.split]
dkellner[m] has quit [*.net *.split]
leons has quit [*.net *.split]
ipj[m] has quit [*.net *.split]
benasse has quit [*.net *.split]
musicmatze has quit [*.net *.split]
joepie91 has quit [*.net *.split]
Khetzal has quit [*.net *.split]
teej has quit [*.net *.split]
cbarrett has quit [*.net *.split]
parseval has quit [*.net *.split]
angerman has quit [*.net *.split]
steveeJ has quit [*.net *.split]
ditadi has quit [*.net *.split]
endformationage has quit [*.net *.split]
nkaretnikov has quit [*.net *.split]
jml has quit [*.net *.split]
ocharles has quit [*.net *.split]
manveru has quit [*.net *.split]
nocent has quit [*.net *.split]
moredhel has quit [*.net *.split]
randomenduser[m] has quit [*.net *.split]
crystalgamma[m] has quit [*.net *.split]
taohansen has quit [*.net *.split]
indefini has quit [*.net *.split]
spawnthink[m] has quit [*.net *.split]
musicmatze[m] has quit [*.net *.split]
admin[m]4 has quit [*.net *.split]
TimePath has quit [*.net *.split]
wizek[m] has quit [*.net *.split]
EB[m] has quit [*.net *.split]
wilornel has quit [*.net *.split]
rihardsk[m] has quit [*.net *.split]
benkolera has quit [*.net *.split]
adisbladis[m] has quit [*.net *.split]
koalaeagle[m] has quit [*.net *.split]
kainospur[m] has quit [*.net *.split]
corngood has quit [*.net *.split]
y0no[m] has quit [*.net *.split]
AdamSlack[m] has quit [*.net *.split]
fearlessKim[m] has quit [*.net *.split]
ycy[m] has quit [*.net *.split]
hedning[m] has quit [*.net *.split]
Orbstheorem[m] has quit [*.net *.split]
zhavypath[m] has quit [*.net *.split]
primeos[m] has quit [*.net *.split]
pierrebeaucamp[m has quit [*.net *.split]
nixo[m] has quit [*.net *.split]
Manish[m] has quit [*.net *.split]
dmitry-zen[m] has quit [*.net *.split]
Rick[29SMPittsbu has quit [*.net *.split]
smola has quit [*.net *.split]
TheAppleMan has quit [*.net *.split]
wip_ has quit [*.net *.split]
themistocle has quit [*.net *.split]
johs has quit [*.net *.split]
philipcristiano has quit [*.net *.split]
benley has quit [*.net *.split]
srhb has quit [*.net *.split]
yorick has quit [*.net *.split]
dweller has quit [*.net *.split]
heath has quit [*.net *.split]
akaWolf has quit [*.net *.split]
vaibhavsagar has quit [*.net *.split]
Taneb has quit [*.net *.split]
clever has quit [*.net *.split]
kosmikus has quit [*.net *.split]
deba5e12 has quit [*.net *.split]
averell has quit [Quit: .]
teej has joined #nixos
ottidmes has joined #nixos
pikajude has quit [Ping timeout: 240 seconds]
jack[m] has quit [Ping timeout: 240 seconds]
johnazoidberg[m] has quit [Ping timeout: 240 seconds]
ditadi has joined #nixos
endformationage has joined #nixos
deba5e12 has joined #nixos
taohansen has joined #nixos
TimePath has joined #nixos
primeos[m] has joined #nixos
zhavypath[m] has joined #nixos
corngood has joined #nixos
nkaretnikov has joined #nixos
indefini has joined #nixos
heath has joined #nixos
srhb has joined #nixos
musicmatze[m] has joined #nixos
wizek[m] has joined #nixos
crystalgamma[m] has joined #nixos
yorick has joined #nixos
y0no[m] has joined #nixos
clever has joined #nixos
fearlessKim[m] has joined #nixos
Rick[29SMPittsbu has joined #nixos
akaWolf has joined #nixos
randomenduser[m] has joined #nixos
Manish[m] has joined #nixos
adisbladis[m] has joined #nixos
ycy[m] has joined #nixos
hedning[m] has joined #nixos
kainospur[m] has joined #nixos
themistocle has joined #nixos
smola has joined #nixos
moredhel has joined #nixos
nocent has joined #nixos
EB[m] has joined #nixos
spawnthink[m] has joined #nixos
nixo[m] has joined #nixos
dmitry-zen[m] has joined #nixos
admin[m]4 has joined #nixos
AdamSlack[m] has joined #nixos
manveru has joined #nixos
philipcristiano has joined #nixos
Taneb has joined #nixos
Orbstheorem[m] has joined #nixos
johs has joined #nixos
TheAppleMan has joined #nixos
rihardsk[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
koalaeagle[m] has joined #nixos
benley has joined #nixos
ocharles has joined #nixos
kosmikus has joined #nixos
wip_ has joined #nixos
jml has joined #nixos
benkolera has joined #nixos
wilornel has joined #nixos
vaibhavsagar has joined #nixos
dweller has joined #nixos
pikajude has joined #nixos
akaWolf has quit [Max SendQ exceeded]
kgz has quit [Ping timeout: 276 seconds]
pikajude has quit [Changing host]
pikajude has joined #nixos
teej is now known as Guest32764
ma27 is now known as Guest97638
averell has joined #nixos
kini has joined #nixos
blahdodo has quit [Ping timeout: 240 seconds]
rardiol[m] has quit [Ping timeout: 240 seconds]
techtangents[m] has quit [Ping timeout: 240 seconds]
ajmccluskey[m] has quit [Ping timeout: 240 seconds]
NickHu has quit [Ping timeout: 240 seconds]
ArdaXi[m] has quit [Ping timeout: 252 seconds]
dash has quit [Ping timeout: 252 seconds]
PeterRomfeld[m] has quit [Ping timeout: 252 seconds]
efx[m] has quit [Ping timeout: 240 seconds]
wmertens[m] has quit [Ping timeout: 240 seconds]
mhsjlw[m] has quit [Ping timeout: 240 seconds]
steshaw[m] has quit [Ping timeout: 248 seconds]
stites[m] has quit [Ping timeout: 248 seconds]
Singularity[m] has quit [Ping timeout: 248 seconds]
baconicsynergy[m has quit [Ping timeout: 248 seconds]
mrdaak[m] has quit [Ping timeout: 248 seconds]
Adev[m] has quit [Ping timeout: 248 seconds]
tokudan[m] has quit [Ping timeout: 240 seconds]
dpc has quit [Ping timeout: 240 seconds]
Ross has joined #nixos
fenedor has joined #nixos
shiver has joined #nixos
justanotheruser has joined #nixos
{^_^} has joined #nixos
tertleeltret has joined #nixos
LangeOortjes has joined #nixos
snajpa has joined #nixos
ipj[m] has joined #nixos
r3mfKm[m] has joined #nixos
Profpatsch has joined #nixos
dkellner[m] has joined #nixos
guido_ has joined #nixos
Moredread has joined #nixos
fogbugzz[m] has joined #nixos
teh[m] has joined #nixos
FireFly has joined #nixos
alunduil has joined #nixos
Deleh[m] has joined #nixos
mudri[m] has joined #nixos
joepie91 has joined #nixos
larsvm has joined #nixos
DerGuteMoritz has joined #nixos
jmiven has joined #nixos
davidak[m] has joined #nixos
tv has joined #nixos
flugsio has joined #nixos
nahamu has joined #nixos
voobscout[m] has joined #nixos
offlinehacker[m] has joined #nixos
sjanssen has joined #nixos
abrar has joined #nixos
angerman has joined #nixos
oleks has joined #nixos
ghuntley has joined #nixos
demyan[m] has joined #nixos
steveeJ has joined #nixos
noctuid has joined #nixos
knupfer has joined #nixos
leons has joined #nixos
benasse has joined #nixos
GlennS has joined #nixos
tg has joined #nixos
nadley has joined #nixos
tobiasBora has joined #nixos
candy` has joined #nixos
kline has joined #nixos
socksy has joined #nixos
raving has joined #nixos
uwap has joined #nixos
Khetzal has joined #nixos
Vincenzo[m] has joined #nixos
musicmatze has joined #nixos
PlasmaStrike[m] has joined #nixos
maurer has joined #nixos
hotfuzz has joined #nixos
parseval has joined #nixos
cbarrett has joined #nixos
hiratara has joined #nixos
fogbugs[m] has quit [Ping timeout: 255 seconds]
timclassic has quit [Ping timeout: 256 seconds]
Hook[m]1 has quit [Ping timeout: 256 seconds]
retrry[m] has quit [Ping timeout: 256 seconds]
coffeeshot has quit [Ping timeout: 256 seconds]
magnap has quit [Ping timeout: 240 seconds]
das-g[m] has quit [Ping timeout: 240 seconds]
codyopel has quit [Ping timeout: 240 seconds]
wak-work has quit [Ping timeout: 240 seconds]
happyente[m] has quit [Ping timeout: 240 seconds]
ison[m] has quit [Ping timeout: 240 seconds]
regnat[m] has quit [Ping timeout: 240 seconds]
reactormonk[m] has quit [Ping timeout: 240 seconds]
freeman42x has quit [Ping timeout: 240 seconds]
petersjt014[m] has quit [Ping timeout: 240 seconds]
nmikhailov[m] has quit [Ping timeout: 240 seconds]
gridaphobe[m] has quit [Ping timeout: 240 seconds]
swayf[m] has quit [Ping timeout: 240 seconds]
hl has quit [Ping timeout: 240 seconds]
florianjacob has quit [Ping timeout: 240 seconds]
robinbb[m] has quit [Ping timeout: 240 seconds]
equalunique[m] has quit [Ping timeout: 240 seconds]
peterhoeg has quit [Ping timeout: 240 seconds]
smbarte2[m] has quit [Ping timeout: 240 seconds]
puffnfresh has quit [Ping timeout: 240 seconds]
Khorne[m] has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
dtz has quit [Ping timeout: 256 seconds]
rycee has quit [Ping timeout: 256 seconds]
mith[m] has quit [Ping timeout: 256 seconds]
edef[m] has quit [Ping timeout: 256 seconds]
necronian has quit [Ping timeout: 256 seconds]
imbigbrother[m] has quit [Ping timeout: 256 seconds]
srid[m] has quit [Ping timeout: 256 seconds]
Dirt[m] has quit [Ping timeout: 256 seconds]
Naughtmare[m] has quit [Ping timeout: 256 seconds]
cornu[m] has quit [Ping timeout: 256 seconds]
zoya-kosova[m] has quit [Ping timeout: 256 seconds]
Ralith has quit [Ping timeout: 256 seconds]
YuFanLovezYou[m] has quit [Ping timeout: 256 seconds]
atopuzov[m] has quit [Ping timeout: 240 seconds]
blahblah has quit [Ping timeout: 240 seconds]
peel[m] has quit [Ping timeout: 240 seconds]
malteof[m] has quit [Ping timeout: 240 seconds]
olejorgenb[m] has quit [Ping timeout: 240 seconds]
apurvapavaskar[m has quit [Ping timeout: 240 seconds]
M-liberdiko has quit [Ping timeout: 240 seconds]
wzy8L-B2[m] has quit [Ping timeout: 240 seconds]
davidar has quit [Ping timeout: 240 seconds]
tobim[m] has quit [Ping timeout: 240 seconds]
bhipple[m] has quit [Ping timeout: 240 seconds]
nmikhailov[m]1 has quit [Ping timeout: 240 seconds]
chominist[m] has quit [Ping timeout: 240 seconds]
Wysteriary[m] has quit [Ping timeout: 240 seconds]
seif_madc[m] has quit [Ping timeout: 240 seconds]
vise890[m] has quit [Ping timeout: 240 seconds]
Barnabas[m] has quit [Ping timeout: 240 seconds]
asp_ has quit [Ping timeout: 252 seconds]
herzmeister[m] has quit [Ping timeout: 252 seconds]
balsoft[m] has quit [Ping timeout: 252 seconds]
nickdshsadhkas[m has quit [Ping timeout: 252 seconds]
fgaz[m] has quit [Ping timeout: 252 seconds]
mankyKitty[m] has quit [Ping timeout: 252 seconds]
bennofs[m] has quit [Ping timeout: 252 seconds]
Diagonal[m] has quit [Ping timeout: 252 seconds]
h30[m] has quit [Ping timeout: 252 seconds]
danielrf has quit [Ping timeout: 252 seconds]
sudoreboot[m] has quit [Ping timeout: 252 seconds]
pstn has quit [Ping timeout: 252 seconds]
discontent[m] has quit [Ping timeout: 252 seconds]
abcadr[m] has quit [Ping timeout: 252 seconds]
WilliamHamilton has quit [Ping timeout: 255 seconds]
dibblego[m] has quit [Ping timeout: 255 seconds]
hexkey[m] has quit [Ping timeout: 255 seconds]
joh[m] has quit [Ping timeout: 255 seconds]
AntonLatukha[m] has quit [Ping timeout: 255 seconds]
Elephant454[m] has quit [Ping timeout: 255 seconds]
copumpkin has quit [Ping timeout: 255 seconds]
bdimcheff has quit [Ping timeout: 255 seconds]
kevincox has quit [Ping timeout: 255 seconds]
gudea[m] has quit [Ping timeout: 255 seconds]
Wieke[m] has quit [Ping timeout: 255 seconds]
M-fishy has quit [Ping timeout: 255 seconds]
nh2[m] has quit [Ping timeout: 255 seconds]
badamson[m] has quit [Ping timeout: 255 seconds]
iohidtbhfam[m] has quit [Ping timeout: 255 seconds]
ConorCurry[m] has quit [Ping timeout: 255 seconds]
grahamc has quit [Ping timeout: 255 seconds]
M-dpetranek has quit [Ping timeout: 255 seconds]
bobvanderlinden_ has quit [Ping timeout: 255 seconds]
aaronc[m] has quit [Ping timeout: 255 seconds]
Dezgeg[m] has quit [Ping timeout: 248 seconds]
stuh84[m] has quit [Ping timeout: 248 seconds]
DIzFer[m] has quit [Ping timeout: 248 seconds]
revoltmedia[m] has quit [Ping timeout: 248 seconds]
abbafei[m] has quit [Ping timeout: 248 seconds]
demyan[m] has quit [Ping timeout: 255 seconds]
r3mfKm[m] has quit [Ping timeout: 255 seconds]
davidak[m] has quit [Ping timeout: 255 seconds]
Deleh[m] has quit [Ping timeout: 255 seconds]
Vincenzo[m] has quit [Ping timeout: 255 seconds]
offlinehacker[m] has quit [Ping timeout: 255 seconds]
teh[m] has quit [Ping timeout: 255 seconds]
voobscout[m] has quit [Ping timeout: 255 seconds]
fogbugzz[m] has quit [Ping timeout: 255 seconds]
noctuid has quit [Ping timeout: 255 seconds]
mudri[m] has quit [Ping timeout: 255 seconds]
PlasmaStrike[m] has quit [Ping timeout: 255 seconds]
dkellner[m] has quit [Ping timeout: 255 seconds]
leons has quit [Ping timeout: 255 seconds]
ipj[m] has quit [Ping timeout: 255 seconds]
benasse has quit [Ping timeout: 255 seconds]
nocent has quit [Ping timeout: 256 seconds]
moredhel has quit [Ping timeout: 256 seconds]
crystalgamma[m] has quit [Ping timeout: 256 seconds]
randomenduser[m] has quit [Ping timeout: 256 seconds]
taohansen has quit [Ping timeout: 256 seconds]
indefini has quit [Ping timeout: 256 seconds]
spawnthink[m] has quit [Ping timeout: 256 seconds]
musicmatze[m] has quit [Ping timeout: 256 seconds]
admin[m]4 has quit [Ping timeout: 256 seconds]
TimePath has quit [Ping timeout: 256 seconds]
wizek[m] has quit [Ping timeout: 256 seconds]
EB[m] has quit [Ping timeout: 256 seconds]
wilornel has quit [Ping timeout: 256 seconds]
rihardsk[m] has quit [Ping timeout: 256 seconds]
benkolera has quit [Ping timeout: 256 seconds]
koalaeagle[m] has quit [Ping timeout: 256 seconds]
adisbladis[m] has quit [Ping timeout: 256 seconds]
kainospur[m] has quit [Ping timeout: 256 seconds]
corngood has quit [Ping timeout: 256 seconds]
y0no[m] has quit [Ping timeout: 256 seconds]
AdamSlack[m] has quit [Ping timeout: 256 seconds]
fearlessKim[m] has quit [Ping timeout: 256 seconds]
ycy[m] has quit [Ping timeout: 256 seconds]
hedning[m] has quit [Ping timeout: 256 seconds]
zhavypath[m] has quit [Ping timeout: 256 seconds]
Orbstheorem[m] has quit [Ping timeout: 256 seconds]
primeos[m] has quit [Ping timeout: 256 seconds]
pierrebeaucamp[m has quit [Ping timeout: 256 seconds]
nixo[m] has quit [Ping timeout: 256 seconds]
Manish[m] has quit [Ping timeout: 256 seconds]
dmitry-zen[m] has quit [Ping timeout: 256 seconds]
Rick[29SMPittsbu has quit [Ping timeout: 256 seconds]
fogbugz23[m] has quit [Ping timeout: 260 seconds]
Li[m] has quit [Ping timeout: 260 seconds]
AlanPearce[m] has quit [Ping timeout: 260 seconds]
xurxo[m] has quit [Ping timeout: 260 seconds]
Pneumaticat has quit [Ping timeout: 260 seconds]
sphalerite has quit [Ping timeout: 260 seconds]
Drakonis[m] has quit [Ping timeout: 260 seconds]
itorres has quit [Ping timeout: 260 seconds]
moredread[m] has quit [Ping timeout: 260 seconds]
mirlur[m] has quit [Ping timeout: 260 seconds]
yochai[m] has quit [Ping timeout: 260 seconds]
adva[m] has quit [Ping timeout: 260 seconds]
kitten[m] has quit [Ping timeout: 260 seconds]
bendlas has quit [Ping timeout: 260 seconds]
the_m4ur1[m] has quit [Ping timeout: 260 seconds]
wchresta[m] has quit [Ping timeout: 260 seconds]
M-berdario has quit [Ping timeout: 260 seconds]
andyjscott[m] has quit [Ping timeout: 260 seconds]
trikl[m] has quit [Ping timeout: 260 seconds]
dywedir[m] has quit [Ping timeout: 260 seconds]
AllanDaemon has quit [Ping timeout: 260 seconds]
angerman has quit [Max SendQ exceeded]
justanotheruser has quit [Max SendQ exceeded]
shiver has quit [Quit: leaving]
shiver has joined #nixos
Guest32764 has quit [Changing host]
Guest32764 has joined #nixos
icetan has quit [Ping timeout: 276 seconds]
Guest73224 has quit [Ping timeout: 276 seconds]
midchildan[m] has quit [Ping timeout: 276 seconds]
Phil[m]3 has quit [Ping timeout: 276 seconds]
sargon[m] has quit [Ping timeout: 276 seconds]
LiuWeiHua[m] has quit [Ping timeout: 276 seconds]
spacekitteh[m] has quit [Ping timeout: 276 seconds]
lycium[m] has quit [Ping timeout: 276 seconds]
hendrik[m] has quit [Ping timeout: 276 seconds]
wervenyt[m] has quit [Ping timeout: 276 seconds]
rnhmjoj[m] has quit [Ping timeout: 276 seconds]
jmorriss[m] has quit [Ping timeout: 276 seconds]
jluttine[m] has quit [Ping timeout: 276 seconds]
ayyjayess[m] has quit [Ping timeout: 276 seconds]
matrixkrav has quit [Ping timeout: 276 seconds]
M-Dan has quit [Ping timeout: 276 seconds]
Kallegro[m] has quit [Ping timeout: 276 seconds]
octalsrc[m] has quit [Ping timeout: 276 seconds]
bachp has quit [Ping timeout: 276 seconds]
Obscurity[m] has quit [Ping timeout: 276 seconds]
paperdigits[m] has quit [Ping timeout: 276 seconds]
pvn[m] has quit [Ping timeout: 276 seconds]
themistocle1 has quit [Ping timeout: 276 seconds]
aspiwack[m] has quit [Ping timeout: 276 seconds]
aniketd[m] has quit [Ping timeout: 276 seconds]
angerman has joined #nixos
blahdodo has joined #nixos
angerman has quit [Changing host]
angerman has joined #nixos
LangeOortjes has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 85ca8f1 Markus Kowalewski: slurm-spank-x11: init at 0.2.5
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vAtW9
<NixOS_GitHub>
nixpkgs/master 968b866 Vladimír Čunát: Merge #32774: slurm-spank-x11: init at 0.2.5
<NixOS_GitHub>
nixpkgs/master 6d8c1fe Tuomas Tynkkynen: linux: Use concatStringsSep
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 3 new commits to master: https://git.io/vAt8V
<NixOS_GitHub>
nixpkgs/master 0ed5ba8 Tuomas Tynkkynen: buildMavenPackage: Use concatStringsSep
<NixOS_GitHub>
nixpkgs/master a6fd038 Tuomas Tynkkynen: check-meta: Use concatStrings
NixOS_GitHub has left #nixos [#nixos]
<infinisil>
I don't know why file:// url's shouldn't be allowed in a browser
<infinisil>
makes no sense
<infinisil>
pikajude: what are you using? chrome?
<dhess>
Safari also does it.
<pikajude>
chrome
<gchristensen>
chrome supports file:///home/grahamc/projects/ofborg/ofborg/ for me
<infinisil>
pikajude: what error do you get?
<dhess>
I am surprised that Chrome won't. I can see it being disallowed from http or https URLs, but not when the origin is file:
<pikajude>
...hmm
<pikajude>
what am i missing here
<MichaelRaskin>
Proxy?
chsisui has quit [Ping timeout: 260 seconds]
ditadi has quit [Ping timeout: 256 seconds]
<LnL>
isn't there some hidden setting for that?
vcunat has joined #nixos
knupfer1 has joined #nixos
<ryantrinkle>
i'm getting this when building with hydra: error: a ‘x86_64-darwin’ is required to build ‘/nix/store/x69h78sn7l3hpp3r49dkvd4kfs4lxcmn-all-cabal-hashes-component-aeson.nix.drv’, but I am a ‘x86_64-linux’
<ryantrinkle>
even though i have a working darwin build machine set up
<ryantrinkle>
and i've tested that both root and hydra-queue-runner can ssh into it
knupfer has quit [Ping timeout: 255 seconds]
knupfer1 is now known as knupfer
<ryantrinkle>
does anyone know how to get that to work?
<LnL>
check ssh mac1 -- nix-store --version
<LnL>
it's probably not in PATH for non-interactive shells
<gchristensen>
also check your various system logs
<ryantrinkle>
LnL: that seems to be working (from either account)
<ryantrinkle>
also, i can build the derivation on the command line
<ryantrinkle>
as root
<gchristensen>
how about not root
<genesis>
is there some magic to patch symlink ?
<ryantrinkle>
Error in tempdir() using /run/user/0/nix-build.XXXXXX: Could not create directory /run/user/0/nix-build.70rQr5: Permission denied at /nix/store/qdb45adr5cgihgfdwvq7pymkc6l2rflg-nix-1.11.16/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi/Nix/Utils.pm line 45.
<infinisil>
which is the only approach I'm sure of would work
<MichaelRaskin>
I think proot could still work, but ptrace is slow
knupfer has quit [Read error: Connection reset by peer]
<razzy>
infinisil: it has some free running time and when finished, nobody will break my dependency and stuff :]
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] va1entin opened pull request #34826: pythonPackages.pynacl: init at 1.2.1 (master...pynacl) https://git.io/vAtRY
NixOS_GitHub has left #nixos [#nixos]
<symphorien>
razzy: there is a tool called nix-user-chroot iirc
<infinisil>
It uses user namespaces
<infinisil>
at least Linux 3.8
<MichaelRaskin>
CentOS has interesting defaults.
<MichaelRaskin>
Even having root is not always enough to make simple things worl
<razzy>
infinisil: well, i tried compiling "linux from scratch", and it is pain to try different version of softeare :]
<symphorien>
Ah I missed the centos part, sorry
<razzy>
:D
Ralith has joined #nixos
<Ralith>
hmmm
<infinisil>
I'm gonna try PRoot now, just because why not
<Ralith>
why do I have a bunch of openssl .pc files in `/nix/var/nix/profiles/default/lib/pkgconfig`?
<MichaelRaskin>
With LFS it is a good idea to use A/B LFS to keep your sanity
<razzy>
why nix package manager does not use relative adressing everywhere?
<razzy>
is it security issue?
<MichaelRaskin>
Because like all the software around hardcodes paths?
<razzy>
or maintanance issue?
<MichaelRaskin>
And making it hardcode different paths is multiple orders of magnitude less work than converting everything to relative addressing?
<MichaelRaskin>
Starting with ld.so
<Ralith>
I don't have openssl in my system packages
<Ralith>
and even if I did that should just be the bins
<MichaelRaskin>
Maybe you installed it with nix-env
<Ralith>
ah, some ancient thing in my root nix-env, weird
<razzy>
MichaelRaskin: i would expect from purely functional package manager relative adressing :] no offence :]
<infinisil>
razzy: I'm pretty sure that would require a huge amount of patching of pretty much every package
<MichaelRaskin>
razzy: you might also want to request another planet
<razzy>
:0
u0_a245 has joined #nixos
<infinisil>
MichaelRaskin: but I mean, shouldn't it be possible to just substitute every "/nix/store" with "/home/foo" and have it work?
<razzy>
was it decision made at random on begining nixOS? or decision made for easier asimilation of other linux software
<MichaelRaskin>
Nope, because length of string constants inside binary files
<infinisil>
MichaelRaskin: oh right, forgot about that..
<MichaelRaskin>
razzy: a decision to make Nix have any chance of usefully working
coot has quit [Quit: coot]
<infinisil>
MichaelRaskin: so it would only work if your user has less than 3 characters lol ( because you want to use something like "/home/ab/n" instead of "/nix/store" )
<razzy>
MichaelRaskin: so it would mean recompiling and testing every package
<MichaelRaskin>
razzy: no
<razzy>
even more?
<MichaelRaskin>
It would mean patching all software with no way to check if you have missed a place to patch
<infinisil>
which is pretty much impossible
<razzy>
chmm,.. so really big deal and 20+ years of testing for every package :]
<simpson>
razzy: Is there a specific reason that you don't like having a /nix ?
<MichaelRaskin>
simpson: no root at CentOS machine
<Dezgeg>
the kernel does'nt support relative #! or DT_INTERP either
<razzy>
*almost every package
<simpson>
Ah, yes, using Nix on machines you don't own.
<MichaelRaskin>
Dezgeg: I am afraid that's actually the easy part of patching
<Dezgeg>
yeah, I guess that'd "just" be writing some static binaries as wrappers
<infinisil>
Okay how about this: distribute a binary cache with a default nix store location of /nix/some-really-long-path, then you could install it for /home/foo/long-nix-path (same length) by patching everything in the distributed nix store
<razzy>
it would be pain for admins to keep track of every user with nixOS
<razzy>
i get that :]
<MichaelRaskin>
infinisil: let me introduce you to the wonderful world of PATH_MAX
<infinisil>
MichaelRaskin: eh, that wouldn't run into max path length issues, right?
<MichaelRaskin>
It's complicated
<infinisil>
I'm just talking about maybe 20 chars for some-really-long-path
<razzy>
infinisil: it is dirty hack :]
<razzy>
i like it :]
spietz has quit [Ping timeout: 255 seconds]
<MichaelRaskin>
Well, usernames are up to 32 characters on Linux…
<MichaelRaskin>
infinisil: just imagine how painful will be your interaction with Java
<infinisil>
MichaelRaskin: I think we'd cover the majority if we set a maximum of maybe 12 chars
<razzy>
noone reasonable should ever use this as official policy
<infinisil>
What's the problem with java?
<MichaelRaskin>
JAR files being zips?
* infinisil
needs one more clue
* razzy
is running screaming :]
<MichaelRaskin>
There is never a guarantee that a path reference will not be inside some transformed format
<MichaelRaskin>
Inside zip, for example.
<razzy>
if the packages are seriously comprimed,.. they need to decomprimed before
<infinisil>
ohhh.......
<infinisil>
it's called "compressed"
<MichaelRaskin>
Converted to UTF-16 for exatra pain
<MichaelRaskin>
Or UCS-4!
<razzy>
yeah yeah
<infinisil>
but i mean.. For the majority of nixpkgs it would probably work
<Dezgeg>
or even plain old C strings but compiler deciced to optimize the string constant in some way
<razzy>
some virtual root folder is way better
stites[m] has joined #nixos
hexkey[m] has joined #nixos
M-dpetranek has joined #nixos
cornu[m] has joined #nixos
atopuzov[m] has joined #nixos
nixo[m] has joined #nixos
ArdaXi[m] has joined #nixos
mirlur[m] has joined #nixos
Diagonal[m] has joined #nixos
badamson[m] has joined #nixos
bennofs[m] has joined #nixos
baconicsynergy[m has joined #nixos
jluttine[m] has joined #nixos
kitten[m] has joined #nixos
rnhmjoj[m] has joined #nixos
grahamc has joined #nixos
abbafei[m] has joined #nixos
indefini has joined #nixos
sudoreboot[m] has joined #nixos
asp_ has joined #nixos
y0no[m] has joined #nixos
peterhoeg has joined #nixos
mankyKitty[m] has joined #nixos
iohidtbhfam[m] has joined #nixos
moredhel has joined #nixos
bachp has joined #nixos
WilliamHamilton has joined #nixos
lycium[m] has joined #nixos
aspiwack[m] has joined #nixos
scott1 has joined #nixos
andyjscott[m] has joined #nixos
timclassic has joined #nixos
davidar has joined #nixos
hendrik[m] has joined #nixos
mith[m] has joined #nixos
rihardsk[m] has joined #nixos
kainospur[m] has joined #nixos
Naughtmare[m] has joined #nixos
zoya-kosova[m] has joined #nixos
regnat[m] has joined #nixos
ConorCurry[m] has joined #nixos
nh2[m] has joined #nixos
M-liberdiko has joined #nixos
wzy8L-B2[m] has joined #nixos
wervenyt[m] has joined #nixos
adisbladis[m] has joined #nixos
the_m4ur1[m] has joined #nixos
LiuWeiHua[m] has joined #nixos
nmikhailov[m] has joined #nixos
Kallegro[m] has joined #nixos
AlanPearce[m] has joined #nixos
demyan[m] has joined #nixos
wak-work has joined #nixos
chominist[m] has joined #nixos
octalsrc[m] has joined #nixos
moredread[m] has joined #nixos
matrixkrav has joined #nixos
rycee has joined #nixos
wilornel has joined #nixos
olejorgenb[m] has joined #nixos
zhavypath[m] has joined #nixos
teh[m] has joined #nixos
Dirt[m] has joined #nixos
Elephant454[m] has joined #nixos
copumpkin has joined #nixos
das-g[m] has joined #nixos
trikl[m] has joined #nixos
itorres has joined #nixos
robinbb[m] has joined #nixos
kevincox has joined #nixos
bobvanderlinden_ has joined #nixos
midchildan[m] has joined #nixos
ison[m] has joined #nixos
ajmccluskey[m] has joined #nixos
davidak[m] has joined #nixos
mudri[m] has joined #nixos
Li[m] has joined #nixos
jmorriss[m] has joined #nixos
noctuid has joined #nixos
koalaeagle[m] has joined #nixos
herzmeister[m] has joined #nixos
reactormonk[m] has joined #nixos
happyente[m] has joined #nixos
magnap has joined #nixos
YuFanLovezYou[m] has joined #nixos
florianjacob has joined #nixos
stuh84[m] has joined #nixos
spacekitteh[m] has joined #nixos
tokudan[m] has joined #nixos
dpc has joined #nixos
Wysteriary[m] has joined #nixos
necronian has joined #nixos
sargon[m] has joined #nixos
imbigbrother[m] has joined #nixos
ayyjayess[m] has joined #nixos
edef[m] has joined #nixos
randomenduser[m] has joined #nixos
fogbugz23[m] has joined #nixos
nocent has joined #nixos
hl has joined #nixos
swayf[m] has joined #nixos
vise890[m] has joined #nixos
apurvapavaskar[m has joined #nixos
spawnthink[m] has joined #nixos
offlinehacker[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
Obscurity[m] has joined #nixos
dtz has joined #nixos
efx[m] has joined #nixos
benkolera has joined #nixos
pstn has joined #nixos
freeman42x has joined #nixos
Orbstheorem[m] has joined #nixos
bhipple[m] has joined #nixos
fearlessKim[m] has joined #nixos
TimePath has joined #nixos
corngood has joined #nixos
codyopel has joined #nixos
wizek[m] has joined #nixos
yochai[m] has joined #nixos
wmertens[m] has joined #nixos
revoltmedia[m] has joined #nixos
pvn[m] has joined #nixos
puffnfresh has joined #nixos
aniketd[m] has joined #nixos
Pneumaticat has joined #nixos
peel[m] has joined #nixos
dkellner[m] has joined #nixos
Dezgeg[m] has joined #nixos
equalunique[m] has joined #nixos
wchresta[m] has joined #nixos
crystalgamma[m] has joined #nixos
NickHu has joined #nixos
AntonLatukha[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
techtangents[m] has joined #nixos
steshaw[m] has joined #nixos
paperdigits[m] has joined #nixos
dmitry-zen[m] has joined #nixos
Drakonis[m] has joined #nixos
bendlas has joined #nixos
AllanDaemon has joined #nixos
M-Dan has joined #nixos
AdamSlack[m] has joined #nixos
malteof[m] has joined #nixos
fgaz[m] has joined #nixos
h30[m] has joined #nixos
leons has joined #nixos
seif_madc[m] has joined #nixos
primeos[m] has joined #nixos
DIzFer[m] has joined #nixos
musicmatze[m] has joined #nixos
Singularity[m] has joined #nixos
rardiol[m] has joined #nixos
dibblego[m] has joined #nixos
M-berdario has joined #nixos
Rick[29SMPittsbu has joined #nixos
ycy[m] has joined #nixos
sphalerite has joined #nixos
Barnabas[m] has joined #nixos
hedning[m] has joined #nixos
mrdaak[m] has joined #nixos
Phil[m]3 has joined #nixos
dash has joined #nixos
benasse has joined #nixos
dywedir[m] has joined #nixos
blahblah has joined #nixos
joh[m] has joined #nixos
jack[m] has joined #nixos
taohansen has joined #nixos
gridaphobe[m] has joined #nixos
bdimcheff has joined #nixos
PeterRomfeld[m] has joined #nixos
r3mfKm[m] has joined #nixos
Khorne[m] has joined #nixos
EB[m] has joined #nixos
Wieke[m] has joined #nixos
themistocle1 has joined #nixos
aaronc[m] has joined #nixos
fogbugs[m] has joined #nixos
icetan has joined #nixos
Hook[m]1 has joined #nixos
M-fishy has joined #nixos
tobim[m] has joined #nixos
Deleh[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
voobscout[m] has joined #nixos
Adev[m] has joined #nixos
johnazoidberg[m] has joined #nixos
retrry[m] has joined #nixos
petersjt014[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
gudea[m] has joined #nixos
coffeeshot has joined #nixos
discontent[m] has joined #nixos
fogbugzz[m] has joined #nixos
balsoft[m] has joined #nixos
Vincenzo[m] has joined #nixos
abcadr[m] has joined #nixos
smbarte2[m] has joined #nixos
Manish[m] has joined #nixos
adva[m] has joined #nixos
danielrf has joined #nixos
mhsjlw[m] has joined #nixos
admin[m]4 has joined #nixos
srid[m] has joined #nixos
xurxo[m] has joined #nixos
<infinisil>
which you can't get
<infinisil>
Wait, why not /tmp/nix ?
<infinisil>
writable by everybody
<manveru>
and wiped on reboot often :)
<infinisil>
well if you could use binary caches it wouldn't be that much of a problem
<infinisil>
better than having to compile everything
<infinisil>
so /home/<some-random-username> is the only thing that's writable
<infinisil>
compile all the things it shall be :)
<infinisil>
unless this proot thing works, which hasn't ever been the case for me
<razzy>
i like nixOS already :]
<Dezgeg>
I wonder how far some evil trick like putting the store under /proc/self/fd/ would work
<MichaelRaskin>
Until the first exec?
<MichaelRaskin>
Because the fd to store will be closed?
<Dezgeg>
fds do inherit on exec
<Dezgeg>
but yes, someone could close it
genesis has quit [Read error: No route to host]
<simpson>
So seriously, what would happen if you took https://github.com/matthewbauer/nix-bundle and self-bundled, then ran the resulting nix-bundle on a system without Nix, they should be able to (slowly, with lots of duplicate packages) build stuff with the binary cache, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andir pushed 3 new commits to master: https://git.io/vAt0r
<NixOS_GitHub>
nixpkgs/master 6e24dc7 Andreas Rammhold: syncthing012: removed ancient version...
<NixOS_GitHub>
nixpkgs/master d6d06b6 Andreas Rammhold: Merge pull request #34818 from andir/syncthing-remove-ancient-versions...
<NixOS_GitHub>
nixpkgs/master 2564e75 Andreas Rammhold: syncthing013: removed ancient version...
NixOS_GitHub has left #nixos [#nixos]
<simpson>
I don't have a non-NixOS machine handy to test this theory on.
genesis has joined #nixos
<Dezgeg>
nix-bundle uses namespaces
<simpson>
Do namespaces not work on CentOS?
<MichaelRaskin>
For non-priveleged users?
<MichaelRaskin>
I think no.
<M-Dan>
Anyone know what user Nixops defaults to for builds?
<MichaelRaskin>
One could make /tmp/nix work as a _symlink_ to the real store in /home/$USER/ and the corner cases — they still would exist — would be relatively rare
dan_b has quit [Ping timeout: 252 seconds]
<Dezgeg>
how about /proc/self/fd/99999 with an eBPF syscall filter to disallow close()ing that
<infinisil>
MichaelRaskin: oh interesting..
<infinisil>
MichaelRaskin: what are the corner cases?
<MichaelRaskin>
Well, if you readlink -f /proc/self/exe then try to cut off the PREFIX, you can get surprised
u0_a245 has left #nixos [#nixos]
Quickshot has joined #nixos
<infinisil>
That seems oddly specific, is that used at all?
coot has joined #nixos
<MichaelRaskin>
Dezgeg: I have actually recently encountered a situation where using Nix wouldrequire patching Nix because the kernel was too old for BPF
<MichaelRaskin>
infinisil: Well, without extra settings Nix has problems with symlinks in store path
<Dezgeg>
well, yes, that is a new problem :)
aarvar has joined #nixos
<MichaelRaskin>
Not sure if it was only for a root install
<LnL>
Dezgeg: MichaelRaskin: have any of you played with bpf?
ixxie has quit [Quit: Lost terminal]
<Quickshot>
I have a question, I have a dual monitor setup 1080p HDMI and 1440p DisplayPort on a Nvidia GPU. And while running it under XFCE I can set it to correctly put the two screens next to each other. But if I turn off the 1440p screen, and turn it back on, it will completely forget about the previous state and treat it like the 1080p screen
<Dezgeg>
nope
<MichaelRaskin>
I mean, Nix already insists on using prctl NO_NEW_PRIVS which is not that old
<infinisil>
MichaelRaskin: because it wouldn't resolve the symlink and try to use /tmp/nix/... directly?
<Quickshot>
I've tried nvidia-settings to little effect, and poked around a bit with xrandr for similar little effect.
<Quickshot>
Though I might have missed something in both...
<Quickshot>
Does anyone have an idea on how to approach this next?
knupfer has quit [Ping timeout: 260 seconds]
<MichaelRaskin>
I think xrandr is not about saving state, it just allows you to write a script to quickly set the necessary layout
<infinisil>
Quickshot: try arandr, it's a visual interface to xrandr
<Quickshot>
Ok
<infinisil>
ah, and autorandr can persist stuff
ottidmes has quit [Ping timeout: 248 seconds]
<samueldr>
arandr has the helpful thing where saving a layout outputs a shell script with plain xrandr calls
<Dezgeg>
or patch nixpkgs libc to have if(fd == 99999) return 0; in close() !
<Quickshot>
Which you can then call you mean?
<Quickshot>
Though I can write that line myself if need be.. I did that in the past for Gentoo
<Quickshot>
I'd rather not have to call it every time if I can some how force it correct every time