steshaw has quit [(Quit: Connection closed for inactivity)]
lambdamu_ has quit [(Ping timeout: 240 seconds)]
Neo-- has quit [(Ping timeout: 252 seconds)]
nuncanada has quit [(Ping timeout: 272 seconds)]
LER0ever has joined #nixos
<aanderse>
so i have a desktop running nixos and i installed nixops onto it tonight
<aanderse>
i also have a htpc running nixos
<aanderse>
i copied the config from the htpc onto my desktop and then created a nixops script to replicate the htpc
<aanderse>
and set the target to be the htpc
<aanderse>
just so i could manage the htpc via nixops instead of managing the htpc locally
<aanderse>
i noticed /etc/nixos/configuration.nix is still there
<aanderse>
do i need to keep /etc/nixos/configuration.nix on the htpc?
<cransom>
no
<aanderse>
so what can/should i all delete from the htpc file system?
<aanderse>
i have 3 htpcs in the house and want to convert the other 2 to nixops so i can manage all 3 pcs from one location
<aanderse>
any advice? any cool features i might benefit from?
<cransom>
you could garbage collect and remove things in /etc/nixos. i don' tknow if there's much more beyond that you could collect
<aanderse>
and i can run those commands from my desktop via the ssh for each bit?
<aanderse>
also, is there a convention for where i should store my nixops files on my desktop? don't want to lose them :)
cybrian has joined #nixos
<cransom>
if you have nixops, there's nothing left that you'd need ssh specifically for.
<aanderse>
sorry, haven't read through the whole manual yet... i'm assuming from what you said i can run a remote garbage collection on the htpc from my desktop then?
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vba0B
<NixOS_GitHub>
nixpkgs/master 9b6ef35 Peter Hoeg: neomutt: 20171027 -> 20171208
NixOS_GitHub has left #nixos []
tristan0x has quit [(Ping timeout: 240 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
CMCDragonkai1 has joined #nixos
cybrian has joined #nixos
<Ralith>
has anyone gotten a samba client+server working with a public share?
<Ralith>
no matter what I do mount gives me "permission denied" and there are no errors in the server logs at all ;_;
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
tristan0x has joined #nixos
<Ralith>
even at maximum log verbosity there isn't so much as an error
dieggsy has joined #nixos
tristan0x has quit [(Ping timeout: 272 seconds)]
playX has joined #nixos
dieggsy has quit [(Client Quit)]
<Ralith>
there isn't so much as a notice of connection, even
<Ralith>
oh, it writes out to files instead of using journald ;_;
<playX>
Why borderlands 2 closes after pressing start, i added that to configuration nix like one week ago (steam.override { extraPkgs = p: [ p.iana-etc ]; })
CMCDragonkai1 has quit [(Ping timeout: 264 seconds)]
<Ralith>
whew, got it
playX has quit [(Ping timeout: 260 seconds)]
marzzzello has quit [(Ping timeout: 255 seconds)]
jcrites has joined #nixos
<Fare>
sphalerite, so in the end your C201 is not fully functional with nixos because of missing drivers in the default kernel?
jcrites_ has joined #nixos
drakonis has quit [(Quit: Leaving)]
jcrites has quit [(Ping timeout: 255 seconds)]
<vaibhavsagar>
does NixOS run on aarch64 now or just Nix?
<catern>
what is the idiomatic way to locate C libraries from Python for use with ctypes, on Nix?
echo_oddly has quit [(Ping timeout: 240 seconds)]
cybrian has joined #nixos
zzamboni has joined #nixos
mmlb has quit [(Quit: Ping timeout (120 seconds))]
mmlb has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
zzamboni has quit [(Quit: Leaving.)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
LER0ever has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
ma27 has joined #nixos
MP2E has joined #nixos
robinbb[m] has joined #nixos
sary is now known as BenignM
magnetophon has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<fearlessKim[m]>
is there a search engine for substitutes ? I can't seem to find clang substitutes and clang5 tests fail on nixos-unstable (trying with clang4.0.1 now)
ma27 has quit [(Ping timeout: 255 seconds)]
jb55 has quit [(Ping timeout: 248 seconds)]
cybrian has joined #nixos
MP2E has quit [(Remote host closed the connection)]
phreedom has joined #nixos
babyflakes has joined #nixos
zzamboni has joined #nixos
<sphalerite>
Fare: most things are working
<sphalerite>
I think the only things that are still missing are graphics acceleration and Bluetooth. Bluetooth should just be a matter of finding and enabling the right kernel driver hopefully
<sphalerite>
Not sure about graphics acceleration
<sphalerite>
But I've been able to use it for a lot of day-to-day tasks
<sphalerite>
The biggest missing thing for now, I'd say, is a graphical browser
b has quit [(Quit: Lost terminal)]
ilyaigpetrov has joined #nixos
<sphalerite>
Which is mostly because of how long it would take to build. But I'm probably going to give it a shot on a scaleway ARM server
zzamboni has quit [(Quit: Leaving.)]
MercurialAlchemi has joined #nixos
jsgrant has quit [(Remote host closed the connection)]
<sphalerite>
vaibhavsagar: nixos :)
<vaibhavsagar>
yay!
<sphalerite>
catern: it's a bit of a mess I think, we have some patches for that to stock python code in nixpkgs which you may want to look at
bkchr has joined #nixos
proteusguy has joined #nixos
<Fare>
sphalerite, could you extract the configuration from the initial chromebook kernel and/or debian?
cybrian has quit [(Read error: Connection reset by peer)]
<Fare>
I'm wondering if I want to try nixpkgs on my phone, or get a chromebook and if so arm or x64.
<sphalerite>
I didn't use a stock chrome OS kernel because it doesn't have fbcon
<Fare>
sphalerite, could you boot one just long enough to extract its configuration? Or otherwise extract the configuration from the binary?
<Fare>
then you'd know what drivers to use
<Fare>
and flags, etc.
<Fare>
is there a way to have nixpkgs on my phone with a shell terminal?
<sphalerite>
No, the stock kernel doesn't have embedded config :(
<fpletz>
Fare: you could try to compile nix in termux or build a package for termux
<sphalerite>
Fare: and debian's kernel wouldn't boot on it iirc
<Fare>
no /proc/config.gz ? :-(
<Fare>
I suppose they saved every bit they could
<sphalerite>
Yep
<sphalerite>
But you can build it from the chromium sources somehow or other
<sphalerite>
Haven't worked out how but it's definitely possible
<makefu>
here is a weird thing. i tried to build pytrainer by hand -> the package is available in the the binary cache but when i disable binary cache usage the build fails with "NameError: name '_' is not defined" . i am building with sandboxing enabled
<makefu>
anybody had a similar issue?
CMCDragonkai1 has quit [(Ping timeout: 264 seconds)]
joshie has quit [(Ping timeout: 240 seconds)]
sbjorn has joined #nixos
joshie has joined #nixos
jensens has joined #nixos
bkchr has joined #nixos
nschoe has joined #nixos
reinzelmann has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
bkchr has quit [(Ping timeout: 248 seconds)]
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar pushed 5 new commits to master: https://git.io/vba1e
<NixOS_GitHub>
nixpkgs/master 00d379a Jan Tojnar: gnome3.gtksourceview: 3.24.5 → 3.24.6
<NixOS_GitHub>
nixpkgs/master c2de94d Jan Tojnar: gnome3.gtksourceview: clean up
<NixOS_GitHub>
nixpkgs/master 5f94da0 Jan Tojnar: gnome3.gtksourceview: enable tests
<jtojnar>
no idea why it is grabbing it from binary cache
phdoerfler has joined #nixos
dywedir has joined #nixos
phreedom has quit [(Ping timeout: 255 seconds)]
ToxicFrog has quit [(Ping timeout: 252 seconds)]
ToxicFrog has joined #nixos
rotaerk has quit [(Ping timeout: 255 seconds)]
Nazral has quit [(Ping timeout: 252 seconds)]
oida has quit [(Ping timeout: 264 seconds)]
BenignM has quit [(Quit: leaving)]
Nazral has joined #nixos
oida has joined #nixos
rotaerk has joined #nixos
<lewo``>
I have a running nixos system with a /nix on /dev/sda. I would like to move /nix on /dev/sdb and I only have a ssh access to this host. How can I do this? Could I use a statically linked mv and ln binaries?
civodul has quit [(Ping timeout: 264 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
jacob_ has joined #nixos
jacob_ is now known as Guest56151
ssmike has joined #nixos
<fearlessKim[m]>
I found out the hydra wbpage, I didn't remember it was so fancy, it is quite cool now
<makefu>
lewo``: how about copy over all stuff, change the partition mounting via nixos-rebuild and reboot? this should work
<makefu>
do you have a virtual console for navigating grub?
<lewo``>
makefu: no, I don't have this kind of stuff. So I'm a bit afraid to rebuild and pray :)
<makefu>
lewo``: i see :D
Guest56151 has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
cybrian has joined #nixos
ThatDocsLady has joined #nixos
baldr has joined #nixos
fendor has joined #nixos
__Sander__ has joined #nixos
baldr has quit [(Client Quit)]
zzamboni has quit [(Client Quit)]
fendor has quit [(Remote host closed the connection)]
sary has joined #nixos
fendor has joined #nixos
Olgierd has quit [(Ping timeout: 268 seconds)]
<fendor>
hello, i am using gnome3 currently and experiencing problems when using my touchscreen, do i need additional packages?
<NixOS_GitHub>
[nixpkgs] jtojnar reopened pull request #29935: cc-wrapper: More intelligent sierra hack (release-17.09...appease-sierra-linker-17.09) https://git.io/vdsbj
NixOS_GitHub has left #nixos []
fendor has left #nixos ["Leaving"]
fendor has joined #nixos
MercurialAlchemi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar reopened pull request #32387: buildkite: allow configuration and actual use of agent-specific hooks (release-17.09...buildkite-hook-configuration) https://git.io/vbccz
<NixOS_GitHub>
[nixpkgs] jtojnar reopened pull request #32620: Backporting meta fixes and from master (release-17.09...check-meta-17.09) https://git.io/vbgtl
NixOS_GitHub has left #nixos []
phreedom has joined #nixos
dbe has joined #nixos
<dbe>
So I've essentially done what is strictly within the realm of "Bad Ideas (tm)" - namely to install a window manager from nix within ubuntu. I have one issue which I would like to understand why it's happening, though, which is this one:
<dbe>
(gconf:26338): Gtk-WARNING **: Error loading theme icon 'list-add' for stock: Unable to load image-loading module: /nix/store/cwjj9xb8yfbc6zj1gc8nj4x48gs0klkh-librsvg-2.40.17/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /nix/store/ssh01mrqxq7gjsbqrhp3l4jvrnfw6mr5-util-linux-2.30.2/lib/libmount.so.1)
<dbe>
My LD_LIBRARY_PATH is empty. I've ldd'd the .so-file, and it's libc is in the nix store...
<dbe>
but then, why is is trying to load /lib/.../libc.so, and not /nix/store/.../libc.so?
<dbe>
Another thing which I think is wierd; if I do 'nix-shell -p utillinux libc stdenv gdk_pixbuf librsvg', I still get this error
Intensity has joined #nixos
orivej has joined #nixos
spietz has quit [(Ping timeout: 255 seconds)]
aloiscochard has joined #nixos
zzamboni has joined #nixos
CMCDragonkai1 has joined #nixos
<dbe>
I solved it; needed to run "unset GDK_PIXBUF_MODULE_FILE"
Synthetica has quit [(Ping timeout: 240 seconds)]
Synthetica has joined #nixos
orivej_ has joined #nixos
orivej has quit [(Ping timeout: 260 seconds)]
CMCDragonkai1 has quit [(Ping timeout: 240 seconds)]
<das-g[m]>
I tried the `--show-trace` option, but am not quite sure what to make of the output. (Is the head or the tail of the trace the interesting part?) How do I best proceed?
<periklis>
hey, i am getting this right, binutils wrapper is merged and according to https://github.com/NixOS/nixpkgs/projects/8 we are heading to cross-compilation support in nixpkgs? (anyway many many kudos to Ericson1234 for the great work so far)
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vbVU7
<NixOS_GitHub>
nixpkgs/master 41a4bde Michael Weiss: gpgme: 1.9.0 -> 1.10.0...
NixOS_GitHub has left #nixos []
pie__ has quit [(Ping timeout: 264 seconds)]
bkchr has joined #nixos
dkibi has joined #nixos
ma27 has joined #nixos
fendor has joined #nixos
zzamboni has joined #nixos
babyflakes has quit [(Quit: Connection closed for inactivity)]
Itkovian has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
<gchristensen>
heads up: grahamcofborg now checks if the meta fields are valid in nixpkgs. let me know if you find a problem by opening an issue at https://github.com/grahamc/ofborg/issues please
Olgierd has joined #nixos
pie_ has joined #nixos
peacememories has joined #nixos
zzamboni has quit [(Ping timeout: 264 seconds)]
fendor has quit [(Ping timeout: 264 seconds)]
bkchr has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vbVI9
<NixOS_GitHub>
nixpkgs/master e6676bd Tim Steinbach: linux: 4.9.68 -> 4.9.69
<NixOS_GitHub>
nixpkgs/master 66e3666 Tim Steinbach: linux: 4.14.5 -> 4.14.6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbVI7
<NixOS_GitHub>
nixpkgs/release-17.09 028fe7b Tim Steinbach: linux: 4.14.5 -> 4.14.6...
NixOS_GitHub has left #nixos []
jtojnar has quit [(Ping timeout: 256 seconds)]
<sphalerite>
das-g: it's probably just a matter of the metadata in nixpkgs. You can probably get it working by just changing the enabled attribute or whatever it was on it
jtojnar has joined #nixos
<das-g[m]>
How would I do that?
simukis has quit [(Quit: simukis)]
<sphalerite>
Do you have a nixpkgs checkout?
<das-g[m]>
Yes, I do. But my NixOS is on release 17.09, not master
duncan^ has quit [(Quit: WeeChat 1.9.1)]
<srhb>
Is there a nice way of defining ad hoc modules in configuration.nix? I "just" want to have an arbitrary variable be set in the fixpoint.
<sphalerite>
I can't remember the exact details and I'm on my phone so I can't help you properly, but basically look for tablib in python-packages.nix and then find the enabled attribute and change it to include python 3 (or maybe remove it entirely)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vbVLc
<NixOS_GitHub>
nixpkgs/master 2e21451 Tim Steinbach: atom: 1.23.0 -> 1.23.1
NixOS_GitHub has left #nixos []
<sphalerite>
srhb: you can just put a module function in the imports list
<sphalerite>
das-g: then check out the nixos-17.09 branch and make the change there
<srhb>
sphalerite: Duh... :-)
<sphalerite>
If it works fine, you could commit it and make a PR so others can benefit from it too :)
<das-g[m]>
When researching the problem, I found #28643 , which links to a failed build
dywedir has quit [(Remote host closed the connection)]
<das-g[m]>
thanks. I keep forgetting where to look this stuff up.
patrl has joined #nixos
<dkibi>
hello everyone, I'm trying to use repository version of Isabelle, which unfortunately does its owen black magic by bundling its dependencies. There is a package available which does the necessary patches, but how this can be used with nix-shell is beyond my "google copy & paste" knowledge of the system.
drakonis has joined #nixos
<symphorien>
dkibi: the simplest solution is 1/ clone nixpkgs 2/ go to the file defining isabelle in the repo (you can find it on https://nixos.org/nixos/packages.html) 3/ fix the url 4/ at the root of the repo, `nix-build . -A isabelle` it will complain about the hash, fix it, retry, enjoy :)
<NixOS_GitHub>
[nixpkgs] zimbatm closed pull request #32652: terraform: set default version to 0.11 (master...terraform) https://git.io/vba4W
NixOS_GitHub has left #nixos []
marzzzello has joined #nixos
sbjorn has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
<sphalerite>
Or overlays
marsam has joined #nixos
szicari has joined #nixos
phdoerfler has quit [(Quit: Leaving.)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
bkchr has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
<hyper_ch>
anyone using skype? In unstable small I get an error that hash has changed of the file... version is still the same though... does skype update the package without altering the version?
cmiles74 has joined #nixos
<gchristensen>
they do :|
<Neo-->
lol, *slowclap* :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vbVGl
<Neo-->
did anyone converted any projects that use webpack to nix? we have docker at the moment and i did the node2nix thingy, but for some reason running full webpack is 3 times slower in nix-shell than in docker :)
fendor has joined #nixos
<fendor>
hello, when using python3.6, how can i install packages, e.g. how can i import modules that have been installed via nix?
<dkibi>
oh that seems much more complicated then I thought. When using the repository version the user is expected to run a command which downloadds the dependencies and runs them. I'll see if I can do what I want to do with by using the release version instead of playing arround with nix too much
<sphalerite>
There's also spreed which is free software, and the spreedbox which is a little computer that has a spreed server installed on it for convenience, but last I checked it wasn't as pretty as jitsi meet :p
<sphalerite>
Nor as actively developed I think
<fendor>
i have problems with zlib in haskell developement, how can i resolve that problem
babyflakes has joined #nixos
ma27 has joined #nixos
duncan^ has joined #nixos
Maxdaman1us has joined #nixos
jb55 has joined #nixos
fendor has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
Maxdamantus has quit [(Ping timeout: 250 seconds)]
roberth has quit [(Ping timeout: 260 seconds)]
tusj has joined #nixos
cement has joined #nixos
<catern>
hey #nixos
<catern>
if I am writing a C library that also has Python bindings, I see three intial approaches:
<catern>
1. build them both with autotools (somehow?)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vbVBI
<NixOS_GitHub>
nixpkgs/release-17.09 ea7e19f Orivej Desh: python.pkgs.zope_testrunner: upstream patch for tests...
NixOS_GitHub has left #nixos []
<catern>
2. build them both with setuptools
<catern>
3. put them in separate repositories and use autotools for the C library and setuptools for Python
<catern>
which do you think is best?
pie_ has quit [(Ping timeout: 256 seconds)]
pie_ has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<catern>
I'm not super enthused about the separate repositories approach, I wonder if maybe I could just put them in the same repository and have multiple different derivations build from that repository? yes that seems really sensible
akfp`` has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vbVRi
<NixOS_GitHub>
nix/master 5d5b931 Eelco Dolstra: Fix build against current aws-sdk-cpp
NixOS_GitHub has left #nixos []
<catern>
I wonder what is the most idiomatic way to structure this? I have a C library with Python bindings, I guess I should put the Python bindings and setup.py in a "python" subdirectory?
akfp`` has joined #nixos
<catern>
Or should I put the setup.py at the top-level?
<catern>
Should I hack autotools to invoke setup.py?
<teozkr>
hey, is anyone using networking.macvlans?
<teozkr>
I'm trying to set it up with a static IP/MAC address, but can't find any obvious place to put it
<teozkr>
I tried using networking.interfaces, but that doesn't seem to do anything
<dkibi>
symphorien: So I downloaded the release tarball, extracted it somewhare and changed the src to this path and nothing else now I get the error "chmod: cannot access 'Isabelle2017': No such file or directory". The derivation sets a sourceRoot and a dirname to "Isabelle2017" (I doublechecked that the path are correct)
<orivej>
catern: if the python bindings have to be rebuilt after C library changes, you'd prefer for this to happen automatically, but if they don't need to be rebuilt (e.g. they are ctypes bindings), this might not be very useful
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<catern>
orivej: well, if they are ctypes bindings, the build process will be nearly a no-op anyway, so I think I should probably do it anyway :)
leat has joined #nixos
jb55 has quit [(Ping timeout: 272 seconds)]
<catern>
oops s/:)/?/
<catern>
I like to set up structure and useful infrastructure so things just work
iyzsong has quit [(Ping timeout: 256 seconds)]
<orivej>
well, you could make "make check" of the C library to run tests of the Python library
Sonarpulse has joined #nixos
pie_ has quit [(Ping timeout: 264 seconds)]
<catern>
ah, yes, that too! hmm I wonder if this is already provided somewhere...
pie_ has joined #nixos
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
mmlb has quit [(Read error: Connection reset by peer)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<catern>
argh
mmlb has joined #nixos
freusque has quit [(Quit: WeeChat 1.9.1)]
<catern>
okay maybe I should do it in pure autotools?
<catern>
oh but then the issue is, in Nix, building the two derivations (the C library and python library) separately
Tucky has quit [(Ping timeout: 240 seconds)]
marzzzello has quit [(Ping timeout: 255 seconds)]
balsoft has joined #nixos
balsoft has left #nixos []
makefu has quit [(Read error: Connection reset by peer)]
roberth has joined #nixos
zzamboni has joined #nixos
jb55 has joined #nixos
makefu has joined #nixos
b has quit [(Remote host closed the connection)]
zzamboni has quit [(Client Quit)]
magnetophon has joined #nixos
armijn has joined #nixos
zzamboni has joined #nixos
Guest85854 is now known as Supersonic112
b has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vbVaM
<NixOS_GitHub>
nixpkgs/master 98d1da9 Peter Hoeg: togglesg-download: 2016-05-31 -> 2017-12-07
NixOS_GitHub has left #nixos []
leat has quit [(Quit: WeeChat 1.9.1)]
zzamboni has quit [(Quit: Leaving.)]
leat has joined #nixos
tristan0x has quit [(Remote host closed the connection)]
<magnetophon>
I'm building ardour as part of a distro upgrade, and get https://hastebin.com/uronupeqan.coffeescript -> libpng16.so.16: undefined reference to `inflateValidate@ZLIB_1.2.9
<magnetophon>
ideas?
* tilpner
has never seen hastebin guess the filetype correctly
<tilpner>
What channel are you building against?
<magnetophon>
latest unstable
zzamboni has joined #nixos
<andromeda-galaxy>
does anyone do chromium development with nix/nixos (from source control, not releases)? If so, any tips on how to get depot/the sources "installed" in a nice nix-compliant way (ideally usable with nix-shell, not in the global user environment)?
<tilpner>
das-g[m] - FYI, the IRC bridge just sends us "das-g[m] sent a long message: <filename> <url>", more people might see your questions if you write shorted messages
<srhb>
das-g[m]: Or had a redundant opening one. :-)
<das-g[m]>
Can I force the IRC bridge to split up long messages into several ones? As long as that doesn't flood the channel, that'd be The Right Thing To Do(TM)
<das-g[m]>
(I don't even know what criteria make a Matrix message a "long message" to the bridge.)
<srhb>
das-g[m]: Code snippets like that are usually expected to be pastebinned anyway.
<symphorien>
this is an IRC limitation -- around 250 chars I think
<magnetophon>
tilpner: thanks!
<srhb>
(But I don't know the answer to your question)
<das-g[m]>
That's why I use Matrix :-P
MP2E has joined #nixos
<clever>
symphorien: i believe the limit is 256 characters, including the "privmsg #nixos :" prefix and the "\n" suffix
civodul has quit [(Read error: Connection reset by peer)]
<sphalerite>
das-g: yeah if the message is too long *or* if it contains newlines it won't get relayed to IRC nicely
<sphalerite>
There's an issue filed for it though, to have at least a preview of the message included
<das-g[m]>
Cool. Would also be nice if Matrix clients like Riot would give you some warning when entering such a message in a room that is bridged to IRC.
<sphalerite>
I think it was our favourite grahamc whose comments led to the issue being filed :)
ssmike1 has joined #nixos
kini has quit [(Quit: No Ping reply in 180 seconds.)]
<sphalerite>
(Which would be particularly useful for highlights)
ssmike has quit [(Ping timeout: 255 seconds)]
ssmike1 is now known as ssmike
goibhniu has joined #nixos
kini has joined #nixos
ssmike1 has joined #nixos
ssmike has quit [(Read error: Connection reset by peer)]
<srhb>
ashkitten: I can't reproduce your error on unstable at least, but just enabling it it certainly not enough to make it start. :-P
<srhb>
Perhaps we need a backport of something.
sigmundv_ has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
<ashkitten>
hmm
<johnw>
what is the best way to prefer emacs melpaUnstable over Stable, rather than the converse?
<Isorkin_>
Help. Latest version not working zfs boot. how to find error? Revision b3aef82dc06 367e5f726f0 d1635a58bfb - worked, revision aaf6b2b601b 4017f0f7528 fcec492c622 - not work.
<srk>
garbas: any idea why pypi2nix won't pick up dependencies for ckan https://github.com/ckan/ckan ? Trying to add this to nixpkgs-python but it's not that straightforward
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbV9i
<srhb>
Isorkin_: Are you using the default kernel?
zzamboni has quit [(Quit: Leaving.)]
coot has joined #nixos
hydraz has quit [(Read error: Connection reset by peer)]
coot_ has quit [(Ping timeout: 240 seconds)]
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #32674: texlive: fix use of xdvi: add hashes and don't orphan it (master...fix/xdvi-hash) https://git.io/vbV5e
NixOS_GitHub has left #nixos []
<Isorkin_>
srhb: default kernel and hardened not work
<srhb>
Isorkin_: How about latest? I think that's what the test runs, though that looks broken for different reasons.
<Isorkin_>
latest kernel not tested
leat has quit [(Ping timeout: 264 seconds)]
<magnetophon>
tilpner: adding zlib to the packg didn't change anything. any other ideas?
<garbas>
srk: let me check
orivej has quit [(Read error: Connection reset by peer)]
orivej_ has joined #nixos
<srk>
garbas: like running pypi2nix with only ckan in requirements packages only ckan itself but no deps. if I use requriements from ckan I get all the deps but not ckan :D
<garbas>
srk: oh i see.. their setup.py doesn't define any of the install_requires :)
<srk>
aha
<garbas>
but at least they provide requirements.txt
<srk>
guess I can fix that, although I'm afraid to hack on that monstrosity
<srk>
can you tell it to just look for requirements.txt from setup?
Isorkin_ has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
srdqty has quit [(Ping timeout: 256 seconds)]
<garbas>
srk: you can do -> pypi2nix -r requirements.txt
<srk>
right, but I need to take requirements from their repo
dan_b has joined #nixos
<garbas>
oh but you want to add it to the nixpkgs-python repository
<srk>
not that nice as with the rest of the packages from nixpkgs-python
<srk>
y
<srk>
at first I thought I'll add it to nixpkgs but I won't until they get rid of pylons
<garbas>
i think you can add this line to requirements.txt in nixpkgs-python
<garbas>
"-r https://..../requirements.txt"
<srk>
cool
<srk>
will try
<garbas>
srk: open a pr even if it is not working and i can help you fix it
srdqty has joined #nixos
nix-gsc-io`bot has joined #nixos
<srk>
yeah, I'm pretty close except patched pypi2nix due to unittest2
<srk>
garbas: also I've had to run this hack while running pypi2nix while true; do chmod +r /run/user/1000/pypi2nix/ef6612eb5e04daf9f80978ae3feae58c/wheelhouse/decorator-4.0.6.dist-info/*; done
<srk>
garbas: cool, now I've added only requirements.txt and no dev-requirements and it succeeded the first time
<garbas>
yaaay! :)
<garbas>
domenkozar: woot!
<srk>
funny that testing harness causes so much trouble
<the-kenny>
Is there a gui for bluez like pavucontrol for pulseaudio? I'm sick of their bad readline-like implementation
<magnap>
the-kenny: try blueman, maybe?
<magnap>
It's a little more than "just" being a gui for bluez, but that just means it'll do what you want and more ;)
<the-kenny>
magnap: hmm yeah that looks okay-ish (I managed to connect to my pesky bluetooth headset after just three tries!)
<toogley>
how is an optional dependency supposed to work for the enduser? how can they enable or disable one? do they have to override the pkg to change the default?
orivej_ has quit [(Read error: Connection reset by peer)]
<the-kenny>
Needs the blueman-applet running though, which I find a bit annoying
<srhb>
toogley: Usually yes.
<srhb>
toogley: At least, that's the most direct and visible way.
orivej has joined #nixos
<srhb>
toogley: Some (usually older) packages use settings in config.nix, but that's often spooky-action-at-a-distance
<magnap>
the-kenny: oh, completely forgot that, sorry. I keep trayer running in a far-off workspace to deal with things like that (e.g. nm-applet)
<toogley>
srhb: ah, thanks
<srhb>
toogley: The downside is that there's usually no documentation for these options, as there's no way currently (as far as I know) to autogenerate them from package arguments.
<srhb>
toogley: So "grep the sources" is a mantra.
<toogley>
srhb: hm.. okay
<toogley>
srhb: well, nixos is still very new, so i don't think this is problematic^^
<the-kenny>
magnap: I uess it's fine, I just need to start it on login :)
<srhb>
toogley: nixos options are fine. nixpkgs options not so much :)
gy_wifi has quit [(Read error: Connection reset by peer)]
<srhb>
Isorkin: On currentl nixos-unstable? I'll try a reboot here then.
<Isorkin>
yes, nixos-unstable
orivej has quit [(Ping timeout: 256 seconds)]
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
<srhb>
Isorkin: OK, be right back
marc__ has joined #nixos
<marc__>
I boot a minimal nixos LiveCD and need help to connect WPA2 network wifi
<srhb>
marc__: Does nmtui work?
<srhb>
Isorkin: Works fine here
<srhb>
Isorkin: afe9649210, current nixos-unstable
<marc__>
nmgui?
<srhb>
marc__: nmtui
<marc__>
17.09
<srhb>
Oh, that doesn't have nmtui? Sadface.
<marc__>
the graphical LiveCD with plasma won´t not work on my T60
<marc__>
ip a
<marc__>
i found wls3 networkcard
<srk>
doing wpa manually is PITA, can't you switch your wifi to open one for a moment?
<srk>
or just WEP :D
<marc__>
hmm
ixxie has quit [(Quit: Lost terminal)]
<marc__>
ifconfig wls3 up
<srk>
for WPA you need to configura wpa_supplicant
<srk>
*e
<marc__>
iwlist wls3 scan
<marc__>
works for me;)
<srk>
that's just a scan
<srk>
:)
<srhb>
man 5 wpa_supplicant.conf
<srhb>
Then write /etc/wpa_supplicant.conf according to that specification
<srhb>
then systemctl start wpa_supplicant
<srhb>
iirc
<marc__>
i cant write anything
<marc__>
usbstick to ram option
<srhb>
... No wifi and no keyboard? :P
kmicklas has joined #nixos
<marc__>
hmm rebooting and let the usb stick on device?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #32678: pqiv: add (optional) support for various backends (master...feature/pqiv-backends) https://git.io/vbVjB
NixOS_GitHub has left #nixos []
<Isorkin>
srhb: strange
<marc__>
i try it;)
<srhb>
No idea, I've never had a not-writable /etc in the live environment. Didn't know it was a thing.
<srhb>
I thought it was all ramfs stuff
<srhb>
Isorkin: Perhaps some other configuration you have is causing troubles?
coot has quit [(Read error: Connection reset by peer)]
<toogley>
can somebody tell me why this http://nixpaste.lbr.uno/oMt8siwK?nix fails with "unable to find lua", although i think i concated the lua dependency correctly with buildInputs list?
<toogley>
using ++ stdev.lib.optional instead of ++ lua also doesn't change anything
<toogley>
although the previous line (optional sendmail) works
<toogley>
i.e. sendmail is found
<Isorkin>
srhb: disbale all config - not work
jrolfs has quit [(Ping timeout: 272 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
simendsjo has joined #nixos
<marc__>
wpa_supplicant loaded failed on minimal live CD :(
nckx has quit [(Quit: Updating my GuixSD server — gnu.org/s/guix)]
<marc__>
i wrote in /etc/wpa_supplicant.conf my settings für WPA2 network
pie_ has quit [(Ping timeout: 240 seconds)]
nckx has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
oida has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<toogley>
have found the error. forgot to tell autosetup where lua is
mahalel_ has quit [(Remote host closed the connection)]
mahalel_ has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
rihards has joined #nixos
erictapen has joined #nixos
dieggsy has joined #nixos
marsam has joined #nixos
ma27 has quit [(Ping timeout: 272 seconds)]
erictapen has quit [(Ping timeout: 248 seconds)]
ylwghst has quit [(Ping timeout: 248 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<sphalerite>
The piping option is mainly just convenient for live systems
Lisanna has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
oida has joined #nixos
propumpkin has joined #nixos
<Lisanna>
I think I've found a bug in buildEnv: if there's a common path between two packages that isn't in pathsToLink, it will still report it as a collision.
<Lisanna>
or are there some very good reasons for this behavior?
<sphalerite>
Lisanna: oooh, fickle
contrapumpkin has quit [(Ping timeout: 240 seconds)]
<sphalerite>
I don't see any
<Lisanna>
okay
<Lisanna>
buildenv/builder.pl calls isInPathsToLink after it checks for collisions
<Lisanna>
so there's the cause
zzamboni has joined #nixos
<Lisanna>
I've got two different derivations that happen to be built from the same src, and all of my derivations package up their src in <drv>/src, so it counts that as a collision :)
mahalel_ has quit [(Remote host closed the connection)]
<sphalerite>
Arguably it could also check if they're identical and not complain if they are
mahalel_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] thanegill opened pull request #32681: python.pkgs.gssapi from 1.1.4 -> 1.2.0 (master...python.pkgs.gssapi) https://git.io/vbwtr
NixOS_GitHub has left #nixos []
<Lisanna>
well, in my case, they're not quite identical, they're different versions of the same source
<Lisanna>
so some files will be different
drakonis has quit [(Ping timeout: 272 seconds)]
<Lisanna>
so I'll jsut exclude /src from the buildEnv, since I don't want that in the env anyways (it's just so gdb can find the source files when you debug the binaries)
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<Lisanna>
but for now I'll also have to tell it to not fail if there's a collision
<pbogdan>
is it just me or is steam suddenly not working on 17.09? getting a cli error about a few missing 32 bit libs and then a pop up about steamui.so failing to load
vidbina has quit [(Ping timeout: 265 seconds)]
jb55 has quit [(Ping timeout: 260 seconds)]
erasmas has joined #nixos
<kini>
so on gentoo you can put "-march=native" in your system-wide CFLAGS variable in /etc/portage/make.conf (iirc); is there something similar you can do for nix?
vidbina has joined #nixos
tristan0x has quit [(Ping timeout: 240 seconds)]
<kini>
or at least, say, "-march=core-avx2" or something like that
ambro718 has quit [(Quit: Konversation terminated!)]
cement has quit [(Ping timeout: 272 seconds)]
Lisanna has quit [(Ping timeout: 260 seconds)]
woffs has joined #nixos
vidbina has quit [(Ping timeout: 248 seconds)]
<Ralith>
kini: is this a theoretical or practical question?
<Ralith>
because actually doing that is a rather poor use of resources
<kini>
theoretical
<Ralith>
I expect you could accomplish that by mucking about with stdenv a little, though I don't think there's a super convenient configuration flag or anything currently
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbw44
<kini>
you probably don't remember me but I made a few PRs to gentoo-haskell overlay a few years ago, haha
<kini>
nice to see that there are some gentoo people in the nix community too
<slyfox>
i do :)
<evangeline>
orivej: it was, I had it previously installed, but now is gone after the upgrade
phdoerfler has joined #nixos
typeggzero has quit [(Remote host closed the connection)]
oida has quit [(Ping timeout: 272 seconds)]
<orivej>
evangeline: do you need it given that KDE has replaced it with spectacle?
<Ralith>
kini: er, that was poorly phrased; I am *certain* you could accomplish that by mucking about with stdenv a little, though I'm not certain exactly how trivial it would be
oida has joined #nixos
taktoa has quit [(Remote host closed the connection)]
<kini>
yeah, I was more wondering if that kind of stuff was hooked into "platforms" in any meaningful way, and I guess the answer is no
<kini>
when I was a linux greenhorn installing gentoo many years ago I thought global -march=native was pretty cool, but I became disillusioned when my computer died one day and I had to try to boot its hard drive on another, older machine... oops... :P
Synthetica has quit [(Quit: Connection closed for inactivity)]
<kini>
orivej: interesting, I haven't seen all this @ templating before
MP2E has quit [(Remote host closed the connection)]
sbjorn has joined #nixos
magnetophon has quit [(Remote host closed the connection)]
<Ralith>
orivej: or you could inject something into NIX_CFLAGS_COMPILE, or introduce your own wrapper via overrideCC