<boomshroom>
I'm trying to copy my laptop's system to my desktop (to copy back on a different store) with nix-copy-closure, but even with -v, I'm not seeing any output.
<Lisanna>
Hey, how are problems in hackage-packages.nix fixed?
<Lisanna>
since it's an autogenerated file
<boomshroom>
19*2*, not 19*8*
<ylwghst>
chrishill: tr nixos-rebuild with this in configuration.nix
* boomshroom
facepalms
<chrishill>
ylwghst: Wow, thanks so much for that! I’ll get right on it
<boomshroom>
error: importted archive of '...glibc-2.25' lacks a signature
<Lisanna>
Specifically: the entry for simplessh contains an error that prevents it from building, such that ssh2 gets set to null, instead of the actual nixpkgs package
goibhniu1 has quit [(Ping timeout: 260 seconds)]
goibhniu has joined #nixos
<ylwghst>
chrishill: im not sure if i used correct attribute
markus1199 has joined #nixos
<tilpner>
ylwghst - Why overrideDerivation over overrideAttrs?
<chrishill>
ylwghst: `super.xkbcomp` should perhaps be `super.xorg.xkbcomp` instead. I’ll try
dywedir has quit [(Ping timeout: 240 seconds)]
iqubic_ has joined #nixos
mekeor has quit [(Ping timeout: 264 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
<boomshroom>
What's the reason for "--include-outputs" in nix-copy-closure?
iqubic has quit [(Ping timeout: 258 seconds)]
<chrishill>
It evaulated correctly and now it’s downloading, so it ssems to be working! 🤞 👌
jophish__ has quit [(Ping timeout: 260 seconds)]
<chrishill>
Just needed to change the attribute path
<ylwghst>
chrishill: really ? i still get wrong attribute even with xorg.
<ylwghst>
tilpner: im not sure ? what shall i use?
<boomshroom>
Does anyone know how to merge a nix system into another partition that already has a Nix store?
boomshroom has quit [(Quit: Page closed)]
qqqqq has quit [(Ping timeout: 260 seconds)]
boomshroom has joined #nixos
<paperdigits[m]>
I'm trying to update hugin in nixpkg. it builds successfully, but the binaries are not present. A friend on gentoo had a similar problem and just needed to another directory to the path. When nix-env successfully installs a package, is there anyway to view the content of the build dir?
<paperdigits[m]>
boomshroom: just add the relevant config and rebuild?
<boomshroom>
I have a Nix installation and I separate store. I want to move the installation to that pre-existing store.
thc202 has quit [(Ping timeout: 248 seconds)]
<ylwghst>
paperdigits[m]: after build is done everything is stored in /nix/store
<ylwghst>
paperdigits[m]: and binaries should be linked in ~/.nix-profile/
<chrishill>
ylwghst: when I compile with the newer Xkbcomp some key mappings don’t work. In particular, I have them mapped to keys like Escape, Home, End, etc.: not alphanumeric or symbolic keys, so to speak. So the problem seems to lie with mapping to functional keys like Escape etc.
<paperdigits[m]>
ylwghst: thanks!
<ylwghst>
chrishill: I see
<ylwghst>
paperdigits[m]: does your package has /usr ?
<ylwghst>
paperdigits[m]: nix doesn't use usr
<ylwghst>
so everything from usr has to be in $out/
<ylwghst>
so if there is /usr/bin/binary
erictapen has joined #nixos
<ylwghst>
you need to move it into $out/bin/binary
<paperdigits[m]>
I will be able to tell when this build is done :)
chrishill has quit [(Quit: Leaving)]
<ylwghst>
within installPhase
<ylwghst>
paperdigits[m]: so search for them in ~/.nix-profile/
<tilpner>
paperdigits[m] - Can you share your Nix file?
<paperdigits[m]>
tilpner: yes, pushing this branch up to github
<orivej>
paperdigits[m]: the most convenient way to perform the build process step by step to examine what is wrong is with https://github.com/dezgeg/nix-debug-shell
<orivej>
paperdigits[m]: configure phase writes: "Found wxWidgets: (found version "2.8.12"); At least wxWidgets 3.0 is required; wxWidgets was not found, GUI programs (hugin, nona_gui) disabled"
<paperdigits[m]>
orivej: thanks, where would I have looked to have found that?
<ldlework>
Is anyone here using NixOS on Digital Ocean?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFqbO
<NixOS_GitHub>
nixpkgs/master 33c0dca Vincent Laporte: ocamlPackages.alcotest: 0.7.2 -> 0.8.1
NixOS_GitHub has left #nixos []
<orivej>
paperdigits[m]: In the output during nix-build. But I did not notice this from the first glance, so I looked in the build dir for the rule to build "hugin" and found the comment "# build gui only if wxWidgets was found". Only then did I look into the build log to see what it says about wxwidgets.
<paperdigits[m]>
maybe I need wxGTK30 instead of wxGTK which is 2.8.x
<orivej>
correct
<paperdigits[m]>
orivej: thanks, rebuilding
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
scribbler has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nix] danbst opened pull request #1648: nix-collect-garbage: little doc fix (1.11-maintenance...patch-1) https://git.io/vFqp7
NixOS_GitHub has left #nixos []
mahalel_ has quit [(Ping timeout: 255 seconds)]
mahalel_ has joined #nixos
damke has joined #nixos
<ldlework>
Hmm, I just tried to deploy the NixOps Digital Ocean example, and I got: error: a ‘x86_64-linux’ is required to build ‘/nix/store/ww2z6pkfqzlin98sx5gkv55yqi8mynxn-append-initrd-secrets.drv’, but I am a ‘x86_64-darwin’
<ldlework>
Is it really the case I can't use NixOps on OSX if I'm targeting a remote linux host?
<ldlework>
I see that yes, this is really the case. Bleh, lol.
<scribbler>
isn't there some means of specifying remote builders as a way to deal with this?
jtojnar has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
<clever>
ldlework: the multi-user install breaks the code in nixops that deals with that automatically
<clever>
ldlework: so you need to either
<clever>
a: manualy add a linux slave to /etc/nix/machines
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] wizeman reopened pull request #10653: Bring Darwin frameworks and libs into scope in all packages by default (master...darwin-callpackage) https://git.io/vWyQm
NixOS_GitHub has left #nixos []
<clever>
b: run nixops as root on darwin with NIX_REMOTE unset
<clever>
c: reinstall nix in single-user mode
<ldlework>
clever do I convert my multi-user install to single user by simply chmod'ing some stuff?
<clever>
ldlework: i think you could do it by, stopping the nix-daemon service from running, and chown -R /nix/store
<clever>
ldlework: as long as you have +w to the store, it will work without the daemon, so you just have to stop the daemon from making root-only things
<clever>
and nixops can only do its automation if NIX_REMOTE is unset, which requires +w to /nix/store/
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFqhr
<srk>
any idea why master won't boot anymore under openvz? getting Failed to canonicalize path /etc/systemd/system/local-fs.target.d: Too many levels of symbolic links on most services
nckx has joined #nixos
schell has quit [(Quit: schell)]
<srk>
if I know that 17.03 is working can I just bisect from release-17.03 branch upwards?
<ldlework>
clever how does this fix the issue?
<clever>
ldlework: if nix is running without nix-daemon, then the env variables of the nix-build process control the build slaves
<clever>
ldlework: so nixops can auto-configure nix-build to use the target machine as a build slave
<ldlework>
I see
<clever>
but if nix-daemon is in use, it has to be setup in /etc/nix/machines, and only root can write to that
<clever>
so the automation just gives up and shuts off
<clever>
then you need to manually configure linux build slaves
<ldlework>
clever I feel like the nix install script should have a switch for this
<jluttine>
hmm.. how should i set the channel in configuration.nix? i tried using: nix.nixPath=["nixpkgs=https://nixos.org/channels/nixos-17.09/nixexprs.tar.xz"]; but this just causes nix to download that tar.xz almost everytime i do something related to nixpkgs..
<jluttine>
so it doesn't behave similarly compared to setting the channel in the traditional way
<srk>
jluttine: I'm now using nix.nixPath = [ "/etc" "nixos-config=/etc/nixos/configuration.nix" ]; with nixpkgs checkout in /etc/nixpkgs
<jluttine>
srk: yep, i have that kind of setup in one of my computers. but i would like to have a simpler setup on others as i'm not the one using those
<srk>
I see
<jluttine>
so that "nixos-rebuild switch --upgrade" would work
<srk>
right
<jluttine>
and "nixos-rebuild switch" wouldn't upgrade
<srk>
I would like to automate this as well so I can just say 'run from master' in config
<ldlework>
clever I did what you said but I got the same error
<jluttine>
at least i don't want any upgrade to happen when just syncing my configuration with "nixos-rebuild switch"
orivej has quit [(Ping timeout: 264 seconds)]
betaboon has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #31023: xfce4-settings: build w/ xorg-libinput, make some dependencies optional (master...xfce4-settings/libinput) https://git.io/vFmfg
NixOS_GitHub has left #nixos []
<clever>
ldlework: you may need to unset NIX_REMOTE and ensure the nix-daemon has stopped
<hyper_ch>
yesterday some scammer called my office telling he was a microsoft employee and wanted to talk with the person in charge... since I had a deadline that I needed to keep, I gave instructions to my phone service not forward calls...
<hyper_ch>
now I wonder if that person will try again today to call and hence I'm ondering to setup a windows in a vm to see what they're actually going to do
Itkovian has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 255 seconds)]
<sphalerite>
Nixpkgs's generate-config.pl for the kernel has a bug :(
<hyper_ch>
sphalerite :(
tdc has joined #nixos
<vaibhavsagar>
how do I run tests from the nix-shell of a haskell project?
<vaibhavsagar>
I thought it would be cabal configure --enable-tests; cabal build; cabal test but that doesn't seem to be enough
goibhniu has joined #nixos
kiloreux_ has joined #nixos
kiloreux has quit [(Ping timeout: 248 seconds)]
rogue_koder has quit [(Quit: Konversation terminated!)]
proteusguy has joined #nixos
<vaibhavsagar>
okay, it looks like I need to do "runhaskell Setup.hs configure --enable-tests; runhaskell Setup.hs build; runhaskell Setup.hs test" and that works
notdaniel has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar force-pushed darwin-parallel from 5d128c7 to ea6a406: https://git.io/vFmtY
<NixOS_GitHub>
nixpkgs/darwin-parallel ea6a406 Domen Kožar: darwin: build apple stuff in parallel
<vincent_vdk>
is there a way to make environments transparant to your shell?
<srhb>
vincent_vdk: What do you mean?
<vincent_vdk>
i would like to have my zsh shell and prompt when running in a nix-shell
<srhb>
--command zsh?
<vincent_vdk>
hmmm
<manveru>
vincent_vdk: best option for that is direnv imho
<vincent_vdk>
sorry if i ask noob questions. just started NixOS last weekend
<vincent_vdk>
and it is quite different
<vincent_vdk>
:)
<manveru>
:)
zzamboni has joined #nixos
charlycoste has quit [(Ping timeout: 240 seconds)]
obadz has quit [(Ping timeout: 252 seconds)]
obadz has joined #nixos
ambro718 has joined #nixos
ixxie has joined #nixos
<adisbladis>
goibhniu: I tried to improve upon the noise reduction a bit but it's pretty difficult
<numerobis>
Hi! I am trying to reverse a nix-rebuild switch --upgrade (because the upgrade did not work and I can't use 'nixos-rebuild anymore) Is there a way to do that? i've looked in the manual, but haven't found it explained... Thanks!/
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<srhb>
What do I need to feed nix-build in order to build another machine's configuration.nix?
<LnL>
you can run sudo nix-channel --rollback to revert the --upgrade part
<LnL>
nix-build '<nixos/nixos>' -I nixos-config=/path/to/configuration.nix -A config.system.toplevel
<LnL>
IIRC
goibhniu has quit [(Ping timeout: 248 seconds)]
<numerobis>
LnL: Thank you very much, I'll try that :)
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
lissyx has quit [(Ping timeout: 240 seconds)]
ahstro has joined #nixos
jensens has joined #nixos
k0001 has joined #nixos
davidak has joined #nixos
<DIzFer[m]>
I'm trying to use php-imagick with a config that has traditionally worked, but for some weeks now nixos-rebuild stops because it says imagick can't find pkgconfig. Weird thing is that I can see pkgs.pkgconfig in php-imagick's nativeBuildInputs. Any ideas on how to fix this?
zzamboni has quit [(Ping timeout: 240 seconds)]
<numerobis>
LnL: That worked, thanks! Was easier than expected :)
<numerobis>
Hi again, nixos! I think I did something stupid: I changed users.mutableUsers to false before I knew that this would delete existing passwords set imperatively, and I hadn't set the hashedPassword option. Since I also disabled root access via ssh, I can only ssh into my machine as my user but can't sudo or su to gain more priviledges. Is there any way to recover my priviledges? Thank you!
<adisbladis>
cmcdragonkai: You might have to set the matplotlib backend
caolanm has joined #nixos
<caolanm>
I'm trying to build a gem using bundlerEnv but it has a native dependency - is there any way to pass this into bundlerEnv?
<adisbladis>
cmcdragonkai: matplotlib.use('Qt5Agg') should work
pikajude has joined #nixos
<gchristensen>
numerobis: ouch, can you access a rescue console of some sort?
<caolanm>
oh, I might have managed it using gemConfig
<numerobis>
nah... Should have read the documentation till the end before messing around haha... But that's all right, at least it'll stick in memory now.
<numerobis>
gchristensen: and I have my configuration file under version control, so shouldn't be too hard to reinstall..
<gchristensen>
numerobis: it should also not be so dangerous
<numerobis>
gchristensen: True, a warning in the documentation would be nice :)
<gchristensen>
or refusing to disable mutableusers if root doesn't have a hash and a user with a hash can't become root
<gchristensen>
it is a complicated check :)
__Sander__ has joined #nixos
FRidh has joined #nixos
seppellll has joined #nixos
scribbler has joined #nixos
ison111 has quit [(Ping timeout: 258 seconds)]
thblt has joined #nixos
charlycoste has quit [(Ping timeout: 246 seconds)]
lissyx has joined #nixos
orivej has joined #nixos
symplectico_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFmcP
<NixOS_GitHub>
nixpkgs/master e5ec7ad Samuel Leathers: Merge pull request #31012 from elasticdog/ansible...
NixOS_GitHub has left #nixos []
Arcaelyx_ has joined #nixos
goibhniu has joined #nixos
mingc has quit [(Quit: Ping timeout (120 seconds))]
nikivi has quit [(Ping timeout: 240 seconds)]
mingc has joined #nixos
Drako365_ has joined #nixos
wilornel_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 248 seconds)]
astsmtl has quit [(Ping timeout: 248 seconds)]
bencoman has quit [(Remote host closed the connection)]
wilornel has quit [(Ping timeout: 248 seconds)]
heath has quit [(Ping timeout: 248 seconds)]
Drako365 has quit [(Ping timeout: 248 seconds)]
bencoman has joined #nixos
symplectico has quit [(Ping timeout: 248 seconds)]
leat has quit [(Ping timeout: 248 seconds)]
kini has quit [(Ping timeout: 248 seconds)]
astsmtl- has joined #nixos
kini has joined #nixos
nikivi has joined #nixos
leat has joined #nixos
heath has joined #nixos
roberth has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej closed pull request #31004: Revert "fetchzip and friends: Set "name" to "source" by default" (staging...revert-fetch-name) https://git.io/vFq2w
NixOS_GitHub has left #nixos []
bitchecker has quit [(Ping timeout: 240 seconds)]
cheshircat has quit [(Ping timeout: 240 seconds)]
lissyx has quit [(Ping timeout: 264 seconds)]
chris| has quit [(Ping timeout: 240 seconds)]
andymandias has quit [(Ping timeout: 260 seconds)]
metaphysician has quit [(Ping timeout: 260 seconds)]
<cmcdragonkai>
adisbladis: I get a type error 'figure' is an unknown keyword argument after running mpl.use('Qt5Agg') and then plt.imshow(img)
<cmcdragonkai>
however your suggestion did make it do something different
<cmcdragonkai>
before plt.imshow or plt.show just didn't do anything
<cmcdragonkai>
very strange, i didn't need to do this before
bitchecker has joined #nixos
andymandias has joined #nixos
metaphysician has joined #nixos
cheshircat has joined #nixos
numerobis has quit [(Quit: WeeChat 1.9.1)]
hamishmack has joined #nixos
chris| has joined #nixos
jophish has joined #nixos
<cmcdragonkai>
wait... matplotlib on nixpkgs is pyqt5
<cmcdragonkai>
wait... matplotlib on nixpkgs is pyqt4
<goibhniu>
hi musicmatze and dtz, are you still interested in doing a podcast?
<disasm>
cmcdragonkai: correct, feel free to submit a PR if you want to tackling switching it to qt5.
<cmcdragonkai>
so it should be mpl.use('PyQt4')
<musicmatze>
goibhniu: yes, but I wonder why you ping dtz ...
<goibhniu>
I think dtz was also interested
* goibhniu
just searched the log
<musicmatze>
ah, okay...
<goibhniu>
where are you based?
<musicmatze>
I'm in south germany
jeaye has quit [(Ping timeout: 248 seconds)]
<cmcdragonkai>
disasm: I switched to Qt4Agg, but still nothing shows, with no errors right now
<goibhniu>
oh, how come you're not at nixcon? :D
* goibhniu
is in Munich
jeaye has joined #nixos
<musicmatze>
goibhniu: I thought hard about coming and finally made the decision that it is better if someone else can go instead of me, because I wouldn't benefit that much from it...
lissyx has joined #nixos
<musicmatze>
also money.
<goibhniu>
ah, right
<musicmatze>
I would just listen to talks ... and I can do that on youtube as well... so it is better if someone else got a ticket who can actually participate in discussions and not just listen to them :-)
<goibhniu>
have you got a mic and all that?
<goibhniu>
that's nice of you, pity there wasn't place for more people
<musicmatze>
yes, I have a mic (Behringer C1, so nothing special), a ESI Juli@ Soundcard and a Xenyx1002FX for connecting these two. And a working setup so far :-)
<goibhniu>
sounds nice!
charlycoste has joined #nixos
<musicmatze>
Right now we (my friend and I) have a hard time finding an evening where we two both have time for recording the first session :-)
damke_ has joined #nixos
<goibhniu>
whereabouts are based? gilligan is also in south germany ... it might be handy to meet up since we're all so close, at least to set things up
<NixOS_GitHub>
nixpkgs/master 79cf1fc Samuel Leathers: Merge pull request #31028 from yrashk/skypeforlinux-5.5.0.1...
NixOS_GitHub has left #nixos []
__Sander__ has joined #nixos
gilligan_ has joined #nixos
roberth has joined #nixos
ma27 has joined #nixos
<goibhniu>
it would be great to have a few of us, so we can do them regularly, some people in the states would be good too
<goibhniu>
we're in #talkingsnowflakes
roberth has quit [(Ping timeout: 246 seconds)]
gilligan_ has quit [(Read error: No route to host)]
gilligan has joined #nixos
vcunat has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
civodul has joined #nixos
<srhb>
is -I nixos-config=/some/path the right argument to feed to nixos-rebuild when using a remote --target-host ?
goibhniu has quit [(Ping timeout: 260 seconds)]
gilligan_ has joined #nixos
<srhb>
I mean, in order to not just copy my local config.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vFmWy
<NixOS_GitHub>
nixpkgs/master fe9cefa Sander van der Burg: nodePackages: add more details about the packages to include and the Node.js versions to support
gilligan_ has quit [(Read error: Connection reset by peer)]
gilligan_ has joined #nixos
erictapen has quit [(Ping timeout: 246 seconds)]
gilligan has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vFmle
<NixOS_GitHub>
nixpkgs/release-17.09 ba4bac4 Sander van der Burg: nodePackages: add more details about the packages to include and the Node.js versions to support
NixOS_GitHub has left #nixos []
tgunb has joined #nixos
nh2 has quit [(Quit: Leaving.)]
ma27 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] nbp opened pull request #31030: Flag my-self as owner of Nixpkgs and NixOS internals (master...add-nbp-codeowner) https://git.io/vFmlq
NixOS_GitHub has left #nixos []
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vFmlM
<NixOS_GitHub>
nixpkgs/staging 5618691 Vladimír Čunát: perl-DBD-SQLite: 1.50 -> 1.54...
NixOS_GitHub has left #nixos []
sigmundv has joined #nixos
ma27 has joined #nixos
<srhb>
Where's signing of closures for use with nix-copy-closure documented?
<musicmatze>
goibhniu: I'm near Stuttgart.
<goibhniu>
cool
<hyper_ch>
goibhniu: thx for the live feeds
<musicmatze>
We're actually thinking about a programming/software-dev/nerdish podcast, so I'm not sure about how that relates to your ideas. Also we want to do it in german.
<goibhniu>
my pleasure, hyper_ch!
jacob__ has joined #nixos
<goibhniu>
musicmatze, ah that's fine, we were just talking about doing a podcast where we interview nixers
<musicmatze>
ah, okay! :-)
<goibhniu>
I guess you won't have so much time, since you'll already be doing your own podcast :D
<musicmatze>
goibhniu: I'd love to contribute, of course... but as you say, I have not that much time (mostly because of my masters thesis rather than anything else)
<musicmatze>
If you're near stuttgart we can meet in the shackspace some time for having a Mate or two :-)
<gchristensen>
I tried to fix the mutableUsers assertion to account for no user being able to ssh in and it is terribly long and complex.
<hyper_ch>
the master thesis won't run away :)
<gchristensen>
I think I'll throw it away
<musicmatze>
I guess I will be there next weekend again (if I can get someone to do a overnight-session there I will be there the whole weekend, I guess)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFm8H
<goibhniu>
super, we'll try to get this up and running anyway, and you can see if you have time then ... would love to visit the shackspace sometime too, cheers!
proteusguy has quit [(Remote host closed the connection)]
zzamboni has quit [(Ping timeout: 260 seconds)]
barrucadu is now known as boorrucadu
zzamboni has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
lissyx has joined #nixos
Neo-- has joined #nixos
zzamboni has joined #nixos
guillaum1 has quit [(Ping timeout: 264 seconds)]
mog has quit [(Ping timeout: 240 seconds)]
mog has joined #nixos
ylwghst has joined #nixos
<kiloreux_>
I have compiled a library and created a nix expression for it. And then I put it in LD_PRELOAD but when I try using it i get the following error
<kiloreux_>
curl: relocation error: /nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/libpthread.so.0: symbol __libc_vfork, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
zzamboni has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
mog has quit [(Ping timeout: 246 seconds)]
FRidh has quit [(Ping timeout: 258 seconds)]
mog has joined #nixos
kuznero has joined #nixos
seppellll has joined #nixos
<kuznero>
Hi All!
zzamboni has quit [(Ping timeout: 248 seconds)]
<kuznero>
Can somebody please run `sysctl net.ipv4.ip_forward` if you are on nixos-17.09?
andymandias has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
andymandias has joined #nixos
zzamboni has joined #nixos
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
<srhb>
kuznero: = 0
<ylwghst>
srhb: ^^
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra created auto-uid-allocation (+1 new commit): https://git.io/vFmut
<NixOS_GitHub>
nixpkgs/master d7bbfa9 Samuel Leathers: Merge pull request #31017 from geistesk/racket-6.11...
NixOS_GitHub has left #nixos []
Guest77351 has joined #nixos
zzamboni has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
zzamboni has joined #nixos
MrCoffee has quit [(Quit: Lost terminal)]
akaWolf has quit [(Quit: leaving)]
akaWolf has joined #nixos
Guest77351 has quit [(Ping timeout: 246 seconds)]
znc-user is now known as _rvl
typeggzero has joined #nixos
akaWolf has quit [(Quit: leaving)]
akaWolf has joined #nixos
akaWolf has quit [(Client Quit)]
akaWolf has joined #nixos
akaWolf has quit [(Client Quit)]
<typeggzero>
I activated pulseaudio in my configuration.nix but it's still using alsa. So now the first program started, is the only one playing sound. plz help! my bloodpressure is rising when I have to work without my relaxing music in my noise cancelling headphones.
Neo-- has quit [(Ping timeout: 255 seconds)]
<typeggzero>
for clarification: I'm aware that alsa is always beeing used, but it is still using ONLY alsa and not alsa with pulseaudio interface
mrkgnao has joined #nixos
contrapumpkin has quit [(Read error: Connection reset by peer)]
<typeggzero>
It's working perfectly fine on my desktop pc, but on my laptop I can't manage to get pulseaudio working like it should.
akaWolf has joined #nixos
<typeggzero>
The problem could be related to me using unstable kernel stuff on my desktop, but I can't use unstable on my laptop bec of nvidia driver problems @laptop :(
akaWolf has quit [(Client Quit)]
zzamboni has quit [(Quit: Leaving.)]
davidak has quit [(Ping timeout: 240 seconds)]
akaWolf has joined #nixos
contrapumpkin has joined #nixos
pxc has joined #nixos
scribbler has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] copumpkin opened pull request #1650: Always allow builds to use unix domain sockets in Darwin sandbox (master...darwin-sandbox-unix-socket) https://git.io/vFm2V
NixOS_GitHub has left #nixos []
akaWolf has quit [(Changing host)]
akaWolf has joined #nixos
joehh has joined #nixos
akaWolf has quit [(Quit: leaving)]
pxc has quit [(Ping timeout: 260 seconds)]
akaWolf has joined #nixos
thblt has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
scribbler has joined #nixos
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc opened pull request #31034: WIP: mutable user eval test (master...mutable-user-test) https://git.io/vFmaR
NixOS_GitHub has left #nixos []
<gchristensen>
^ cc fpletz, anyone else interested in nixos testing
dywedir has quit [(Remote host closed the connection)]
akaWolf has quit [(Quit: leaving)]
p4cman has quit [(Quit: Connection closed for inactivity)]
<thblt>
Hi! I'm trying to use my Yubikeys as U2F tokens on Firefox, but it doesn't seem to see them. I suspect some permissions quirk, since I need to run yubikey-personalization-gui as root to get it to see the keys.
<thblt>
(Yet they work perfectly well as PGP smartcards without sudo)
mkoenig has quit [(Remote host closed the connection)]
patrl has quit [(Quit: WeeChat 1.9.1)]
scribbler has joined #nixos
mkoenig has joined #nixos
patrl has joined #nixos
damke_ has joined #nixos
joehh has quit [(Ping timeout: 255 seconds)]
damke has quit [(Ping timeout: 240 seconds)]
thblt has quit [(Remote host closed the connection)]
Ivanych has quit [(Ping timeout: 264 seconds)]
ma27 has joined #nixos
joelpet has quit [(Ping timeout: 255 seconds)]
bencoman has quit [(Quit: Konversation terminated!)]
patrl has quit [(Quit: WeeChat 1.9.1)]
patrl has joined #nixos
Neo-- has joined #nixos
proteusguy has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
typeggzero has quit [(Quit: leaving)]
patrl has quit [(Quit: WeeChat 1.9.1)]
patrl has joined #nixos
guillaum1 has joined #nixos
nallar has joined #nixos
Ross has quit [(Ping timeout: 252 seconds)]
nallar is now known as Ross
Neo-- has quit [(Ping timeout: 264 seconds)]
ssmike has joined #nixos
bencoman has joined #nixos
hellrazo1 has quit [(Quit: WeeChat 1.9.1)]
scribbler has quit [(Ping timeout: 240 seconds)]
bencoman has quit [(Client Quit)]
bencoman has joined #nixos
scribbler has joined #nixos
<srhb>
Am I understanding that nix-env --profile ...system --set /nix/store/somepath doesn't actually _activate_ the configuration, right? It only sets the symlink?
<gchristensen>
right
jophish__ has joined #nixos
jophish__ has quit [(Client Quit)]
guillaum1 has quit [(Ping timeout: 240 seconds)]
<srhb>
So to reproduce something like what nixos-rebuild switch does I'd set the profile (to the path of the system closure), then run /run/current-system/bin/switch-to-configuration switch
<srhb>
... and actually, that's probably all.
TimS has joined #nixos
<TimS>
Hello!
johnsonav has quit [(Remote host closed the connection)]
roberth has quit [(Ping timeout: 240 seconds)]
<TimS>
Does anyone know how difficult it is to convert from using a regular package manager to NIX for an important project?
<adisbladis>
TimS: 5. Maybe even 6.
ssmike has quit [(Remote host closed the connection)]
patrl has quit [(Quit: WeeChat 1.9.1)]
<TimS>
Should I get an IRC client?
<TimS>
I've got a mac.
ssmike has joined #nixos
ssmike has quit [(Client Quit)]
__Sander__ has quit [(Ping timeout: 240 seconds)]
jophish has left #nixos []
<adisbladis>
Seriously though. I find it easier than traditional package management for important projects since you can track your dependencies as a part of your code.
ssmike has joined #nixos
<srhb>
TimS: If you're learning Nix at the same time, it's maybe a solid 8, really... :-)
mrkgnao has quit [(Ping timeout: 260 seconds)]
<srhb>
I was floundering a lot in the beginning.
__Sander__ has joined #nixos
<TimS>
I heard from a company last night that they don't truly have deterministic builds since there's like some config file that isn't forced to be the same for builds of the same hash
<TimS>
I don't think that sounds very good. Shouldn't it be deterministic?
<TimS>
There should be a separation, like in Haskell. It's purely functional part is 100% pure because it is properly separated from the I/O part.
patrl has joined #nixos
<srhb>
TimS: Hilariously, Haskell builds have been notoriously hard to make reproducible, which hurt nix a lot for a while :P
<srhb>
TimS: But we're not that dependent on exact binary output reproducibility currently.
<TimS>
Is that because there is some non determinism from multi threads?
<TimS>
Interesting. It seems like I don't really understand nix fundamentally yet.
<srhb>
TimS: I honestly don't know what causes the nondeterminism most often. The Debian people have been working a lot on this.
<srhb>
TimS: I imagine that order is one thing, yes.
<thoughtpolice>
It's better to think of it as "Nix always ensures you can reproduce the same steps, every time, to install some software". It does not guarantee "steps to install software" will be bit-for-bit reproducible. So nix ensures that if you run './configure; make; make install' -- you do that the exact same way, every time. But perhaps 'make' does something fiddly, like embed timestamps in source code.
jophish_fpp has joined #nixos
<thoughtpolice>
These are two separate problems but they're interrelated. Nix handles the first problem by design; but fixing the second problem really just requires "patching lots of upstream software to handle this". Debian people have worked a lot on the second problem, so Nix benefits from it too, of course.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tgunb>
has anyone else a 404 when installing skype?
<thoughtpolice>
Ideally at some point Nix will be both "Deterministic" and "Reproducible", i.e. it will always take the exact same steps to build any results you ask for, and it will always produce results that are deterministic in a binary sense (i.e. they always match bit-for-bit in any environment).
TimS_ has joined #nixos
<TimS_>
Hi
<TimS_>
I’m using “Mutter” for iOS.
amfl has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ahstro opened pull request #31036: elm-oracle: init at 1.1.1 (master...add/elm-oracle) https://git.io/vFm1W
bencoman has quit [(Quit: Konversation terminated!)]
bencoman has joined #nixos
zzamboni has joined #nixos
pxc has joined #nixos
gilligan_ has quit [(Ping timeout: 240 seconds)]
<infinisil>
TimS: You can ask stuff here and you'll probably get an answer. You could also use the mailing list for longer stuff or as an alternative
pxc has quit [(Ping timeout: 255 seconds)]
<TimS>
If I were to just pick a random project on GitHub that I expect my computer to be able to install dependencies for and run just fine, how much work would it then be to convert the project to use nix?
<infinisil>
TimS: With most projects it's just a simple nix file
zzamboni has quit [(Quit: Leaving.)]
<TimS>
Ok because someone just recently said it might be an 8 on the difficulty scale and now you
<TimS>
you're making it sound easy
<infinisil>
Well, it's easy once you get the hang of it
<infinisil>
and the nixpkgs repo has lots of examples of packages applications
<infinisil>
s/packages/packaged
TimS_ has quit [(Remote host closed the connection)]
binaryphile has joined #nixos
roberth has joined #nixos
binaryphile has left #nixos []
zzamboni has joined #nixos
jophish_fpp has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<TimS>
So I wouldn't have to change any source code but rather just the top level configuration file and it would sorta work itself down?
erictapen has quit [(Ping timeout: 246 seconds)]
peacememories has joined #nixos
<infinisil>
All packages in nixpkgs just use the source of the program, it doesn't require special nix support. If you want to use nix for your packages, you just put the nix file to the sources repository directly
__Sander__ has quit [(Quit: Konversation terminated!)]
nmikhailov has quit [(Ping timeout: 252 seconds)]
thblt has quit [(Ping timeout: 246 seconds)]
jophish has joined #nixos
nmikhailov_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej opened pull request #31038: autofs: do not strip needed symbols (master...autofs) https://git.io/vFmQz
NixOS_GitHub has left #nixos []
nmikhailov_ is now known as nmikhailov
swflint has quit [(Ping timeout: 252 seconds)]
jophish_obs has quit [()]
swflint has joined #nixos
__Sander__ has joined #nixos
ma27 has joined #nixos
guillaum1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] LnL7 opened pull request #1651: Optionally allow getpwuid in the darwin sandbox (master...darwin-sandbox-getpwuid) https://git.io/vFm76
NixOS_GitHub has left #nixos []
scribbler has joined #nixos
trevorriles has joined #nixos
erasmas_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #31039: graphite: fix the graphiteApi service (master...fix-graphite-api) https://git.io/vFm5I
NixOS_GitHub has left #nixos []
hellrazor has joined #nixos
erasmas has quit [(Ping timeout: 260 seconds)]
alhariel has joined #nixos
a6a3uh has joined #nixos
damke has joined #nixos
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<srhb>
TimS: I'm sorry if you thought I was being serious with that eight. I was merely conveying personal experience. To me, the first project was quite hard. It was worth every bit though. And I never paid a penny to learn anything. There's great docs out there, and the community is extremely helpful.
thblt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFmNs
<NixOS_GitHub>
nixpkgs/master 12c8a44 Michael Weiss: pythonPackages.multidict: Fix the build and tests...
NixOS_GitHub has left #nixos []
radivarig has joined #nixos
iyzsong has quit [(Ping timeout: 248 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
radivarig has quit [(Ping timeout: 248 seconds)]
roberth has joined #nixos
digitus has joined #nixos
Itkovian has joined #nixos
boorrucadu is now known as barru_but_spooky
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthiasbeyer opened pull request #31041: Update a few packages (master...update-my-packages) https://git.io/vFmpt
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
patrl has quit [(Ping timeout: 260 seconds)]
nh2 has joined #nixos
gilligan has joined #nixos
patrl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFmph
<NixOS_GitHub>
nixpkgs/master 8e93531 Michael Weiss: pythonPackages.raven: 6.2.1 -> 6.3.0
NixOS_GitHub has left #nixos []
Phillemann has joined #nixos
<Phillemann>
There's a patch inside a "patches" tar archive I'd like to include in my derivation. Can I just "fetchurl" it and access it via "(fetchurl ...)/patches/foo.patch"?
nh2 has quit [(Quit: Leaving.)]
notemerson has quit [(Quit: WeeChat 1.9.1)]
pxc has quit [(Ping timeout: 240 seconds)]
<ylwghst>
Phillemann: you can but shoul'd rather use fetchpatch
<ylwghst>
wait
<ylwghst>
if its supplied with package then you don't need to fetch it
<ylwghst>
only specify like this
<ylwghst>
patches = [ ./patches/foo.patch ];
<Phillemann>
No, it's a _separate_ archive, unfortunately.
<ylwghst>
Phillemann: where?
<Phillemann>
And I'd still just write something clever inside "patches = [ ... ];" than run some unpack command myself.
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
nh2 has quit [(Ping timeout: 255 seconds)]
periklis has joined #nixos
devhell has quit [(Quit: Leaving)]
erictapen has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFYvr
<NixOS_GitHub>
nixpkgs/master 8e91f4e Michael Weiss: lf: 2017-09-06 -> 2017-10-30
NixOS_GitHub has left #nixos []
<tilpner>
Phillemann - But (fetchTarball ...)/foo.patch should have worked too
tgunb has quit [(Ping timeout: 248 seconds)]
<srhb>
I don't understand the repercussions of the deprecation of openssl-based signing. Does anyone have an example of a nix-copy-closure workflow in 1.12 (which I assume is the new way?)
<srhb>
Er, I should say "implications" rather than "repercussions"
<hyper_ch>
tilpner: btw, still love your write to file custom expression... it's really useful
mog has quit [(Ping timeout: 248 seconds)]
<pie_>
(hi peeps, whats the way to use nix-env -E ? specifically for: nixpkgs.idrisPackages.with-packages [ nixpkgs.idrisPackages.builtins ] )
<Phillemann>
Next problem: is there a way to permanently enable full composition pipeline with the proprietary nvidia driver?
<tilpner>
:)
<ylwghst>
tilpner: maybe its working
<ylwghst>
there was odule support:
<ylwghst>
-- alsa
<ylwghst>
-- curl
<ylwghst>
-- i3
<ylwghst>
while build
wc[m] has joined #nixos
<srhb>
pie_: Why -E ?
<ylwghst>
but i still cant get my workspaces in polybar
<pie_>
srhb, whats the alternative? (other than properly doing it in a file :P)
<LnL>
Tehnix: yeah, php broke recently
<pie_>
pff php is always broken ;PP
<tilpner>
ylwghst - Try with override, like I said
<srhb>
pie_: What are you actually trying to do?
<pie_>
srhb, i want to install that package
<tilpner>
ylwghst - And run polybar -v, what features does it list?
<pie_>
it installs idris and its basic packages
<ylwghst>
Features: +alsa -curl -i3 -mpd +network
<tilpner>
ylwghst - You want +i3
<ylwghst>
-i3 means no i3
<ylwghst>
yeah
<srhb>
pie_: I'm honestly unsure what the argument is, but.. Perhaps you can figure the rest out.
<ylwghst>
tilpner: yea it has green coulour in build modules list
<ylwghst>
with override
<tilpner>
Good
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] roberth opened pull request #1652: nix repl: Provide documentation from comment when evaluating to lambda (master...lambda-docstring) https://git.io/vFYJs
NixOS_GitHub has left #nixos []
mog has joined #nixos
<srhb>
pie_: This is Probably Wrong: nix-env -iE 'wat: with (import <nixpkgs> {}); idrisPackages.with-packages [ idrisPackages.builtins ]'
magnetophon has joined #nixos
<srhb>
pie_: now you just have to figure out what "wat" is :P
<pie_>
" Interpret the command line arguments as a list of Nix expressions to be parsed and evaluated, rather than as a list of file names of Nix expressions. (nix-instantiate, nix-build and nix-shell only.)
<pie_>
"
<pie_>
oh oops...
<pie_>
that doesnt have -E
Neo-- has joined #nixos
<pie_>
i dont know why thats listed in the nix-env docs then >_>
Itkovian has quit [(Ping timeout: 248 seconds)]
wizeman has joined #nixos
<pie_>
huh ok misleading docs
<pie_>
that actually seems to work without doing anything
<srhb>
Right, but what is wat. >_>
<t184256>
sorry, quick question. is there a way to revert a single commit in systemd, install a patched one and NOT rebuild the whole system from source?
<pie_>
srhb, good questoin
<pie_>
srhb, does nix have some kind of print expression?
<srhb>
pie_: I don't know, nor if that would be useful here..
<srhb>
Oh, you want wat: print wat
<srhb>
hmm
nh2 has joined #nixos
<pie_>
im guessing that doesnt even make sense in the way nix works :P
<mpickering>
srhb: Why do you need to pass a function to nix-env -iE?
<magnetophon>
Anybody know why I can login to web.skype.com with firefox-esr, but I can't make a call, whereas both chromium and qutebrowser give a DNS error when I try to login
<pie_>
ok so i actually want to use <unstable> but that doesnt work (maybe it needs it from wat?)
<srhb>
mpickering: I don't know!
<pie_>
mpickering, because thats what it takes apparently
rogue_koder has joined #nixos
<pie_>
hm might have been an env thing
gilligan has quit [(Read error: Connection reset by peer)]
<srhb>
mpickering: I'm basically cargo culting for great justice :P
gilligan has joined #nixos
<mpickering>
I can't find anything which would explain what -iE does in the man page
jb55 has joined #nixos
<mpickering>
ah right it's under OPERATION --INSTALL
<pie_>
well apparently <> is unaffected by my env in -E >_>
<ylwghst>
now with +3 but workspaces are still not showing
<pie_>
error: file ‘unstable’ was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:19
<ylwghst>
tilpner: :(
<jluttine>
how do i install kodi with plugins?
<pie_>
also i get an unrelated warning that i forgot to fix a while ago: warning: name collision in input Nix expressions, skipping ‘/home/paprika/.nix-defexpr/channels_root/nixos’
<pie_>
any idea about that
<jluttine>
i tried adding kodi and kodiPlugins.pvr-hts to installed packages..
<bencoman>
srhb: Thanks for your help last week when my nix-prefetch-url was returning a different hash each time. I saw you checked in on me when you got to work, but my kids had dragged me away and then i was away working 12 hours days and hadn't a chance to get back to it. As you suggested, I've now got it working with fetchgit instead.
<ylwghst>
tilpner: but with -1 -1 -1 -1 labels for all workspaces
<pie_>
argh nevermind i misunderstood the format
<srhb>
bencoman: Glad to hear it! :)
<pie_>
ok looks like it should be workin
<pie_>
my disk is about to fill again >_> xD
goibhniu has joined #nixos
<srhb>
pie_: nix 1.12 brings automatic garbage collection on low disk space!
* srhb
is stoked
<pie_>
srhb, uh what could possibly go wrong :P
<srhb>
Hehehe.
<pie_>
well i guess if you dont do everything like you should like making roots and stuff youre gonna have to install a lot of things agian lol
* pie_
is a trash nixos user
<srhb>
pie_: I'm a (mostly) good Nix user. At least in that regard. :P
<pie_>
:PP
ylwghst has quit [(Remote host closed the connection)]
<srhb>
pie_: Of course that means I have a ~/gcroots/ dir that just has a lot of weird stuff I've no idea what is.
<srhb>
pie_: Periodically I just nuke it from orbit.
<pie_>
haha
* srhb
needs a build farm
<hyper_ch>
what differentiates good Nix users from bad Nix users? and are Nixos users also somewhere in those two groups?
ylwghst has joined #nixos
<srhb>
hyper_ch: I didn't actually mean that the other case was bad in any way :)
<srhb>
(Heck, it's one of the main attractions of Nix)
seppellll has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<tilpner>
Is there a better to tell what is being built and why than looking at the rapidly scrolling wall of build output and guessing?
<pie_>
oh god i hope im not building all of haskell heh
<tilpner>
*better way
k0001 has quit [(Quit: quit)]
<pie_>
im porbably building all of haskell
<pie_>
woo unstable
<tilpner>
Do you mean "just" ghc?
pxc has joined #nixos
<bencoman>
samueldr: Thanks also for your time trying to solve my momentary screen freezing. In the end, disabling the compositor didn't work, but then some KDE Plasma 5 complaints for other distros lead me to disable the file indexing `balooctl disable` and that "seems" to have fixed it.
Itkovian has quit [(Client Quit)]
<pie_>
tilpner, bleh, yeah thats what i meant xD
patrl has joined #nixos
gilligan has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFYLa
<NixOS_GitHub>
nixpkgs/master 6df9c74 Michael Weiss: pythonPackages: Move my libraries to python-modules
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 260 seconds)]
periklis has quit [(Ping timeout: 264 seconds)]
<tilpner>
pie_ - Think of it positively, that's a lot better than also building all of haskellPackages :D
<pie_>
x'''D
MinceR has quit [(Ping timeout: 255 seconds)]
pxc has quit [(Ping timeout: 248 seconds)]
schell has joined #nixos
<srhb>
pie_: It fails. :(
<pie_>
srhb, ? D:
MinceR has joined #nixos
<srhb>
pie_: Or well, at least on nixos-unstable
<bencoman>
I'm trying to learn how to make new builds by manually building existing packages. So I've done `git clone https://github.com/nixos/nixpkgs` then `cd nixpkgs/pkgs/applications/networking/browsers/chromium` then `nix-shell` and get the error "error: cannot auto-call a function that has an argument without a default value (‘newScope’)"
<srhb>
bencoman: Go to the top level of the nixpkgs checkout
<pie_>
srhb, im guessing thats why i need ot build it myself
<srhb>
bencoman: Then, nix-shell -A chromium
<pie_>
and then its gonna fail, so its actually pointless right
<srhb>
pie_: Yeah.
<srhb>
pie_: Looks like that lens version goes awry.
nh2 has quit [(Ping timeout: 248 seconds)]
freusque has quit [(Quit: WeeChat 1.7.1)]
jgertm has joined #nixos
<pie_>
um...?works for me?
<bencoman>
srhb: thx. its now downloading a heap of files. probably going to take a while.
schell has left #nixos []
Itkovian has joined #nixos
lissyx has quit [(Ping timeout: 264 seconds)]
<mekeor>
what would you do if the usb-dongle you chose to install nixos was so small sized that nixos-install fails because there's no space left (in /nix, i think)?
freusque has joined #nixos
t184256 has quit [(Quit: irc2go)]
Neo-- has joined #nixos
damke_ has joined #nixos
davidak has joined #nixos
Itkovian has quit [(Client Quit)]
Phillemann has left #nixos ["WeeChat 1.9.1"]
<srhb>
bencoman: chromium is not a small build.
<srhb>
bencoman: If you're just aiming to learn, it's a... heavy choice :)
damke has quit [(Ping timeout: 240 seconds)]
<srhb>
pie_: I see. I ran out of memory. Fun.
<srhb>
bencoman: I'd go for something much lighter. :)
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<ArdaXi[m]>
mekeor: If you've got enough memory I'd boot the copytoram option
erictapen has joined #nixos
<bencoman>
srhb: my goal is to build PDFium into a library, which is part of Chromium. It standard build is with Ninja and GN and uses gclient from depot_tools to download sources, which I'm not sure fits nixos, so I was hoping the Chromium build would give me some isnight.
<bencoman>
but you are right, its nix files are bit overwhelming right now.
<ArdaXi[m]>
Does the livecd actually mount the installation medium read-write?
damke_ has quit [(Ping timeout: 240 seconds)]
<srhb>
bencoman: That's a noble goal, but yeah, perhaps a bit big to start out with :)
<pie_>
srhb, i ran out of disk
<pie_>
....
<pie_>
fun
<bencoman>
So I tried something simpler `nix-shell -A banner` and then immediately `unpackPhase` which drops the sources into the root nixpkgs directory. Should I have changed to pkgs/games/banner folder first before doing unpackPhase? What is best practice?
<Tehnix>
Anyone else having problems building Arcanist on macOS High Sierra? Quite new to nix, so not sure how to proceed. I get this output (error in the bottom) <https://gist.github.com/Tehnix/11b40d7169e3a8ddeab4b30b1938da0d> - Any help would be appreciated!
<ArdaXi[m]>
Though personally I only use nix-shell when I'm trying to debug why my build goes wrong, the easiest way to test a build is `nix-build -A`
<jluttine>
all-packages.nix takes an input `config`. how can i set stuff to this in my configuration.nix? i'd need to set kodi.enablePVRHTS=true
roberth has quit [(Ping timeout: 258 seconds)]
<srhb>
jluttine: nixpkgs.config
<srhb>
jluttine: So, for instance, nixpkgs.config = { kode.enablePVRHTS = true; };
<srhb>
kodi*
mog has quit [(Ping timeout: 248 seconds)]
<jluttine>
srhb: thanks! is that a typical way to pass configuration to packages?
<srhb>
jluttine: It's either that or via overrides/overlays
<srhb>
jluttine: I think the latter is generally preferred.
<jluttine>
srhb: ok. this nixpkgs.config is quite nice
<srhb>
config-style is very opaque.
<ArdaXi[m]>
I'm not entirely sure what that is going to do
<srhb>
bencoman: It doesn't (shouldn't) matter where you unpack the sources.
<srhb>
bencoman: In general, it's expected that you cd there before the next step though. I don't remember which step usually does that.
tgunb has joined #nixos
Ivanych has joined #nixos
<ArdaXi[m]>
Where are you getting this "enablePVRHTS" from?
<srhb>
bencoman: So you could have been in some tmp directory, and then: nix-shell '<nixpkgs>' -A banner
<srhb>
ArdaXi[m]: top-level/all-packages.nix
<srhb>
ArdaXi[m]: In the wrapKodi definition
mog has joined #nixos
loz has quit [(Ping timeout: 246 seconds)]
nh2 has joined #nixos
charlycoste has quit [(Quit: Leaving.)]
<ArdaXi[m]>
Ah, right, GitHub doesn't index all-packages
thblt has quit [(Remote host closed the connection)]
<srhb>
*shakes fist*
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej closed pull request #31041: Update a few packages (master...update-my-packages) https://git.io/vFmpt
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 240 seconds)]
mrkgnao has quit [(Ping timeout: 246 seconds)]
MichaelRaskin has joined #nixos
kai_w has joined #nixos
c0bw3b has joined #nixos
<kai_w>
I can't get gpg to import keys (`gpg --import key_file`): Error sending to agent: Required environment variable not set
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<kai_w>
Also 'error building skey array: Required environment variable not set'
<kai_w>
I've added gnupg to system packages and enabled the agent, anything else I need to do?
<kai_w>
It worked on the live-usb iirc
<ldlework>
clever, after realizing that I was not configuring the NixOps expression to deploy to Digital Ocean correctly as I was not setting up the ssh key correctly I now get a very strange issue
<ldlework>
building path(s) ‘/nix/store/qklzh098f0qkkak8c7dx6qc080nhqfgz-activation-script’
<ldlework>
error: setting uid: Operation not permitted
<ldlework>
error: cannot kill processes for uid ‘30001’: failed with exit code 1
<ldlework>
My entire /nix store is owned by me, and the nix-daemon process is not running
<ldlework>
I have unset NIX_REMOTE
<ldlework>
but now I cannot build with home-manager, etc
<ldlework>
not really sure what to do now...
<ldlework>
I guess reinstall nix
vibes has joined #nixos
<ldlework>
I really wish that the Nix installer script had an option for doing single user install
<vibes>
Any resources for someone who's brand new to nix?
<ldlework>
Because everytime I try to "convert" to a single-user install, something or another breaks.
Tehnix has left #nixos []
<ldlework>
vibes I recommend the three manuals
nh2 has joined #nixos
<ldlework>
I'm a dummy and I found them pretty good at their job.
<vibes>
would they be helpful for someone who's a novice with linux?
<ldlework>
Well certainly learning Nix and Linux at the same time is a going to compound your troubles.
Neo-- has quit [(Ping timeout: 240 seconds)]
<ldlework>
But I don't think there are specialized Nix learning resources for people are also new to Linux
<ldlework>
vibes what do you want to use Nix for?
nschoe has quit [(Quit: Program. Terminated.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #31048: Fix some but not all errors in owncloud (master...fix-owncloud) https://git.io/vFYZ8
NixOS_GitHub has left #nixos []
<srhb>
Wait what.
<srhb>
command-not-found suddenly works without channels?
<srhb>
_how_
<pie_>
srhb, help :P ln: failed to create symbolic link '/nix/store/lmx793j75f4g9xsqci2876q2ib8klkl7-idris-1.1.1/lib/idris-1.1.1/00base-idx.ibc': File exists
drakonis has joined #nixos
<pie_>
( mpickering ? ^ )
<srhb>
pie_: I feel like I fixed that a while back.. >>
<vibes>
Yeah i figured. I know the basics, bash, filesystem, some commands, etc. I'm a developer but mainly used osx all of my dev life. I'm super attracted to nixos for deployment of servers and isolated development environments. I came across https://github.com/grafted-in/wordpress-nginx-nix which would definitely come in handy. I find it super interesting everything is written in a programming language
jbgi has joined #nixos
<pie_>
im getting the feeling with builtins is redundant...
<srhb>
vibes: The nix pills are a great intro, too.
<ldlework>
vibes oh, OSX is Unix-y. I think you'll be fine :)
ylwghst has quit [(Ping timeout: 248 seconds)]
davidak has quit [(Quit: Leaving.)]
<ldlework>
Does anyone know what my problem is? error: cannot kill processes for uid ‘30001’: failed with exit code 1
<ldlework>
When using nix-build
mog has quit [(Ping timeout: 255 seconds)]
mog has joined #nixos
lissyx has joined #nixos
<vibes>
The fact it's unix-y always gives me imposter syndrome when it comes to touching the cli on my linux servers haha.
<srhb>
vibes: Don't worry about it, 99% of the time being an imposter is 99% good enough ;-)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vFYnz
<gchristensen>
MichaelRaskin: do you know any on-call scheduling tools that are open source?
<gchristensen>
cc: everyoneelse
<hyper_ch>
on-call?
<mekeor>
why do i get an error saying there's no disk space left, when i try to run nixos-install (from minimal live-cd) using a 30GB usb-dongle? could it be because `dd if=nixos.iso of=/dev/sdx` creates only a small partition for the image?
<hyper_ch>
what do you mean by on-call scheduling tool?
<hyper_ch>
mekeor: df -h
<mekeor>
hyper_ch: the system is shut down atm
<srhb>
mekeor: Turn it back on and tell us about what mount says. :)
<hyper_ch>
gchristensen: you mean somethign like incron?
periklis has joined #nixos
<Isorkin>
How to compile kernel with custom config?
<srhb>
pie_: I think builtins specifically messes up because that file already exists
<c0bw3b>
never used any of them / not sure if openduty is maintained
<c0bw3b>
but Cabot could be nice
<hyper_ch>
gchristensen: not really sure what you mean by on-call scheduling tools
<c0bw3b>
it's for the future handling of security issues right?
<ldlework>
guess I'm reinstalling nix again
<gchristensen>
yeah, c0bw3b
<ArdaXi[m]>
mekeor: How much RAM does the machine have?
<srhb>
pie: If I use prelude, that error does not occur. However, I still can't get it to work with nix-env -E, though it works with nix-shell -p
<srhb>
pie: So I guess we're doing something wrong there. :)
<MichaelRaskin>
gchristensen: no, I have never been in a situation to use anything like that. From the web site, I cannot even understand what PagerDuty _does_
roberth has joined #nixos
<gchristensen>
lol
<srhb>
pie: This works, for instance, but the corresponding nix-env -iE 'wat: ...' does not: nix-build -E 'with import <nixpkgs> {}; pkgs.idrisPackages.with-packages [ pkgs.idrisPackages.prelude ]'
<hyper_ch>
MichaelRaskin: finally I don't feel alone anymore :)
Neo-- has joined #nixos
<MichaelRaskin>
hyper_ch: well, in any situation where the notion of on-call would apply, there was nobody qualified to do rotation with…
<ldlework>
gchristensen nice talk btw
<gchristensen>
MichaelRaskin: it wakes you up when things break, by calling you, texting you, calling you again, texting you again, sending you emails, etc
<srhb>
pie: Oh, it does. nixUnstable was getting in the way. Weird.
<gchristensen>
ldlework: thanks! thhe security one or tumblr one?
<ArdaXi[m]>
mekeor: The livecd won't _write_ to itself, considering it has to consider the possibility that it's a non-rewritable medium and generally speaking you don't want to mess up your boot disk
<ArdaXi[m]>
So it builds onto a tmpfs instead, which is held in memory
<srhb>
gchristensen: Cool, thank you :)
trevorriles has joined #nixos
<srhb>
gchristensen: Sign me up. :p
<MichaelRaskin>
I think you should start with a realistic response target, then find out longitude distribution of available help. Then see that the problem pagerduty solves is not what you need.
<ArdaXi[m]>
mekeor: This goes for every installation CD, yes
mog has joined #nixos
<ArdaXi[m]>
Good question… either install less or mount something over /nix
<ArdaXi[m]>
Actually, it builds just Nix there, so… you'll really need to mount something over it
<hyper_ch>
just do a minimal installation, boot into that and install the rest...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 4 new commits to master: https://git.io/vFYWy
<NixOS_GitHub>
nixpkgs/master 60321cb Peter Simons: LTS Haskell 9.11
<NixOS_GitHub>
nixpkgs/master 2177c9f Peter Simons: hackage2nix: disable failing builds
<NixOS_GitHub>
nixpkgs/master 48adf76 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
<CrazedProgrammer>
mekeor: you can make a minimal installation with only the partitions and networking, nixos-install that, reboot then build the full installation from disk
guillaum1 has quit [(Ping timeout: 260 seconds)]
<ArdaXi[m]>
hyper_ch: Doesn't the installer mount the real /nix before installing everything it doesn't need to do that?
<ArdaXi[m]>
I'm not sure whether to be impressed or horrified
ylwghst has joined #nixos
<ArdaXi[m]>
Out of curiosity, why?
jbgi has quit [(Ping timeout: 248 seconds)]
<tilpner>
ArdaXi[m] - Definitely horrified. It fixes those "oh no, the steam chroot doesn't have tools available that I put into systemPackages" moments
<bencoman>
I see at [1] that adom game has $buildCommand variable, which actually does `unpackPhase`. So how does the build system know to evaluate that variable?
<bencoman>
Within nix-shell, is there something like/more-than `set -x` and then issue command to "build whole package just like it normally would" and I can trace through what is normally done, rather than guessing at the order to manually run commands?
<ArdaXi[m]>
bencoman: the `. $stdenv/setup` provides that function
vinymeuh has joined #nixos
<bencoman>
I'm having a look at it
vinymeuh has quit [(Client Quit)]
<c0bw3b>
pkg name : "python2.7-html5lib-0.999999999" .... wth happened there
<musicmatze>
Hi, I'm having an issue with npm2nix (first time I use it) ... can someone help me?
<musicmatze>
it tells me, when calling on a package.json (I assume I have to do this) that "is not a valid repository name"
<ArdaXi[m]>
bencoman: The default builder runs `genericBuild` which might be what you're looking for
<musicmatze>
disasm: ah,... okay... I'll give it a try
<c0bw3b>
CrazedProgrammer: i guess they were _almost_ sure the project was ready for v1.0... but not quite :p
a6a3uh has quit [(Quit: Bye)]
seppellll has quit [(Ping timeout: 258 seconds)]
<CrazedProgrammer>
c0bw3b: the weird thing is, it went from 1.0b3 to 0.99, 0.999... :)
<c0bw3b>
exactly! then again 6 betas.. oh my
<c0bw3b>
even iOS doesn't do so many betas :p
<c0bw3b>
is there a kind nixpkgs core contributor that would want to remove the "wip" label from PR 30846 ? i consider it ready to merge
TimS has quit [(Ping timeout: 260 seconds)]
a6a3uh has joined #nixos
<musicmatze>
disasm: hmh... okay... now I have a node-env.nix, a node-packages.nix and a default.nix ? Must I simply copy these files into nixpkgs?
<disasm>
musicmatze: what are you trying to accomplish?
<musicmatze>
package patchwork
<disasm>
ah, ok, one sec
<musicmatze>
I've called node2nix on the package.json from the 3.8.0 tag of the project...
<MichaelRaskin>
c0bw3b: in general, it might be a good idea to put [WIP] in the beginning of the PR title.
kuznero has joined #nixos
<disasm>
musicmatze: oh... edit node-packages-v4.json and node-packages-v6.json then run generate.sh in ~/pkgs/development/node-packages
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<musicmatze>
disasm: This sounds more hacky than it should do :-)
<musicmatze>
am running the script right now
mog has quit [(Ping timeout: 240 seconds)]
mog has joined #nixos
stanibanani has joined #nixos
<c0bw3b>
MichaelRaskin: yes i did exactly that when it was WIP but it's not anymore so i changed the title back.. the only thing remaining is the GH label
<MichaelRaskin>
Well, not anymore
scribbler has quit [(Ping timeout: 248 seconds)]
<c0bw3b>
MichaelRaskin: indeed just saw! thank you
<MichaelRaskin>
I wonder if an anti-WIP tag ([DONE]?) could be a good idea
<musicmatze>
disasm: okay, script ran ... now what?
ma27 has quit [(Ping timeout: 240 seconds)]
<musicmatze>
-.-' It looks like it packaged "`patchwork` is a DSL for assembling graphs." ...
<musicmatze>
so not what I wanted...
erictapen has quit [(Ping timeout: 248 seconds)]
davidak has joined #nixos
erictapen has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<c0bw3b>
gchristensen: it's overspecific at this stage of the rfc but mobile alerts doesn't have to be SMS --> think push notifications, directly or through a Slack/Mattermost channel
<c0bw3b>
to workaround the cost of sms alert services
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
ylwghst has joined #nixos
<c0bw3b>
MichaelRaskin: not a good idea from my PoV since all PR are supposed to be done and tested in the first place... like before being opened
acowley_away is now known as acowley
<MichaelRaskin>
Erm, no. You are supposed to be direct and honest, that's all. It is OK to push a WIP PR where something non-trivial has been done, and there are questions that only make sense in the context.
<MichaelRaskin>
Of course, in that case it should be marked [WIP] etc.
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
<musicmatze>
joepie91: its not node2nix generated, see the last patch
<musicmatze>
the other two should be thrown away before merging, actually.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] acowley opened pull request #31055: opencv3: fix on darwin (master...opencv3-darwin) https://git.io/vFY6D
NixOS_GitHub has left #nixos []
jbgi has joined #nixos
<joepie91>
musicmatze: oh hm, is this generated through some sort of nixpkgs abstraction?
* joepie91
has only worked with node2nix directly
<musicmatze>
joepie91: the ./generate.sh file in the directory pkgs/development/node-packages/
<musicmatze>
(which basically does node2nix ... but automatically)
<disasm>
musicmatze: you may need to add variables to that for deps, but I don't think patchwork should go in there and for now you should revert all of node-packages
<musicmatze>
jup I guess the first approach would be better
<joepie91>
musicmatze: hrm, I have no idea about that to be honest :/
<disasm>
musicmatze: at the top, add xorg
ylwghst has quit [(Quit: Lost terminal)]
fenedor has joined #nixos
seppellll has joined #nixos
<disasm>
musicmatze: then add buildInputs = [ xorg.libX11 ]; around line 22 in your expression
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<musicmatze>
disasm: you're assuming that the error in the PR is from the expression I tried as a first approach, but it is from the node-packages changes
<disasm>
musicmatze: patchwork = callPackage ../applications/networking/patchwork { }; -- that's not coming from nodePackages
ylwghst has joined #nixos
<musicmatze>
I guess we're talking about different things here...
<musicmatze>
You think it is a better idea to use the hand-written expression for the package?
<musicmatze>
Then, I guess, I need the package.nix file which somehow should be generated... I don't know how though
fenedor has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] purefn opened pull request #31056: make sure which and curl are available in the PATH for sbt-extras (master...master) https://git.io/vFYP9
NixOS_GitHub has left #nixos []
jtojnar has quit [(Ping timeout: 240 seconds)]
scribbler has joined #nixos
<disasm>
I'm not sure, I don't think the generator will work because of the x11 dependencies
davidak has quit [(Ping timeout: 258 seconds)]
roberth has quit [(Ping timeout: 258 seconds)]
<disasm>
ok... this might be a good example of how to do it, looks like you do throw everything in one dir from node2nix output pkgs/servers/web-apps/pump.io/default.nix
<musicmatze>
I don't even know what "the generator" is in this case ... because node2nix generate files which do not look like the other "package.nix" files in the nixpkgs repository.
<nliadm>
aw dip, go 1.10 is going to have content-based rebuilds instead of time-based. I think that'll make the go derivation simpler
fendor has joined #nixos
zzamboni has joined #nixos
fendor has quit [(Remote host closed the connection)]
lissyx has joined #nixos
fendor has joined #nixos
pie___ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
nix-gsc-io`bot has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
<goibhniu>
hi maurer, have you tried programs.gnupg.agent.enable?
Neo-- has quit [(Ping timeout: 258 seconds)]
srdqty has joined #nixos
roberth has joined #nixos
dywedir has joined #nixos
zraexy has quit [(Ping timeout: 240 seconds)]
johnw has quit [(Ping timeout: 255 seconds)]
<dj_goku_>
fatal error: libusb-1.0/libusb.h: No such file or directory trying to compile an personal app that is using libusb1 but getting this error.
<dj_goku_>
libusb1 has been added to configuration.nix and rebuilt.
<MoreTea>
I tried tot recurse through all pkgs, in order to find the maintainer for some file (combined with pkg.$name.meta.positipm). However, I'm finding some attrsets that include themselves in them, causing infinite recursion.
<dj_goku_>
also I can find the header here: find /nix/store -name "libusb.h"
<MoreTea>
As a hacksh solutiom, I'm using a blacklist.
srdqty has quit [(Quit: WeeChat 1.9.1)]
<MoreTea>
Any suggestions on how to get around that?
<MoreTea>
I'm also willing to fix those cases
johnw has joined #nixos
<orivej>
MoreTea: could you show how you currently collect maintainers?
pie___ has quit [(Remote host closed the connection)]
pie___ has joined #nixos
pie___ is now known as pie_
<goibhniu>
dj_goku_: you should probably be using nix-shell
yastero has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rnhmjoj opened pull request #31058: DNSChain: move expression to new nodePackages (master...dnschain) https://git.io/vFYyS
NixOS_GitHub has left #nixos []
<dj_goku_>
goibhniu: hmm. sorry I haven't used that so far.
<MoreTea>
orivej: Probably tomorrow. Am on mobile phone and tired.
<orivej>
dj_goku_: without nix-shell you may have some success with export NIX_x86_64_unknown_linux_gnu_CFLAGS_COMPILE="-I/run/current-system/sw/include -I$HOME/.nix-profile/include" NIX_x86_64_unknown_linux_gnu_LDFLAGS="-L/run/current-system/sw/lib -L$HOME/.nix-profile/lib"
<MoreTea>
Ran into this in the airplane from Nixcon to Amsterdam
<dj_goku_>
I am ok with using nix-shell, just haven't had to use it yet.
<dj_goku_>
is there a tutorial or a quickstart?
<orivej>
MoreTea: I'd be interested to look into that
fendor has quit [(Remote host closed the connection)]
<goibhniu>
it's pretty easy
<gchristensen>
is the pixel the phone to get these days?
<goibhniu>
hopefully that works with your program
<gchristensen>
pixel 2*
fendor has joined #nixos
vcunat has joined #nixos
<gchristensen>
oh my word, vcunat
yastero has joined #nixos
mizu_no__ has joined #nixos
<dj_goku_>
when I type nix-shell I get default.nix’: No such file or directory
ssmike1 has joined #nixos
ssmike has quit [(Ping timeout: 264 seconds)]
ssmike1 is now known as ssmike
nh2 has quit [(Ping timeout: 255 seconds)]
ylwghst has quit [(Ping timeout: 260 seconds)]
fendor has quit [(Ping timeout: 252 seconds)]
Itkovian has joined #nixos
jacob__ has quit [(Quit: Lost terminal)]
infinisil has quit [(Ping timeout: 240 seconds)]
stanibanani has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
<orivej>
dj_goku_: try nix-shell -p libusb1
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
* vcunat
will try to appear more often on IRC this year
Itkovian has joined #nixos
<musicmatze>
Okay, f*ck it. 3 hours and 45 minutes and I did not get it packaged yet... I'll call it a night. Hopefully someone will suggest some good things in the PR.
ylwghst has joined #nixos
infinisil has joined #nixos
Taneboween is now known as Taneb
Thra11 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vFYHA
<NixOS_GitHub>
nixpkgs/master 252da8a Michael Weiss: wlroots: init at 2017-10-31...
NixOS_GitHub has left #nixos []
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
goibhniu has quit [(Ping timeout: 258 seconds)]
<fpletz>
vcunat: <3 you should also join #nixos-dev
<vcunat>
fpletz: oh, thanks, I forgot
<gchristensen>
_gulp_ 540 PRs, this is out of control
<disasm>
gchristensen: I'd wait on the pixel XL 2. Close to same size but more screen realestate from what I've heard.
simukis has quit [(Ping timeout: 248 seconds)]
JosW has quit [(Quit: Konversation terminated!)]
<tgunb>
has someone here using jitsi?
<tgunb>
s/has/is
ambro718 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vFYQx
<NixOS_GitHub>
nixpkgs/master e031837 mingchuan: nixos/ssh: fix example
<NixOS_GitHub>
nixpkgs/master acdc892 Graham Christensen: Merge pull request #31053 from sifmelcara/fix/ssh-example...
<garbas>
layus: doesn't work, i thought i was doing something wrong
<garbas>
i suppose i would need to specify INSTALLABLES
<dj_goku_>
orivej: still same error
pie_ has joined #nixos
<garbas>
well staying with old nix-shell for now
<gchristensen>
disasm, MichaelRaskin: I miss the IPHONE_5_WIDTH x IPHONE_5_HEIGHT form-factor :(
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<ylwghst>
what I should use to auto mount flash drivers and cd's?
<MichaelRaskin>
gchristensen: undefined reference.
universalpackage has joined #nixos
sigmundv has joined #nixos
<layus>
garbas looks like nix run is more like nix-shell -p, and not like nix-shell -A...
<universalpackage>
how do u specify a custom ld-2.25.so location when compiling a program from source
<garbas>
layus: i see. tnx that actually makes sense then
<orivej>
dj_goku_: right, but this works for me: nix-shell -p gcc libusb1
<universalpackage>
for example, to make a program use a modified version of /usr/lib64/ld-2.25.so instead of the system's /usr/lib64/ld-2.25.so
<tgunb>
gchristensen: does it work without problems? neither jitsi desktop nor jitsi meet in the browser can access the microphone.
roberth has quit [(Ping timeout: 246 seconds)]
ertes has quit [(Ping timeout: 240 seconds)]
<orivej>
universalpackage: (1) there is a compiler flag to select which dynamic linker to link with; (2) you can edit it in the binary using patchelf
<makefu>
universalpackage: you specify this at build time for each package separately.
roberth has joined #nixos
<tgunb>
maybe unrelated: where can i get docs on the available groups on my system? e.g., what is the audio group for? (im not in it) skype can access the mic. jitsi meet says it cant access the phone for unknown reason and jitsi throws a lot of java exceptions.
<dj_goku_>
orivej: oh oh adding gcc looks like it fixed it.
jtojnar has joined #nixos
<dj_goku_>
orivej: ok cool. that worked great.
<orivej>
fine
<universalpackage>
what would the compiler flag be
<universalpackage>
can nixos's libc be statically linked?
cement has quit [(Ping timeout: 240 seconds)]
mizu_no__ has joined #nixos
symplectico_ has quit [(Ping timeout: 252 seconds)]
mog has joined #nixos
<layus>
universalpackage, it makes little sense to want a static libc, when nix force the package to use the libc given at build time.
<layus>
to use another libc in a package, you need to override the default one in its arguments.
<layus>
universalpackage, does it make sense ?
jb55 has quit [(Ping timeout: 248 seconds)]
<vcunat>
universalpackage: glibc.static contains the static libs
<universalpackage>
ok
<vcunat>
but in general I'd try to avoid static libc
<layus>
fpletz, ripgrep (rg), exa and ...
ssmike has quit [(Ping timeout: 255 seconds)]
<layus>
fpletz, what was the name of the third tool, that replaces find ?
<fpletz>
layus: fd :)
<layus>
thanks!
Itkovian has quit [(Ping timeout: 240 seconds)]
<universalpackage>
as the furthest i can get with my (not nixos) systems libc is "/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':(.text+0x1b6a): undefined reference to `dl_iterate_phdr'" via "gcc dummy.c -Wl,-Bstatic /lib64/libc_nonshared.a -static-libgcc"
<disasm>
my nox-review is completely busted, lol. Anyone else using nixUnstable and see if it works for them? testing musl PR showed all these packages as being affected, and `git grep` seems to disagree: packagekit nix-bundle nix-exec disnixos hydra disnix gnome3.gnome-software gnome3.gnome-packagekit musl nixUnstable
<Dezgeg>
seems correct, I think it's just musl -> busybox with enableMusl -> nixUnstable -> the reslt