<johnw>
i don't have such an expression handy right now
<justanotheruser>
thanks
jsgrant_ has quit [(Quit: Peace Peeps. o/)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
ryantrinkle has joined #nixos
FareTower has quit [(Ping timeout: 240 seconds)]
FareTower has joined #nixos
p0le has joined #nixos
hamishmack has joined #nixos
p0le has quit [(Client Quit)]
mizu_no_oto has joined #nixos
hamishmack has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] abbradar opened pull request #21875: Allow specifying interface for default gateway (master...gateway-interface) https://git.io/vMVnG
hamishmack has joined #nixos
hamishmack has quit [(Remote host closed the connection)]
hamishmack has joined #nixos
hamishmack has quit [(Remote host closed the connection)]
hamishmack has joined #nixos
shanemikel has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #21876: ghc with-packages-wrapper: Add support for cross-compiling (master...ghcWithPackages-cross) https://git.io/vMVnH
athan has joined #nixos
eacameron has joined #nixos
[0x4A6F]_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]_ is now known as [0x4A6F]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
mrkgnao has joined #nixos
indi_ has joined #nixos
derjohn_mob has joined #nixos
<sheenobu>
hrm. nixos keeps trying to install x libraries on my server
Lowl3v3l has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
k0001 has quit [(Quit: Connection closed for inactivity)]
glines has quit [(Ping timeout: 255 seconds)]
<sheenobu>
was able to sound.enable = false and others to get rid of that stuff
indi_ has quit [(Remote host closed the connection)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
indi_ has joined #nixos
shanemikel has joined #nixos
hexagoxel has quit [(Ping timeout: 245 seconds)]
isHavvy has joined #nixos
Havvy has quit [(Ping timeout: 252 seconds)]
glines has joined #nixos
hexagoxel has joined #nixos
edvorg has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
nslqqq has quit [(Read error: Connection reset by peer)]
indi_ has quit [(Remote host closed the connection)]
nslqqq has joined #nixos
mguentner has joined #nixos
sellout- has quit [(Quit: Leaving.)]
mkoenig has quit [(Read error: Connection reset by peer)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
mkoenig has joined #nixos
shanemikel has joined #nixos
indi_ has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
ublubu has quit [(Ping timeout: 240 seconds)]
ublubu has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vMV4M
<NixOS_GitHub>
nixpkgs/master e00c61f Tuomas Tynkkynen: gnused: Fix cross build after upgrade to 4.3.0...
sellout- has joined #nixos
seanz has joined #nixos
seanz has quit [(Client Quit)]
FareTower has quit [(Quit: Leaving)]
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.6)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Client Quit)]
athan has quit [(Ping timeout: 240 seconds)]
Intensity has quit [(Ping timeout: 256 seconds)]
<DavidEGrayson>
Ack, SonarPulse, there is quite a lot of junk in the GCC 5 recipe. If you look into what "libc_dev" is and what "is64Bit" it seems like stuff we totally don't need for a cross-compiler.
<DavidEGrayson>
Just wanted to vent, that's all. I'm getting rid of it by making my own, clean GCC recipes :)
Intensity has joined #nixos
athan has joined #nixos
altphi has quit [(Quit: altphi)]
Intensity has quit [(Ping timeout: 256 seconds)]
Intensity has joined #nixos
ryanartecona has joined #nixos
athan has quit [(Ping timeout: 260 seconds)]
systemfault has quit [(Quit: Bye!)]
ryanartecona has quit [(Quit: ryanartecona)]
ublubu has quit [(Ping timeout: 256 seconds)]
Kingsquee has joined #nixos
ublubu has joined #nixos
dram_phone has joined #nixos
edvorg has quit [(Ping timeout: 240 seconds)]
systemfault has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
systemfault has quit [(Quit: Bye!)]
glines has quit [(Ping timeout: 256 seconds)]
deepfire has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
deepfire has quit [(Ping timeout: 245 seconds)]
shanemikel has joined #nixos
deepfire has joined #nixos
dram_phone has quit [(Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org)]
ilja_kuklic has joined #nixos
siarheit_ has joined #nixos
deepfire has quit [(Ping timeout: 240 seconds)]
mrkgnao has quit [(Ping timeout: 240 seconds)]
deepfire has joined #nixos
ilja_kuklic has quit [(Ping timeout: 240 seconds)]
deepfire has quit [(Ping timeout: 258 seconds)]
uralbash has joined #nixos
deepfire has joined #nixos
mrkgnao has joined #nixos
deepfire has quit [(Ping timeout: 258 seconds)]
uralbash has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
uralbash has joined #nixos
phanimahesh has joined #nixos
simendsjo has joined #nixos
phreedom has quit [(Remote host closed the connection)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
onla has left #nixos ["WeeChat 1.5"]
reinzelmann has joined #nixos
ambro718 has joined #nixos
<sphalerite>
what does it mean when nix-store --query --hash says that a path is not valid?
<bennofs1>
sphalerite: that means that the path you've given it is not stored in the nix database i think
<pierron>
domenkozar: would it be possible to take the first version of overlays, as-is?
<sphalerite>
bennofs1: can it be in /nix/store without being in the database?
<pierron>
domenkozar: instead of providing all the tooling from the fresh start
bennofs1 is now known as bennofs
<pierron>
domenkozar: I am sorry, but I do not have a large amount of time to dedicate to projects, and if you don't want good changes, then we should not block them on perfection.
* pierron
barely had the time to write a simple script that the PR already bit-rot :/
<sphalerite>
There must be a better way (find out the amount of space that nix-store --gc would free)... sum=0; nix-store --gc --print-dead | xargs du --max-depth=0 | cut -d $'\t' -f 1 | while read add ; do ((sum+=add)) ; done ; echo $((sum/1024))
<sphalerite>
Anyone?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
thc202 has joined #nixos
<bennofs>
Is the nixpkgs monitor down?
mrkgnao has joined #nixos
ixxie has joined #nixos
<pierron>
sphalerite: --dry-run ?
<sphalerite>
error: bad sub-operation ‘--dry-run’ in GC
<ixxie>
nothing wrong witht he protocol, maybe the markup conventions could move forward though ^^
<srhb>
ixxie: Have you never written an IRC client? :-P
katyucha_ is now known as katyucha
<ixxie>
srhb: working on it, kinda....
<srhb>
ixxie: I was joking, sorry. I meant to imply that people tend to not say "nothing wrong with the protocol" :-P
<sphalerite>
I won't comment the technical details of the protocol, but it's certainly established and widely supported as well as providing all the key functionality needed for many use cases.
<sphalerite>
why does gcc take so long to compile :(
<bennofs>
sphalerite: wait till you compile libreoffice *cough*
<ixxie>
aha xD well nothing seems wrong with it to me as a user of it.... I am sure its not perfect.
<sphalerite>
bennofs: the day I have to compile libreoffice is the day I lose all hope
kampfschlaefer has joined #nixos
<Heffalump>
if I'm updating a simple PR for code review comments, should I amend the commit or add a new one?
<ixxie>
hmmm.... if something is nonfree, I cannot bundle it as a distribution as binary; but can I include it, for example, in a nixos configuration file, and distribute *that*?
<sternenseemann>
ixxie: you can enable nonfree packages and make a package that uses a binary
<sternenseemann>
Heffalump: ammend & force push to your branch
<Heffalump>
sternenseemann: thanks
ixxie has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
mrkgnao has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl opened pull request #21879: Coq: minor refactoring (master...coq-clean) https://git.io/vMVr7
Chattered has joined #nixos
<Chattered>
I'm trying to patchelf a steam game, but I'm not sure what argument to provide to --set-interpreter. Any help?
<sternenseemann>
Chattered: why don't you launch it from steam directly? the steam-chroot approach makes sure that the steam runtime just works™
<Chattered>
It's Civ5. It won't launch from Steam. Some Archlinux folk said they could get the game to work by running it directly, so I thought I'd try that.
<sternenseemann>
you'll have a hard time on nixos most likely because it is dynamically linked and probably searches for all sorts of stuff in /usr/lib
<manveru>
Chattered: what's the error?
Heffalump has left #nixos []
<Chattered>
manveru: Two secs. Having to update steam etc to check.
<manveru>
lemme try it on steam... download is going to take 1h30 or so
mkoenig has quit [(Read error: Connection reset by peer)]
<manveru>
i think it worked for me in the past, but can't say 100% for certain
<manveru>
otherwise it's better to patch steam/steam-run to make it work
<manveru>
so everyone benefits :)
mrkgnao has joined #nixos
<pierron>
Chattered: the argument of set-interpreter is the elf reader, see patchelf --print-interpreter $(which patchelf)
reinzelmann has quit [(Ping timeout: 260 seconds)]
<pierron>
Chattered: I highly recommend you to make a copy of the binary before using patchelf ;)
mkoenig has joined #nixos
<Chattered>
pierron: Cheers. I've got rsnapshot for backups anyway.
<bennofs>
Does anyone know what the current state of the new nix cli is?
<bennofs>
I have a bit of spare time right now, so if there's still missing bits I could perhaps look to implement them
<joko>
Hello, could anyone help me with Hydra and supportedFeatures? I am overriding coreutils with requiredSystemFeatures and Hydra still sends the job to a machine without the supportedFeature :/
<manveru>
bennofs: last i heard there were 3 PRs left
<Chattered>
manveru: All I see is "ERROR: ld.so object '[..]/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ...) ignored.
<manveru>
yeah, that's not the error
<manveru>
that happens for every game
<toogley>
how can i fix this ptpb.pw/pbad error which occurs while upgrading?
sellout- has quit [(Ping timeout: 252 seconds)]
<sphalerite>
Chattered manveru: I'll try it too, also need to download it first. Want to play a round if we all get it working? :P
<toogley>
the package which was downloaded the last was hunspell - which i don't need (i think it was installed by some other program as dependency). can i ignore/exclude that to install?
eacameron has joined #nixos
<sphalerite>
can I give nix-shell a derivation rather than an expression?
<pierron>
qknight: these are environment variables, so just make a new one, and eval it inside the others?
<qknight>
pierron: don't understand
<pierron>
qknight: or add a let above, and expand the common part in both.
<qknight>
pierron: yes, i thought about this as well but i don't know how to do it
<sphalerite>
dbe: Should be possible using pkgs.lib.overrideDerivation. Not sure if it's necessary to use that though
<pierron>
qknight: let a = "aaa"; in … buildPhase = "…${a}…"; shellHook = "…${a}…"; …
<sphalerite>
so pkgs.lib.overrideDerivation (package) (attrs: {propagatedBuildInputs = attrs.propagatedBuildInputs ++ [yourExtraPropagatedBuildInputs];})
_rht has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<qknight>
pierron: exactly!
<pierron>
qknight: I do not understand your question then
<qknight>
pierron: no, you already solved it and understood it correctly! thanks so much!
ertesx has joined #nixos
uralbash has joined #nixos
<chris|>
I am trying to run nixos-install from a chroot (as described by the wiki) but it's always stuck at error: opening file ‘/etc/nix/nix.conf’: No such file or directory. Any idea why that is happening?
kenji1 is now known as SkeThuVe
<qknight>
chris|: nix-build probably wants that file and you don't have it
<qknight>
chris|: just use: touch /etc/nix/nix.conf
<qknight>
chris|: it is usually created automatically when doing nixos-install IIRC
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
<qknight>
# WARNING: this file is generated from the nix.* options in
<qknight>
# your NixOS configuration, typically
<qknight>
# /etc/nixos/configuration.nix. Do not edit it!
<qknight>
chris|: so you can add a nix option in your /etc/nixos/configuration.nix, reevaluate that with: nixos-rebuild switch and afterwards a symlink in /etc/nix/nix.conf -> /nix/store/something should exist
<chris|>
hm, looks like the symlink in /mnt/etc/nix/nix.conf cannot be resolved during nixos-install, which i find quite odd
eacameron has quit [(Ping timeout: 258 seconds)]
phanimahesh has quit [(Ping timeout: 260 seconds)]
phanimahesh has joined #nixos
uralbash has quit [(Ping timeout: 260 seconds)]
<bennofs>
manveru: ah I was wondering abount the new nix UI rather than the perl removal
feepo has joined #nixos
<qknight>
bennofs: which new UI?
<bennofs>
sphalerite: you can give nix-shell a derivation, but the way to do that is quite arcane: you have to give it a *absolute* path that ends with .drv as argument (note that relative paths don't work)
<sphalerite>
Is there a way to export a closure as a tar archive or something, so that I can copy it to a machine that has no nix at all?
<srhb>
sphalerite: You can use nix-store --dump on a store path at least. It sounds tricky to ever use it on a non-Nix system gain though
<sphalerite>
I just realised I can use nix-store -qR (path) | xargs tar cf output.tar
<philipp[m]>
manveru: Civ 5 starts? That's interesting. What drivers do you use?
<manveru>
nvidia
<philipp[m]>
manveru: Do you happen to have Borderlonds 2 and can start it also?
<sphalerite>
srhb: If I copy the nix closure using that method I should be able to run it, no?
<manveru>
philipp[m]: yes
<manveru>
but i have to go to steam offline mode first, it crashes when trying to find DLCs otherwise
<sphalerite>
srhb: just tried doing so with hello and it worked, I don't see why it wouldn't also work with nix
<philipp[m]>
manveru: many people have library problems with those games, so they don't start at all. We have been trying to find out what was causing it but couldn't nail it down.
<gchristensen>
sphalerite: it is indeed how we install nix :)
<manveru>
the only game i really have problems with is metro 2033 (redux)
<sphalerite>
gchristensen: nice
<manveru>
i get to the game menu, but can't start the campaign :(
<philipp[m]>
manveru: I'm not at my computer right now but I'll ask you a few questions later.
<sphalerite>
gchristensen: I also like how I can do that with closures that are for a different architecture than that one I'm building on
<manveru>
philipp[m]: k
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMVPs
<NixOS_GitHub>
nixpkgs/master a04337d Vincent Laporte: smplayer: 16.1.0 -> 16.11.0
<Chattered>
manveru: Hmm...okay. It might just be my setup then.
JagaJaga has quit [(Ping timeout: 252 seconds)]
<Chattered>
I'm using the open-source radeon drivers. And I'm on xmonad without a desktop manager.
<Chattered>
Thanks for checking it out.
<manveru>
i'm on i3, but yes, radeon has nothing but trouble... that's why i only buy nvidia for linux machines
<Chattered>
The Half Life games work at least.
<sphalerite>
my experience with nvidia is crap too, which is why I like to stick to intel... :D
reinzelmann has joined #nixos
<unlmtd[m]>
anyone using mopidy with spotify or soundcloud? No success, except soundcloud search, but doesnt play
<sphalerite>
awww I was getting excited too early about the whole cross-build thing working
pie_ has joined #nixos
dramforever has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<unlmtd[m]>
no wonder everyone uses the browser as their OS; nothing works
Lowl3v3l has joined #nixos
<unlmtd[m]>
ahh not quite. xmonad works
<bennofs>
unlmtd[m]: as long as you don't use xmonad's tabbed layout or android emulator :D
<gchristensen>
might be because spotify works hard to keep people using their player
<bennofs>
(well, tabbed layout is in xmonad-contrib tbf)
<gchristensen>
I'm surprised a license-free aficionado such as your self is using spotify :)
<unlmtd[m]>
android emulator?
JagaJaga has joined #nixos
<unlmtd[m]>
gchristensen: im not developing it
<bennofs>
android emulator is used for android dev and was quite bugged on xmonad (resizing/moving didn't work well)
<unlmtd[m]>
ohh I getya
simendsjo has joined #nixos
<unlmtd[m]>
I already said I dont case about licences
<unlmtd[m]>
I just wont spend time developing code that some people wont use for fear of litigation costs
phanimahesh has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin>
Re: android + xmonad: AWT_TOOKIT=MToolkit _JAVA_AWT_WM_NONREPARENTING=1 sometimes helps with Java + tiling WMs
pi3r has joined #nixos
<unlmtd[m]>
> He that writes in blood and proverbs does not want to be read, but learnt by heart.
<unlmtd[m]>
~ Nietzsche
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMVXo
<NixOS_GitHub>
nixpkgs/master d535b2d Vincent Laporte: smtube: 16.1.0 -> 16.7.2
phanimahesh has joined #nixos
<philipp[m]>
Chattered: for many games you need to delete the included stdlibc. Conflicts with the newer version needed for new Radeon drivers.
<Chattered>
philipp[m]: I have "steam = pkgs.steam.override { newStdcpp = true; };" in my config.nix. Is that enough?
<Chattered>
Oh, hang on. You mean I have to delete the shared objects in the game dir?
<philipp[m]>
Chattered: Yes, sometimes that helps.
<philipp[m]>
Sometimes you have to add a lib to the steam runtime also.
systemfault has joined #nixos
<philipp[m]>
Unfortunately steam supports newer versions of mesa very poorly.
[0x4A6F] has quit [(Quit: Quit)]
[0x4A6F] has joined #nixos
civodul has joined #nixos
<sphalerite>
:( nix being written in C++11 is now making my life complicated
<gchristensen>
how so?
<sphalerite>
it won't compile with the cross-compiler toolchain I have here
<sphalerite>
because it doesn't know about std::to_string
sdothum has joined #nixos
justin_ has joined #nixos
<gchristensen>
ah
[0x4A6F] has quit [(Quit: Quit)]
<sphalerite>
manveru Chattered: fwiw civ5 runs fine for me too, on intel graphics
[0x4A6F] has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
_rht has quit [(Quit: Connection closed for inactivity)]
mguentner2 is now known as mguentner
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMVM6
<NixOS_GitHub>
nixpkgs/master 4e88fe4 Vincent Laporte: grass: fix build
<gchristensen>
aklt: may I ask more about what you're doing and how you're going about it?
<aklt>
gchristensen: Yes, of course! I would like to build vis from source, so i am trying to do that with th usual ./configure && make, etc.
<aklt>
gchristensen: but I am stuck at vis not being able to find ncurses.
<aklt>
gchristensen: with nix-shell -p ncurses pkgconfig, I still cannot find ncurses with pkg-config
<aklt>
It seems there have been similar issues before, or maybe a variant of this problem
<gchristensen>
ah! yes, so frequently the standard ./configure, make, etc. steps don't always work quite so well out of the box, but our tooling usually makes up for it. can you link me to the project?
<gchristensen>
oh, also, we seem to have it packaged already -- is that not what you want?
<aklt>
gchristensen: I would really prefer to follow the development via the git repo for this package since development is quite active atm
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMVyn
<NixOS_GitHub>
nixpkgs/master 7d75dd7 Vincent Laporte: coqPackages.coq-ext-lib: 0.9.3 -> 0.9.{4,5}
<srhb>
aklt: The definition in nixpkgs actually takes a revision and a sha256 hash as arguments, does that not work with newer versions?
<aklt>
srhb: I just had a look at the file and yes, I could probably go that route if I make sure to replace the hash with the correct value each time
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vMVyN
<srhb>
aklt: Otherwise you can retrofit that expression for your own shell.nix file
<gchristensen>
aklt: another way you could do it is override the src to be a local checkout
<LnL>
gchristensen: by playing around with hydra I realised that you can just parameterise the packages you want to build
georges-duperon has joined #nixos
<aklt>
srhb, gchristensen: cool those are ideas I hadn't considered, I will try to make a copy of vis/default.nix and use that for a build
<LnL>
so my idea of using hydra on my test machine doesn't seem all that crazy
<srhb>
aklt: gchristensen's suggestion is better than mine, use that. ;-)
<aklt>
But is thre not still an issue with "pkc-config ncurses" not working?
<aklt>
srhb: Thanks, will do ;)
<srhb>
aklt: The nix expression (probably) takes care of setting all that up.
<srhb>
Unless something changed recently. :)
<srhb>
aklt: The idea is that the necessary environment only exists for that package, not globally (or locally) for your user.
<gchristensen>
aklt: you can use : (pkgs.vis.overrideDerivation (orig: { src = ./your-local-checkout; })) in your configuration.nix or shell.nix and you won't have .pc issues
<aklt>
srhb: in this case it probably wields some magic, but there are other cases where a user might want to run pkg-config ncurses, but nnot within a nix expression?
<srhb>
aklt: You can, but you'll be walking down a road that leads to a lot of pain and strips a lot of the Nix benefits.
<aklt>
gchristensen: cool, thanks! I will follow that route
<gchristensen>
aklt: to get the .pc in a nix-shell you can add ncurses.dev
justin_ has quit [(Ping timeout: 240 seconds)]
<aklt>
srhb: I am not suggesting this as a route for installing packages, but for devs,.. ah! gchristensen just answered my concern ;)
<srhb>
Even for devs, it's usually better to whip up that nix expression in my experience. :)
<gchristensen>
srhb: perhaps provide an example of shell.nix / nix-shell
<aklt>
I agree that using nix expressions is the best, but it is not always possible or convenient
<srhb>
All mine are for Haskell dev environments, I'm afraid.
<aklt>
I had some issues with some lua packages installed via luarocks a while ago. It uses a compiler and assumes presence of some libraries
<srhb>
aklt: OK, it's just my opinion anyway. :-) Make the best of what you like.
<abbradar>
aklt: in case you want to play around with vis's source code you can do `nix-shell -A vis '<nixpkgs>'` in vis's source directory
<abbradar>
it'll get you to a shell with all vis's dependencies from our package and environment set up for building
<aklt>
abbradar: ah, that's new to me, thanks
<aklt>
gchristensen: aha, that's nice to know! I assume that is the nix expression way of doing what abbradar suggested?
<aklt>
Nice to learn something new!
<gchristensen>
well it is the same thing, practically
<abbradar>
the difference is that you use something that we already have in nixpkgs instead of writing it by hand
<abbradar>
but if you want to e.g. change something, add dependencies etc. it may be more convenient to use stand-alone shell.nix like this one
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMVSz
<NixOS_GitHub>
nixpkgs/master f537f84 Vincent Laporte: coqPackages.flocq: 2.5.1 -> 2.5.2
<NixOS_GitHub>
[nixpkgs] ehmry pushed 1 new commit to master: https://git.io/vMVSw
<NixOS_GitHub>
nixpkgs/master 2fe19b1 Emery Hemingway: clerk: fix version string
<aklt>
abbradar: that;s reasonable. It is nice to have files with build environments set up.
<aklt>
l
<aklt>
gchristensen, abbradar: I just tried your suggestions, but pkg-config still cannot find ncurses... I wonder if I am doing something wrong
MoreTea has joined #nixos
<aklt>
Hmm, apparently I have something strange in my environment. I tried running a different shell and in that ./configure was able to find ncurses, but pkg-config still cannot
feepo has quit [(Quit: Connection closed for inactivity)]
<aklt>
anyway, thannks for your help
phanimahesh has quit [(Ping timeout: 240 seconds)]
<abbradar>
aklt: I cannot reproduce this: `pkg-config --cflags ncurses` works for me in `nix-shell -A vis`
JagaJaga has quit [(Ping timeout: 255 seconds)]
<aklt>
abbradar: abbradarL I think I found out that I have something that is interfering in my environment
<aklt>
abbradar: using nix-shell --pure '<nixpkgs>' -A vis
<aklt>
abbradar: pkg-config --cflags also works for me, joy!
<aklt>
So --pure did the trick... maybe my path is strange, hmm
phanimahesh has joined #nixos
<pierron>
domenkozar: Thanks for answering on the PR :)
<abbradar>
aklt: hm, strange -- not sure what could be the reason
<abbradar>
any way, good that it's solved ^_^
<aklt>
yes, thanks! ^=^
<Sonarpulse>
shlevy: thanks!
<Sonarpulse>
is there a way to force a recheck?
<Sonarpulse>
rather than waiting for the next poll?
<shlevy>
Sonarpulse: I can, which one?
<Sonarpulse>
cross-tepid
<Sonarpulse>
well
<Sonarpulse>
I will be doing this a lot perhaps :)
<shlevy>
Hmm
<shlevy>
If you can see if you can make an account
<shlevy>
Then I can add you to the jobset I think
<shlevy>
Or maybe I can create an account for you..
<shlevy>
But I think that may require shell access
<shlevy>
Yeah try logging in with google
<shlevy>
if that doesn't work I can add you I think
<Sonarpulse>
I did and....nothing
<Sonarpulse>
I think that's borked
<shlevy>
What's your email?
<Sonarpulse>
John_Ericson@Alumni.Brown.edu
<Sonarpulse>
probably better than the spam honeypot I somehow still author my commits with :/
<shlevy>
Hmm
<shlevy>
Logging in with Google worked for me
<shlevy>
Sometimes there's a delay
<shlevy>
(I just tried with a new address)
<Sonarpulse>
I'll give it another shot
<Sonarpulse>
worked in chromium lol
<shlevy>
Oh
<shlevy>
I think there's an issue about that somewhere
<shlevy>
OK let me add you to the jobset
<shlevy>
Augh does hydra not expose projectmembers through the interface? :(
<shlevy>
domenkozar: ikwildrpepper: niksnut: ^
<domenkozar>
I don't have cli access
<shlevy>
Do you know if it's required for this?
<domenkozar>
punch me, but I just add everyone as admin
<shlevy>
:D
<shlevy>
Alright
<domenkozar>
(on private hydra that is)
<shlevy>
Sonarpulse: Use it wisely
<domenkozar>
but dunno
<domenkozar>
:)
<shlevy>
Sonarpulse: It's on me if you don't :P
joachifm has quit [(Quit: Lost terminal)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMVHl
<NixOS_GitHub>
nixpkgs/master 503329e Vincent Laporte: bluefish: 2.2.7 -> 2.2.9...
joachifm has joined #nixos
altphi has joined #nixos
<Sonarpulse>
shlevy: ok!
<Sonarpulse>
anything in particular that I should be aware of?
<Sonarpulse>
it builds only casually vetted commits already, so I think it's pretty robust
<Sonarpulse>
*I'd think
<shlevy>
Yeah
<shlevy>
Just don't go deleting stuff that's not yours or adding a million jobsets :P
<unlmtd[m]>
whats happening with the wiki?
MoreTea has quit [(Ping timeout: 260 seconds)]
<Sonarpulse>
shlevy: oh ok :) can do
<LnL>
niksnut: ikwildrpepper: I think those ~200 trunk builds have been in the queue for almost 2 days now
Itkovian has joined #nixos
phanimahesh has quit [(Ping timeout: 240 seconds)]
<abbradar>
Is it a good idea to open DHCPv6 client port on NixOS by default? I'm not knowledgeable much about IPv6 in general but it seems a good default to me.
<gchristensen>
my ISP does this annoying thing where I'll start out with 5mbps transfer speeds and does this logarithmic (I've graphed it) speed reduction over time until I'm just trickling. I wish I could re-initiate the connection every minute or so
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
justin_ has joined #nixos
michaelpj has joined #nixos
sdothum has joined #nixos
<LnL>
my hydra builds fail :(
<LnL>
possibly transient failure building ‘....tar.gz.drv’ on ‘user@mac1’: program ‘...resolve-system-dependencies.pl’ failed due to signal 11 (Segmentation fault: 11)
<domenkozar>
there was an issue for that
<LnL>
oh really?
<domenkozar>
in nix github, afaik
mkoenig has quit [(Ping timeout: 255 seconds)]
<LnL>
yeah I found it
jgertm has joined #nixos
<LnL>
I wonder if it's related to my nix-copy-closure issue
mkoenig has joined #nixos
altphi has joined #nixos
<joko>
Could anyone help me with Hydra and supportedFeatures? I am overriding coreutils with requiredSystemFeatures and Hydra still sends the job to a machine without the supportedFeature :/
justin_ has quit [(Ping timeout: 255 seconds)]
<domenkozar>
joko: sure
<domenkozar>
joko: can you show me how you override
<LnL>
domenkozar: that workaround fixed it
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMV5Z
<NixOS_GitHub>
nixpkgs/master afb73be Tim Steinbach: busybox: 1.26.1 -> 1.26.2
<NixOS_GitHub>
[nixpkgs] johbo opened pull request #21883: Darwin gtk quartz follow up (master...darwin-gtk-quartz-follow-up) https://git.io/vMVdE
<domenkozar>
joko: I'd try with overrideAttrs
stepcut_ has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #21884: rustc: disable parallel building (master...rust-no-parallel) https://git.io/vMVda
<LnL>
^ :'(
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<gchristensen>
clever: ping
<gchristensen>
LnL: :(
<LnL>
works fine for me, but apparently their build system is broken
eacameron has joined #nixos
<LnL>
hopefully the codegen is still a significant improvement
<gchristensen>
I think I've hosed 4 dedicated servers today ಠ_ಥ
ublubu has quit [(Ping timeout: 245 seconds)]
ertes has quit [(Ping timeout: 240 seconds)]
pstn has quit [(Quit: leaving)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
<gchristensen>
hmm I can't get clever's kexec trick to work anymore, the kexec'd kernel thinks /dev/sd{a,b} are in use
<LnL>
that's strange, doesn't it force unmount everything
<gchristensen>
yeah I thought so
<gchristensen>
and indeed nothing is revealed to be mounted by `mount` but still, "The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)." and then when running partprobe "Error: Partition(s) 1, 2, 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old
<gchristensen>
partition(s) will remain in use. You should reboot now before making further changes."
<abbradar>
gchristensen: very strange because I think kexec() can't leave any state behind it
<abbradar>
(it is exec(), after all)
<gchristensen>
yeah :/ I don't know
<LnL>
oh interesting, the s3 uploader in hydra removes stuff immediately after it's uploaded
<abbradar>
what about lsof /dev/sda?
<LnL>
I thought that was done with a normal gc run
justanotheruser has quit [(Ping timeout: 252 seconds)]
<gchristensen>
will check shortly, abbradar
<gchristensen>
ah the rescue system is alpine with a grsec kernel that doesn't allow kexec
<gchristensen>
ok back to the other kexec attempt / checking lsof :)
<gchristensen>
abbradar: lsof reports nothing is using dev/sda or b
<joko>
Funny, the change is not picked up by Hydra. Anyone care to solve the Hydra error on 16.09? "s3-binary-cache-store.cc:6:29: fatal error: aws/s3/S3Client.h: No such file or directory" is the problem
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #21887: gzip: `xz.bin` should be native input---accidentally worked because `bin` (master...gzip-cross) https://git.io/vMVNZ
<gchristensen>
clearing these md entries is annoying ):
eacameron has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] nbp opened pull request #21888: Make services.xserver.xkbDir conflict free when overriden. (master...xkbDir) https://git.io/vMVNM
akiselev has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
<edofic>
Can I somehow get a "source closure" of a derivation? That is everything needed to build the derivation and everything needed to build that etc.
<NixOS_GitHub>
[nixpkgs] offlinehacker opened pull request #21892: yarn: init at 0.18.1 (master...pkgs/yarn/add) https://git.io/vMwey
<LnL>
yes, use nix-instantiate
<LnL>
if you create a closure of the resulting drv you'll have everything you need to build it
<edofic>
Great thanks. But I still need to manually recurse right?
<LnL>
you don't need to do all that if you just want to build a closure, right?
<edofic>
Not sure. Let me explain better. If I have a Haskell package I want to get GHC, but I also want to get everything needed to build GHC from source
<edofic>
and so on until I hit blobs
<domenkozar>
yeah what I linked above gets you exactly that
<domenkozar>
all fixed-output derivations that are downloaded
<domenkozar>
all other content-addressed derivations will be based on them
<edofic>
oh, did not understand that. Must have misread. Thanks. Will try it out
<domenkozar>
I do not know if that includes also relative imports
<domenkozar>
would have to try it out, no time atm :)
phreedom has quit [(Remote host closed the connection)]
<taktoa>
:o time to donate
ryanartecona has quit [(Quit: ryanartecona)]
eacameron has quit [(Remote host closed the connection)]
<michalrus>
Can you tell me which package contains `gnome-screensaver`?
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
e3d3 has joined #nixos
<AtnNn>
Hi, I'm working through the Programming and Proving tutorial
<AtnNn>
What is the constructor for (0::int?
eacameron has quit [(Ping timeout: 240 seconds)]
<AtnNn>
Using 0 gives `non-constructor pattern not allowed'
<AtnNn>
Oh, wrong channel
e3d3 has left #nixos []
<AtnNn>
The license for vampire (vprover.org) says "The Licencee may not distribute the Software." Would a package for it be accepted into nixpkgs?
<simpson>
AtnNn: It'd definitely be marked as unfree.
<pareidolia>
But accepted?
<gchristensen>
probably with requireFile as the src
<joepie91>
it appears that the `capstone` package is missing lib/pkgconfig files, which is leading to it not being picked up by pkg-config... is the correct fix to add pkgconfig to the buildInputs for `capstone`, or would anything else need to be done?
<joepie91>
(this is a somewhat urgent question, it's blocking my `edb` build :P)
<AtnNn>
thanks, requireFile seems perfect for this
<NixOS_GitHub>
[nixpkgs] matthewbauer opened pull request #21895: xcbuild: update to 0.1.1 (master...xcbuild-update) https://git.io/vMwI7
<sphalerite>
I have a device that I've managed to compile some software for using nixpkgs's cross-compilation support. However, I haven't managed to build nix for it. Can I still copy closures efficiently, e.g. using rsync (which I've got to build successfully for it)?
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
Zer000 has joined #nixos
c0bw3b has left #nixos []
mkoenig has quit [(Read error: Connection reset by peer)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
jgertm has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]