remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<gchristensen>
that link goes to nowhere special (clap_2_28_0_features."default".from_carnix_0_5_0__default = true) where did you mean to link?
evangeline has joined #nixos
<evangeline>
hi, if a program is using a .sh script to install itself, what is the best way to download it first, by using requireFile (when writing a nix package for it); where is that file then located?
<mpickering>
Lisanna: Can you paste your nix file perhaps?
jb55 has quit [(Ping timeout: 248 seconds)]
<mpickering>
but I would just try adding gcc to the build depends and see if that helps
<Lisanna>
mpickering: nope, very proprietary. Can you at least confirm for my own sanity that gccStdenv is supposed to be able to build both C and C++ programs?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bendlas pushed 1 new commit to master: https://git.io/vb4Vw
<gchristensen>
Mic92: that link goes to nowhere special (clap_2_28_0_features."default".from_carnix_0_5_0__default = true) where did you mean to link?
spietz has quit [(Ping timeout: 268 seconds)]
<makefu>
anybody knows where nixpkgs.config options are documented? it says "see the Nixpkgs documentation", however i cannot even find the enableFlash option for firefox
<Ralith>
Lisanna: why are you using "gccStdenv" instead of just "stdenv"?
<Lisanna>
Ralith: I switch between GCC and clang frequently, I have a top-level .nix which sets the stdenv input on my derivation.nix to either gccStdenv or clangStdenv
<Lisanna>
so I prefer to be explicit
<Lisanna>
(coincidentally, clangStdenv builds it just fine)
<Mic92>
gchristensen: I mean bloats these `features` meta seems to bloat the code more up then they would have to be.
<Ralith>
Lisanna: I don't know what your nix file looks like, but regular stdenv is gcc-based on platforms that have good gcc support.
<Ralith>
hmm
<Ralith>
gccStdenv *is* stdenv on those platforms
<Lisanna>
Yes
<Ralith>
so yeah, that'll handle C++ fine
<gchristensen>
Mic92: oh
<Lisanna>
Okay, thank you for confirming that
<LnL>
Lisanna: I'm pretty sure the cc-wrapper test checks both c and c++
<gchristensen>
Mic92: have you left that feedback?
remexre has joined #nixos
<Ralith>
Lisanna: libcxxStdenv is for when you want libc++, as opposed to libstdc++
<Ralith>
usually you don't
<Ralith>
Lisanna: to be further explicit, "looking for the C++ preprocessor in /lib/cpp" would be a bug in your configure/build scripts, and you should not put a C/C++ compiler in your buildInputs.
<makefu>
antonv: anyways it seems like firefox cannot find its default fonts, however i am not sure how to configure it with `only` nix. also, there does not seem to be much documentation about this
dan_b has joined #nixos
<Mic92>
gchristensen: not yet. I should probably also propose an alternative then, but I did not have the time to think this through.
<gchristensen>
yeah fair
<Lisanna>
Ralith: I get that when I try to explicitly include libcxx in buildInputs
<Ralith>
don't do that.
<Lisanna>
Okay, so when I don't do that, I get this: /nix/store/pymp4cq49z4whxzjzys4by7dij0axdb0-gcc-6.4.0/include/c++/6.4.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
<Lisanna>
that's from config.log
<Ralith>
if you want libc++, *which most people don't*, it needs to be obtained as part of the stdenv
<Lisanna>
yeah, I don't explicitly want that
<Ralith>
stdenv already includes libstdc++.
<Ralith>
I can't debug code that you're not willing to share for you, unfortunately
<Lisanna>
Yeah, I figured :)
<Lisanna>
bleh
<Ralith>
either your build system is broken or there's an error in your nix file that you haven't mentioned
<Ralith>
for reference, a simple C/C++ nix shell script can be very simple indeed
<Ralith>
something like `with import <nixpkgs> {}; stdenv.mkDerivation { name = "foo"; version = "0.0"; buildInputs = []; }`
ssmike has quit [(Ping timeout: 276 seconds)]
<Ralith>
if you're doing something significantly different from that, the bug is probably in there (or in your autotools scripts)
[0x4A6F] has quit [(Remote host closed the connection)]
<Ralith>
I assume you've already been careful to distclean
<antonv>
makefu: in firefox settings default font was FreeMono
<antonv>
very strange choice
<antonv>
for default font
<Mic92>
For some reason my nixpkgs has corruption from time to time
<Ralith>
Lisanna: it's also very strange to claim that the .nix file itself is too proprietary to share in any form, considering how simple it should be for these purposes
<Mic92>
the git repository
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bendlas pushed 1 new commit to release-17.09: https://git.io/vb4wR
<Lisanna>
hopefully /not/ having that won't cause problems...
<Lisanna>
mpich does this awful thing where it tries to wrap C and C++ compilers
<Ralith>
@_@
<Ralith>
that sounds like no fun at all
<Lisanna>
yep... so now that I've got it built I have to make sure that /it/ can compile stuff
Judson has joined #nixos
<antonv>
makefu: started FF from console, see this error "Fontconfig warning: line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf"
<antonv>
So it installs a broken fonts.conf?
Judson is now known as Guest46948
<makefu>
antonv: mhhh maybe the new firefox uses an old fonts.conf from your system. when you don't go 100% nix you can never be sure :D
<makefu>
unfortunately i don't have a system to test just now
<Lisanna>
cool, it builds! I'll be a lot more suspicious in the future about putting common libraries like glibc and stuff in buildinputs
<antonv>
makefu: no need, thank you
<Lisanna>
I wonder why on earth the nixpkgs version of mpich needs it...
erictapen has quit [(Ping timeout: 248 seconds)]
Guest46948 is now known as Judson
<evangeline>
when updating the packages with nix-env -u, is there any way to skip certain package?
ylwghst has quit [(Remote host closed the connection)]
<Ralith>
Lisanna: glibc is less a "common library" and more part of the C implementation
<antonv>
makefu: the error on console if fixed by removing the <blank> section from /etc/fonts/fonts.conf. But FF behaviour doesn't change. It uses the fonts I set in FF config only for web pages content. The menus, poput dialogs, tab titles are in some monospaced font.
noam_ has joined #nixos
noam__ has quit [(Read error: Connection reset by peer)]
<Ralith>
antonv: when migrating to NixOS, you should nuke your old /etc
<antonv>
Ralith: I'm using nix pakcage manager on Ubunto
<antonv>
It's not full nixos
<antonv>
And as I said, old /etc/ fixing doesn't make FireFox look better
<LnL>
evangeline: not sure, but installing a package again will also update it
<Ralith>
also, the `fonts.enableDefaultFonts` option may be of interest
<antonv>
Ralith: where can it be set?
fresheyeball has joined #nixos
<fresheyeball>
anyone else have problems with gnome apps on nixos?
<Ralith>
configuration.nix, like everything else
agjacome has joined #nixos
<fresheyeball>
I just downloaded gnome system monitor
<fresheyeball>
and I can't even switch tabs
<fresheyeball>
I had similar problems in the preferences modal for gnome shell
<Lisanna>
Ralith: antonv is on Ubuntu, so they probably don't have a configuration.nix :)
<Ralith>
Lisanna: why wouldn't they?
dan_b has quit [(Ping timeout: 240 seconds)]
<Lisanna>
0.o
<Lisanna>
....I have just Nix installed on a CentOS machine I have... do I also have a configuration.nix on that machine??
drakonis_ has joined #nixos
drakonis_ has quit [(Remote host closed the connection)]
a_nix_beginner has quit [(Quit: Page closed)]
<gchristensen>
no
<Ralith>
it has been a while since I did nix-on-linux
<Lisanna>
Oh, okay :)
<Lisanna>
configuration.nix is a NixOS-only thing I'm pretty sure
ylwghst has joined #nixos
<Ralith>
home-manager has some nix-on-linux specific font magic
hke has quit [(Ping timeout: 260 seconds)]
freusque has quit [(Ping timeout: 250 seconds)]
<antonv>
Ralith: thnks, I will take a look. But I'm not sure it's a nix problem. Probably it's just how firefox package is built for nix...
<sgrace_wrk>
gchristensen: Man... With the stuff you have been going through today... Makes it look like my idea of trying to do part of Vivado on NixOS will be a Holy Grail endeavor.
jsgrant has joined #nixos
hke has joined #nixos
oida has quit [(Ping timeout: 255 seconds)]
<gchristensen>
sgrace_wrk: I'm doing fairly unique things
Oida has joined #nixos
<gchristensen>
I wouldn't use what I'm doing as a measure for what it'll take to do Vivado :)
freusque has joined #nixos
nil has quit [(Disconnected by services)]
ntc has joined #nixos
<laggy_wifi>
welp i cannot redirect the interpreter so it still needs to be patched
<laggy_wifi>
it would be cool if i could tho
vandenoever has quit [(Ping timeout: 246 seconds)]
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
freusque has quit [(Ping timeout: 248 seconds)]
freusque has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
WorkingToast is now known as SpaceToast
phreedom has quit [(Remote host closed the connection)]
phdoerfler has quit [(Quit: Leaving.)]
ylwghst has quit [(Remote host closed the connection)]
MP2E has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
MP2E has joined #nixos
laggy_wifi has quit [(Read error: Connection reset by peer)]
<laggy_wifi_>
well redir seems to work without needing to patch every single .so file (although the interp does need to be patched as even strace cannot detect its syscall) https://bpaste.net/raw/3904865aa881
CodeWarrior has quit [(Ping timeout: 248 seconds)]
<gchristensen>
what is this about?
proteusguy has joined #nixos
<laggy_wifi_>
idk
mrkgnao has joined #nixos
<gchristensen>
why are you in #nixos to talk about it?
ylwghst has joined #nixos
yt has joined #nixos
sgrace_wrk has quit [(Ping timeout: 260 seconds)]
<yt>
hi, has anyone managed to use XDM as display manager under NixOS?
m0rphism has quit [(Ping timeout: 250 seconds)]
yt has quit [(Ping timeout: 260 seconds)]
* laggy_wifi_
is trying to figure out what the absolute minimum that he needs to patch is
* laggy_wifi_
that needs to be patched*
<Myrl-saki>
Why does `man` not work for nix-shell?
<laggy_wifi_>
man doesnt work? o.o
<gchristensen>
laggy_wifi_: so are you using nix? having an issue with nix? or are you doing things completely unrelated to this channel?
<laggy_wifi_>
i am in a way tring to impliment nix
<laggy_wifi_>
trying*
<gchristensen>
you could just use nix
<laggy_wifi_>
nah, i dont like compiling
agjacome has quit [(Quit: leaving)]
<gchristensen>
ok well #nixos probably isn't the right place to talk about your project
<laggy_wifi_>
ok
<laggy_wifi_>
how would i spoof a library as being present
m0rphism has joined #nixos
<Lisanna>
laggy_wifi_: "spoof"? what do you mean?
m0rphism has quit [(Client Quit)]
m0rphism has joined #nixos
<laggy_wifi_>
like make ldd and ld-linux think a library exists at a location when in fact it does not
<laggy_wifi_>
would it be possible using patchelf or would u require a custom loader for that
<Lisanna>
just put a library in that location?
<laggy_wifi_>
like patchelf --add-needed /lib/libg.so /lib/libspe.so
<laggy_wifi_>
like patchelf --add-needed /lib/libg.so ./lib/libspe.so *
<laggy_wifi_>
thus when lib/libg.so tries to be loaded my redir will redirect it to ./lib/libg.so
<Lisanna>
I don't think that's a thing
Supersonic112 has quit [(Disconnected by services)]
Judson has quit [(Remote host closed the connection)]
<laggy_wifi_>
instead of directly copying and hardcoding every single library to an absolute path
<laggy_wifi_>
like /app/bin/lib/libg.so
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<laggy_wifi_>
this might actually take more work since i would need to modify almost entirely how my patch script works wich is about 338 lines of code total
dieggsy has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
<laggy_wifi_>
well at least my logs can help me
markus1189 has joined #nixos
lambdamu_ has joined #nixos
thc202 has quit [(Ping timeout: 246 seconds)]
markus1199 has quit [(Ping timeout: 260 seconds)]
lambdamu has quit [(Ping timeout: 268 seconds)]
<Lisanna>
can NixOS handle wpad proxy files?
mrkgnao has quit [(Ping timeout: 248 seconds)]
mbrgm has quit [(Ping timeout: 248 seconds)]
ylwghst has quit [(Remote host closed the connection)]
mbrgm has joined #nixos
ylwghst has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
drakonis has quit [(Read error: Connection reset by peer)]
dieggsy has quit [(Ping timeout: 255 seconds)]
<neonfuz>
so my computer ran out of battery while doing a garbage collect
<neonfuz>
now nix-env gives me error: syntax error, unexpected $end, at /nix/store/ ... -env-manifest.nix:1:1
orivej has quit [(Ping timeout: 248 seconds)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
jmeredith has quit [(Quit: Connection closed for inactivity)]
nuncanada has quit [(Quit: Leaving)]
iyzsong has joined #nixos
CMCDragonkai1 has quit [(Ping timeout: 240 seconds)]
<antonv>
when I do "nix-env -qa firefox" it prints firefox-57.0.1 tree times
<antonv>
And "nix-env -i firefox" says "warning: there are multiple derivations named ‘firefox-57.0.1’; using the first one"
<antonv>
how to understand the difference between them and choose only one?
<antonv>
For example currently I have firefox Nightly - I would prefer somethig more stable
notdaniel has quit [(Quit: Leaving)]
<Wizek>
How can I get a list of keys for a nix record/hashmap? And what is this `{a=2;}` called anyway?
<Wizek>
seems like builtins.attrNames
<elvishjerricco>
Wizek: Nix calls them attribute sets. Horrible name IMO
<Wizek>
elvishjerricco: haha. Why not "array with labels" at that point? :)
<elvishjerricco>
As gross as Nix is as a programming language, it will never be as bad as Bash, which actually does that.
<Wizek>
elvishjerricco: speaking of which, are there efforts/attempts/discussions of improving replacing it? E.g. with haskell? :D
<Wizek>
or something else?
<Wizek>
Or JavaScript? :D
<samueldr>
only one I know of is Guix
<Wizek>
samueldr: but istn't that a completely different system? I mean still nix, just with a different language to write expressions in
<elvishjerricco>
Wizek: isn't that what you were asking for?
<elvishjerricco>
Guix uses the same Nix store stuff underneath, doesn't it?
<samueldr>
now I'm wondering how much of nix is still left in guix
<SpaceToast>
idk if guile is much of an improvement over nix-lang
<samueldr>
he didn't ask for *good* languages :)
<SpaceToast>
;)
<SpaceToast>
tbf I'm weird regarding language preferences
<Wizek>
samueldr: I did mention "improving" :)
<elvishjerricco>
I think it'd be nice to do it in Haskell. You can emulate all the features of Nix-the-language and it's command line tools just using `nix-store`
<samueldr>
they'd think they're improving, and some would argue they do!
<SpaceToast>
if it's to be a real general purpose programming language I'd honestly prefer one that's less loaded
<neonfuz>
anyone know how I can fix this?
<elvishjerricco>
Would be cool to be able to compile a Haskell module that manipulated the Nix store
<neonfuz>
my env-manifest file is empty
<Wizek>
elvishjerricco: btw, wouldn't it be necessary to interpret the resulting default.nix.hs files? Or do you think it'd be better to compile them?
<Wizek>
elvishjerricco: and thinking this further, I guess I would like the replacement/improvement language to be able to interface with the existing code written with nix-lang
<elvishjerricco>
I was thinking you'd have a command line tool that loads up the Haskell code and calls it
<neonfuz>
shit.. did I lose my list of installed packags then?
<elvishjerricco>
If your Haskell module needs dependencies, it can specify them and use GHC's runtime linking to link them in
<antonv>
What is the difference between "firefox" and "firefox wrapper"?
<Wizek>
if imports/exports would work in both directions, then it could be a rather seamless transition, one nix file at a time.
<SpaceToast>
well, having imports/exports work both way is basically writing a nixlang parser in the new target language, + library-izing it
<SpaceToast>
it also seems like having it be interpreted would be an advantage, since it makes the above easier to work with
<Wizek>
SpaceToast: Yeah, a nice thing is that you can run haskell code in interpreted mode quite well
<samueldr>
so yeah, it looks like the *actual* manifest is broken, but you can possibly get a packages using nix-store -q --references
<SpaceToast>
it gets pretty complicated real fast ime
notdaniel has joined #nixos
<SpaceToast>
nixlang is pretty ML-ish, so maybe OCaml?
<Wizek>
speaking of nix-lang, I have a practical question:
<Wizek>
If I have a shell command like `nix-shell -p "haskell.packages.ghc821.ghcWithPackages (p: with p; [lots of packages])" -j4 --run "ghc Main.hs"`, how can I transfer that nix-expression into a default.nix or shell.nix the simplest way?
<Wizek>
I've tried like this: `{nixpkgs ? import <nixpkgs> {}}: nixpkgs.haskell.packages.ghc821.ghcWithPackages (p: with p; [lots]);`
<Wizek>
and putting that in default.nix does drop me in a shell when I do `nix-shell .`, but I don't seem to have my dependencies in there
<elvishjerricco>
nix-shell's -p is different than its normal mode
<elvishjerricco>
-p will take the string you give it and provide a shell with that package on the path
<elvishjerricco>
But normally, it takes a Nix expression and provides a shell with all of the dependencies of that expression
<elvishjerricco>
So that you can simulate building that expression yourself
<elvishjerricco>
So anything you want to be present in the shell needs to be a dependency of the expression in your file
<elvishjerricco>
Alternatively, a neat trick I learned lately:
<elvishjerricco>
Will put the build from default.nix on the path
<Wizek>
giving that a try
<Wizek>
elvishjerricco: preliminary test suggests that works, thanks!
<Wizek>
elvishjerricco: btw, I get a `warning: dumping very large path (> 256 MiB); this may run out of memory`. Is it copying ghc?
<elvishjerricco>
Wizek: though if you're working on a Haskell project I would recommend not using ghcWithPackages yourself.
<elvishjerricco>
callCabal2nix is much nicer since it lets you use a cabal file
<Wizek>
elvishjerricco: sure, I know about that, but in this instance using cabal may be overkill
<elvishjerricco>
Whatever suits your needs :)
<Wizek>
using ghc directly was enough so far
<Wizek>
but, my question still stands, partly as an attempt to understand how nix works. Does `nix-shell -p $(nix-build default.nix)` give a warning because it is copying GHC?
<elvishjerricco>
Hm? What warning, and what do you mean by copying GHC?
<Wizek>
elvishjerricco: `warning: dumping very large path (> 256 MiB); this may run out of memory`
<Wizek>
my local folder is smaller than 256 MB
<elvishjerricco>
Oh that's odd
<elvishjerricco>
I don't know why that would be
<elvishjerricco>
It shouldn't be creating / copying any new files
<Wizek>
elvishjerricco: could you try? All I have in default.nix is `{nixpkgs ? import <nixpkgs> {}}: nixpkgs.haskell.packages.ghc821.ghcWithPackages (p: with p; [])`
<Wizek>
I think you can repro quite easily
<elvishjerricco>
All I've got is a mobile right now :P
<Wizek>
elvishjerricco: and you dont have nix installed on there? :o
<elvishjerricco>
I can't even imagine what it would take to put Nix on an iPhone lol
<Wizek>
elvishjerricco: An OS virtualized over a VM written in JS.
<elvishjerricco>
... or ssh :P
<Wizek>
elvishjerricco: you mean out of the phone, or to communicate with ios? I think the first would be cheating :)
<elvishjerricco>
I wonder if Nix is seeing the Nix store path and choosing to copy it into the store since it's a path. I thought that's not how it's supposed to work, but I may be wrong
<elvishjerricco>
I thought that whenever it saw a Nix store path, it would just use that build
<elvishjerricco>
Wizek: Does that warning show up every time you run that command?
<Wizek>
elvishjerricco: seems to be
<elvishjerricco>
Can you try wrapping it in escaped quotes?
<Wizek>
lets try
<elvishjerricco>
nix-shell \"$(nix-build)\"
<elvishjerricco>
Er, add the -p to that =P
<Wizek>
yup, figured
<Wizek>
that did the trick!
<Wizek>
interesting
<Wizek>
elvishjerricco: ^
<elvishjerricco>
Ugh. That's annoying
<elvishjerricco>
If it gets a string instead of a path literal, it just uses that string literally. If it gets a path literal, it dumps it into the store
<elvishjerricco>
I wonder if that dump generates a warning, but ends up as a noop
<elvishjerricco>
This would take some investigation, I think...
antonv has quit [(Ping timeout: 255 seconds)]
<elvishjerricco>
Wizek: can you try one more thing to satisfy my curiosity while I'm on a plane? :P
<Wizek>
elvishjerricco: sure tell me, but I might be able to only get back to you with the result a few hours later
<elvishjerricco>
Try it without the quotes, then in the shell examine he $PATH environment variable. See if the path that GHC is coming from is different than the path that nix-build outputs
<Wizek>
elvishjerricco: btw, also it's definitely not a noop, as it is quite a bit slower without the quites
<Wizek>
quotes
<Wizek>
elvishjerricco: whoa, this is weird
<Wizek>
elvishjerricco: I tried it, and look: /nix/store/0pxb49xb22n2nrk5qpp2bz744124qgms-8xwlmfhg9xnid09ydv9qjswv63xqw51h-ghc-8.2.1/bin/ghc
<Wizek>
elvishjerricco: its different and the same at the same time :D
<Wizek>
/nix/store/8xwlmfhg9xnid09ydv9qjswv63xqw51h-ghc-8.2.1/bin/ghc was the original
<elvishjerricco>
Heh. Looks like it is copying it into the store, and using its hash-inclusive name as the base name for the new path
<elvishjerricco>
TIL. Will have to start quoting my Nix shell stuff
<Wizek>
looks like it indeed
<elvishjerricco>
Oh!
<elvishjerricco>
Idea!
<elvishjerricco>
Try it with nix-instantiate instead of nix-build?
<elvishjerricco>
I doubt this will work
<elvishjerricco>
(Without the quotes)
<Wizek>
elvishjerricco: okay, but I have something to attend to atm, hope to be able to try it a bit later
gspia has joined #nixos
<elvishjerricco>
Don't worry about it. I'll satisfy my own curiosity when I'm home
ilja_kuklic has quit [(Remote host closed the connection)]
teej has quit [(Max SendQ exceeded)]
octalsrc[m] has quit [(Ping timeout: 240 seconds)]
thematter[m] has quit [(Ping timeout: 240 seconds)]
peel[m] has quit [(Ping timeout: 240 seconds)]
itorres has quit [(Ping timeout: 240 seconds)]
tobim[m] has quit [(Ping timeout: 252 seconds)]
herzmeister[m] has quit [(Ping timeout: 252 seconds)]
AlanPearce[m] has quit [(Ping timeout: 243 seconds)]
Oo[m] has quit [(Ping timeout: 243 seconds)]
reactormonk[m] has quit [(Ping timeout: 243 seconds)]
jsv[m] has quit [(Ping timeout: 240 seconds)]
kevincox has quit [(Ping timeout: 245 seconds)]
Johnny44[m] has quit [(Ping timeout: 245 seconds)]
bhipple[m] has quit [(Ping timeout: 240 seconds)]
Phyra[m] has quit [(Ping timeout: 245 seconds)]
moredhel1 has quit [(Ping timeout: 245 seconds)]
abbafei[m] has quit [(Ping timeout: 245 seconds)]
sargon[m] has quit [(Ping timeout: 245 seconds)]
apurvapavaskar[m has quit [(Ping timeout: 245 seconds)]
M-liberdiko has quit [(Ping timeout: 245 seconds)]
YuFanLovezYou[m] has quit [(Ping timeout: 240 seconds)]
primeos[m] has quit [(Ping timeout: 245 seconds)]
andyjscott[m] has quit [(Ping timeout: 255 seconds)]
Ralith has quit [(Ping timeout: 255 seconds)]
fgaz[m] has quit [(Ping timeout: 255 seconds)]
dibblego[m] has quit [(Ping timeout: 255 seconds)]
hl has quit [(Ping timeout: 245 seconds)]
admin[m] has quit [(Ping timeout: 240 seconds)]
danbst[m] has quit [(Ping timeout: 240 seconds)]
AndersonTorres[m has quit [(Ping timeout: 240 seconds)]
Geeky[m] has quit [(Ping timeout: 251 seconds)]
kitten[m] has quit [(Ping timeout: 251 seconds)]
Drakonis[m] has quit [(Ping timeout: 251 seconds)]
sirius[m] has quit [(Ping timeout: 251 seconds)]
WinterFox[m] has quit [(Ping timeout: 251 seconds)]
M-berdario has quit [(Ping timeout: 240 seconds)]
pstn has quit [(Ping timeout: 240 seconds)]
wizek[m] has quit [(Ping timeout: 251 seconds)]
TimePath has quit [(Ping timeout: 251 seconds)]
mhsjlw[m] has quit [(Ping timeout: 257 seconds)]
seif[m] has quit [(Ping timeout: 257 seconds)]
Dezgeg[m] has quit [(Ping timeout: 257 seconds)]
r3mfKm[m] has quit [(Ping timeout: 257 seconds)]
a123123123[m] has quit [(Ping timeout: 257 seconds)]
moredread[m] has quit [(Ping timeout: 257 seconds)]
stuh84[m] has quit [(Ping timeout: 257 seconds)]
viaken[m] has quit [(Ping timeout: 257 seconds)]
the_m4ur1[m] has quit [(Ping timeout: 257 seconds)]
wak-work has quit [(Ping timeout: 257 seconds)]
florianjacob has quit [(Ping timeout: 257 seconds)]
offlinehacker[m] has quit [(Ping timeout: 257 seconds)]
lecorpsnoir[m] has quit [(Ping timeout: 250 seconds)]
Kallegro[m] has quit [(Ping timeout: 250 seconds)]
bennofs[m] has quit [(Ping timeout: 250 seconds)]
musicmatze[m] has quit [(Ping timeout: 250 seconds)]
teh[m] has quit [(Ping timeout: 250 seconds)]
NickHu has quit [(Ping timeout: 250 seconds)]
rihardsk[m] has quit [(Ping timeout: 250 seconds)]
M-fishy has quit [(Ping timeout: 264 seconds)]
das-g[m] has quit [(Ping timeout: 264 seconds)]
sk23[m] has quit [(Ping timeout: 264 seconds)]
pvn[m] has quit [(Ping timeout: 264 seconds)]
efx[m] has quit [(Ping timeout: 264 seconds)]
jyp[m] has quit [(Ping timeout: 264 seconds)]
cornu[m] has quit [(Ping timeout: 264 seconds)]
Yaniel has quit [(Ping timeout: 264 seconds)]
sziszi[m] has quit [(Ping timeout: 252 seconds)]
wizzup[m] has quit [(Ping timeout: 252 seconds)]
AdamSlack[m] has quit [(Ping timeout: 252 seconds)]
trevorriles[m] has quit [(Ping timeout: 252 seconds)]
krawiec[m] has quit [(Ping timeout: 252 seconds)]
tokudan[m] has quit [(Ping timeout: 252 seconds)]
noctuid has quit [(Ping timeout: 252 seconds)]
baconicsynergy[m has quit [(Ping timeout: 252 seconds)]
hendrik[m] has quit [(Ping timeout: 252 seconds)]
matrixkrav has quit [(Ping timeout: 252 seconds)]
nocent has quit [(Ping timeout: 252 seconds)]
dalaing has quit [(Ping timeout: 252 seconds)]
freeman42x has quit [(Ping timeout: 252 seconds)]
olejorgenb[m] has quit [(Ping timeout: 252 seconds)]
peterhoeg has quit [(Ping timeout: 240 seconds)]
dylanjust[m] has quit [(Ping timeout: 240 seconds)]
timclassic has quit [(Ping timeout: 240 seconds)]
unlmtd has quit [(Ping timeout: 240 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 240 seconds)]
icetan has quit [(Ping timeout: 240 seconds)]
Obscurity[m] has quit [(Ping timeout: 240 seconds)]
kainospur[m] has quit [(Ping timeout: 240 seconds)]
cifra[m] has quit [(Ping timeout: 240 seconds)]
davidar has quit [(Ping timeout: 240 seconds)]
sphalerite has quit [(Ping timeout: 240 seconds)]
smbarte2[m] has quit [(Ping timeout: 255 seconds)]
thomad[m] has quit [(Ping timeout: 255 seconds)]
sjm[m] has quit [(Ping timeout: 255 seconds)]
akavel[m] has quit [(Ping timeout: 255 seconds)]
aniketd[m] has quit [(Ping timeout: 255 seconds)]
mirlur[m] has quit [(Ping timeout: 255 seconds)]
rycee has quit [(Ping timeout: 255 seconds)]
wzy8L-B2[m] has quit [(Ping timeout: 255 seconds)]
zoya-kosova[m] has quit [(Ping timeout: 255 seconds)]
hedning[m] has quit [(Ping timeout: 255 seconds)]
dtz has quit [(Ping timeout: 255 seconds)]
trikl[m] has quit [(Ping timeout: 255 seconds)]
randomenduser[m] has quit [(Ping timeout: 255 seconds)]
jluttine[m] has quit [(Ping timeout: 255 seconds)]
johnwhitlow[m] has quit [(Ping timeout: 255 seconds)]
codyopel has quit [(Ping timeout: 255 seconds)]
pierrebeaucamp[m has quit [(Ping timeout: 255 seconds)]
bendlas has quit [(Ping timeout: 255 seconds)]
sigmundv_ has quit [(Ping timeout: 240 seconds)]
aminech[m] has quit [(Ping timeout: 251 seconds)]
myklam[m] has quit [(Ping timeout: 251 seconds)]
adisbladis[m] has quit [(Ping timeout: 251 seconds)]
berot3[m] has quit [(Ping timeout: 251 seconds)]
Phil[m]1 has quit [(Ping timeout: 250 seconds)]
stites[m] has quit [(Ping timeout: 250 seconds)]
magnap has quit [(Ping timeout: 250 seconds)]
dash has quit [(Ping timeout: 250 seconds)]
dkellner[m] has quit [(Ping timeout: 250 seconds)]
ninegua[m] has quit [(Ping timeout: 252 seconds)]
Barnabas[m] has quit [(Ping timeout: 252 seconds)]
benkolera has quit [(Ping timeout: 252 seconds)]
Singularity[m] has quit [(Ping timeout: 264 seconds)]
petersjt014[m] has quit [(Ping timeout: 264 seconds)]
AsherGottlieb[m] has quit [(Ping timeout: 264 seconds)]
voobscout[m] has quit [(Ping timeout: 264 seconds)]
mudri[m] has quit [(Ping timeout: 264 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 264 seconds)]
koalaeagle[m] has quit [(Ping timeout: 264 seconds)]
Pneumaticat has quit [(Ping timeout: 264 seconds)]
nixo[m] has quit [(Ping timeout: 264 seconds)]
sudoreboot[m] has quit [(Ping timeout: 264 seconds)]
copumpkin has quit [(Ping timeout: 264 seconds)]
mtncoder[m] has quit [(Ping timeout: 255 seconds)]
ConorCurry[m] has quit [(Ping timeout: 255 seconds)]
necronian has quit [(Ping timeout: 255 seconds)]
Vincenzo[m] has quit [(Ping timeout: 276 seconds)]
gudea[m] has quit [(Ping timeout: 276 seconds)]
Wieke[m] has quit [(Ping timeout: 276 seconds)]
Leo[m]2 has quit [(Ping timeout: 276 seconds)]
zigschots20[m] has quit [(Ping timeout: 276 seconds)]
mrdaak[m] has quit [(Ping timeout: 276 seconds)]
Nobabs27[m] has quit [(Ping timeout: 276 seconds)]
paperdigits[m] has quit [(Ping timeout: 276 seconds)]
<amfl>
Anyone know is multimc is broken? I'm getting "This application failed to start because it could not find or load the Qt platform plugin "xcb"" when I try to run it.
<amfl>
Using "nixos.multimc multimc-0.5.1" and running binary "MultiMC"
<johnw>
I have several friends who use it for their primary development laptops
<arkad>
thats what I'm trying to do
<arkad>
although its a little difficult at times
<johnw>
it works for them, but I have too much software investment in Mac
<johnw>
however, were that not the case, I'd give it a go
notdaniel is now known as notdaniel_
notdaniel_ has quit [(Remote host closed the connection)]
notdaniel has joined #nixos
<arkad>
is there anyone around who could help me build a go package in nixos?
<johnw>
for that you only need nix experts, unless it's a system service
<arkad>
currently im getting errors like cannot find package "golang.org/x/net/context" in any of ...
<johnw>
I don't know Go at all
<arkad>
me either
<johnw>
but the first thing I'd do is find another Go-related package, and see what they do
<arkad>
I have
asuryawanshi has quit [(Remote host closed the connection)]
<arkad>
Im not sure why mine throws an error and the others build
zigschots20[m] has joined #nixos
guest521[m] has joined #nixos
qrilka[m] has joined #nixos
jlle[m] has joined #nixos
Geeky[m] has joined #nixos
akavel[m] has joined #nixos
Deleh[m] has joined #nixos
sargon[m] has joined #nixos
pvn[m] has joined #nixos
octalsrc[m] has joined #nixos
aspiwack[m] has joined #nixos
sirius[m] has joined #nixos
aarvar has quit [(Ping timeout: 240 seconds)]
Wieke[m] has joined #nixos
danbst[m] has joined #nixos
gudea[m] has joined #nixos
Dezgeg[m] has joined #nixos
AdamSlack[m] has joined #nixos
rnhmjoj[m] has joined #nixos
myklam[m] has joined #nixos
kitten[m] has joined #nixos
dylanjust[m] has joined #nixos
MawKKe[m] has joined #nixos
<fpletz>
gchristensen: re ipfs: yeah, what about it? I've heard that some things have happened since but haven't been able to test the current ipfs version yet
ixxie has joined #nixos
hotfuzz_ has joined #nixos
ssmike1 has joined #nixos
hotfuzz has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vb47Y
<arkad>
I'm using the go-ethereum as my example, since ubiq is an ethereum clone
<arkad>
go-ethereum always build fine, but when swapping out the info for the go-ubiq repo, the build fails with errors about GO
ixxie has quit [(Ping timeout: 276 seconds)]
<joko>
Hello, people, I've just started using nixops and so far, it's been great. I was wondering how you manage the nixpkgs version of target machines, any ideas or even better any code to check?
mrkgnao has quit [(Quit: WeeChat 1.9.1)]
<srhb>
joko: There are many ways. I set nixpkgs in NIX_PATH in my shell before deploying.
<joko>
srhb: and what if you have a mix of nixpkgs cases? E.g. a mix of nixos-17.09 and nixos-unstable
<srhb>
joko: In a certain machine? Then I would import the different versions of nixpkgs in the definition of the machine itself.
<srhb>
joko: I only use NIX_PATH when I care about the nixos version as well as the package set.
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
ssmike1 has joined #nixos
ssmike has quit [(Ping timeout: 268 seconds)]
ssmike1 is now known as ssmike
NightTrain has quit [(Quit: Lost terminal)]
simendsjo has joined #nixos
phg1 has quit [(Quit: WeeChat 1.9.1)]
awi has joined #nixos
simendsjo has quit [(Client Quit)]
Isorkin has joined #nixos
<awi>
Hi, can anyone explain me, Nixos beginner, how I can find the binary 'gdbus-codegen' an get it into PATH. Looks like it is used here: goo.gl/K8Tk1X
zzamboni has joined #nixos
<LnL>
nix-shell -p glib
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vb4bT
<NixOS_GitHub>
nixpkgs/release-17.09 89ba203 Vladimír Čunát: ldns: security patches from upstream, /cc #32459...
NixOS_GitHub has left #nixos []
<awi>
thx
simendsjo has joined #nixos
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
<toogley>
after downloading the nixpkgs repo, i modified the default.nix from the neomutt package - especially i updated the neomutt version to 2017-12-08. however, i haven't changed the hash, so the build should fail. however, it doesn't fail; and ~/.nix-profile/bin/neomutt -v prints the former version 20171027. i build with nix-env -f ~/src/nixpkgs -iA neomutt
<clever>
toogley: try incrementing one of the digits in the hash
phdoerfler has quit [(Quit: Leaving.)]
tmaekawa has quit [(Ping timeout: 240 seconds)]
<toogley>
clever: ah, thanks
Itkovian has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<sphalerite>
Having a bit of a bootstrap problem… I've copied nix over to a debian machine with nix-store -qR and tar. Now I want to have the paths registered properly in the nix database, but attempting to build them breaks everything because glibc gets deleted before getting realised… except of course glibc is needed to realise glibc
<sphalerite>
Any suggestions?
<sphalerite>
I can't just use the regular nix installer because this is an ARM machine
<clever>
sphalerite: you need to import a backup of the db.sqlite, one min
asuryawanshi has joined #nixos
sigmundv_ has joined #nixos
linarcx has joined #nixos
<sphalerite>
is that ok even if it includes paths that don't exist?
<clever>
sphalerite: there are ways to generate a fake backup from a closure
<clever>
LnL: this puts an entire nixos installer into your grub menu
<clever>
LnL: then you can just mount /mnt and re-run nixos-install, to rebuild the entire store from configuration.nix
<LnL>
yeah I was thinking about that yesterday
<LnL>
is that in nixpkgs?
<clever>
not currently
<clever>
its just a nixos module on my github, add it to the imports list
<mpickering>
what is the idiomatic way to modify and test nixpkgs? So far I have just been living on the edge and modifying the current nixpkgs that I am using from day to day but this means you have to be close to master if you rebase
<LnL>
oh, I'm not using grub :/
<clever>
LnL: i havent looked into how systemd-boot works yet
<LnL>
don't know anything about it either :)
<clever>
ive been using grub for over a decade..., so i just always go grub
<NixOS_GitHub>
nixpkgs/release-17.09 0f1c8d0 Sarah Brofeldt: Merge pull request #32501 from srhb/piwik-cherry...
NixOS_GitHub has left #nixos []
<laggy_wifi_>
how would i impliment ldd with patchelf
iyzsong has quit [(Ping timeout: 255 seconds)]
iyzsong has joined #nixos
magnetophon has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
<magnetophon>
My pager doesn't understand colours anymore, and prints the escape sequences instead. $PAGER=less $LESS= (so iow it's empty)
<laggy_wifi_>
if ldd if recursive, if i "$ patchelf-static --print-needed ./usr/lib/python2.7/site-packages/tdb.so" which has libtdb.so.1, and i patch libtdb.so.1 will it probogate to tbd.so and any other lib that has it as needed?
<herzmeister[m]>
helloes, so why do some applications have no or wrong icons? libreoffice, thunderbird, etc? just sloppy maintaining? can i just pull-request? or am i missing something?
sary has quit [(Ping timeout: 255 seconds)]
asuryawanshi has joined #nixos
fendor has joined #nixos
acarrico has quit [(Ping timeout: 255 seconds)]
zzamboni has quit [(Quit: Leaving.)]
kier has joined #nixos
asuryawanshi has quit [(Ping timeout: 260 seconds)]
vidbina has joined #nixos
<srhb>
herzmeister[m]: If you have a fix handy I'm sure you're welcome to PR. :)
<sphalerite>
icons in thunderbird are fine for me…
<sphalerite>
Anyone using nixos-mailserver here? I'm having some trouble with DKIM — it doesn't seem to be producing valid signatures.
mrkgnao has quit [(Quit: WeeChat 1.9.1)]
<herzmeister[m]>
it's a different one, hence doesn't get restyled when using a different icon theme (like a flat one) and falls out of place (i know i know, just a little thing, but...)
phreedom has joined #nixos
<sphalerite>
but yeah if you know a fix PRs are welcome!
<toppler>
Seems that the ircd-hybrid configuration file is pretty borked.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 5 new commits to master: https://git.io/vbBfA
<NixOS_GitHub>
nixpkgs/master b8b4d7e Andreas Rammhold: erlang: removed R16.nix, was a leftover from #32443
<NixOS_GitHub>
nixpkgs/master 8e2f11e Andreas Rammhold: couchdb: use erlangR19 instead of erlangR17...
<NixOS_GitHub>
nixpkgs/master 9f39d0e Andreas Rammhold: erlang_basho_R16B02: OTP_16B02_basho8 -> OTP_16B02_basho10...
NixOS_GitHub has left #nixos []
pareidolia has quit [(Ping timeout: 248 seconds)]
roundhouse has joined #nixos
mrkgnao has joined #nixos
<roundhouse>
hi, when i try to recompile xmonad, I get the error "There are files missing in the ‘data-default-instances-containers-0.0.1’ package". Has anyone run into this problem on Nixos?
xvapx has joined #nixos
patrl has joined #nixos
<roundhouse>
there is a issue on nixos with the same problem but the author closed it stating it was some issue with his haskell installation.
zzamboni has joined #nixos
xvapx has quit [(Client Quit)]
ixxie has joined #nixos
a6a3uh has quit [(Quit: Bye)]
vandenoever has joined #nixos
oahong has quit [(Ping timeout: 255 seconds)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
magnetophon has quit [(Remote host closed the connection)]
<tilpner>
NickHu - ^
a6a3uh has joined #nixos
ssmike has quit [(Ping timeout: 248 seconds)]
<ixxie>
anybody know how to find the publications page on nixos.org?
<ixxie>
I found it once but cannot find it again xD
<herzmeister[m]>
like manjaro or antergos for arch, nixos could be a wonderful base for building very beginner-friendly distros on-top-of-it (because it would allow features like app sandboxing, time-machine quite easily), are there any projects or discussions in that direction already?
<ixxie>
herzmeister[m]: not that I have seen but I have been thinking that it could actually be even better, because you could easily make a 'Distro Repository' which is basically just a bunch of config files and a hydra instance building installation CDs/etc.
<herzmeister[m]>
sure. exploding-mind.gif
<herzmeister[m]>
still, the end user just wants to get started easily
<herzmeister[m]>
i.e. a good graphical installer, or even ready-made devices
<ixxie>
tilpner: I found that one, but wasn't there also a general page of Nix publications?
<laggy_wifi_>
sucks that the only way to find out if a file has an interp section is to patchelf/file it
<tilpner>
ixxie - I don't remember seeing one, but that of course doesn't mean there wasn't one
whateverhewants is now known as sdhand
orivej has joined #nixos
* hodapp
3D prints a bunch of Nix logos to put everywhere and tells people they're just snowflakes for the holidays
<sphalerite>
:D
stanibanani has quit [(Ping timeout: 260 seconds)]
<joepie91>
lol
<joepie91>
guerilla marketing
<joepie91>
multi-level guerilla marketing actually, the first level was the lambdas in the Nix logo...
<hodapp>
I want to print out some lambdas to hand out to people at the local FP group
Itkovian has joined #nixos
<joepie91>
herzmeister[m]: I'm working on such a project :)
<kreetx>
I saw some decal nixos stickers mentioned in a yt video -- where could one get those?
<joepie91>
herzmeister[m]: the main problem I've run into is that all the major software isn't really built to integrate with Nix, so it involves a lot of building UI stuff from scratch
mrkgnao has quit [(Ping timeout: 268 seconds)]
jsgrant has quit [(Remote host closed the connection)]
<joepie91>
herzmeister[m]: like for example, you ideally want things like theme selection and software installation and such to be absorbed back into the declarative system config to keep Nix' guarantees, but existing package management UIs totally assume imperative systems, UI toolkits just dump stateful config files in ~, and so on
Itkovian has quit [(Client Quit)]
<joepie91>
so the problem isn't really "from a Nix config to a working system", that's a mostly solved problem... the problem is the other way around, feeding back into a Nix config
<mojjo>
hi! I'm making myself familiar with nix overlays. I'm taking an emacs config as an example... I see people using `emacsPackagesNgGen` Just cannot find the definition of this function.. any hints for me?
catears is now known as sora
ma27 has quit [(Ping timeout: 246 seconds)]
sora has quit [()]
<srhb>
mojjo: It's defined in pkgs/top-level/all-packages.nix
<srhb>
mojjo: Er, emacsPackagesNg at least, that's what you meant right?
<srhb>
mojjo: Oh, no, emacsPackagesNgGen is defined there as well :)
ma27 has joined #nixos
ixxie has quit [(Ping timeout: 248 seconds)]
vandenoever has quit [(Ping timeout: 240 seconds)]
<mojjo>
srhh: thank you.. how could I not find it.. searching for this string on the github frontend did not deliver a match.. alright, now I can checkout what it does..
<srhb>
mojjo: Not sure github indexes big files like that.
<gchristensen>
github doesn't index files that are a hundred million lines long
endformationage has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<xvapx>
Hi, can anybody tell me how can I import a service file I made to my configuration.nix? I'm trying to test a service file I made, but can't find how to rebuild my system with said service in it without rebuilding all my system from my local tree.
babyflakes has quit [(Quit: Connection closed for inactivity)]
<herzmeister[m]>
joepie91 ixxie thanks for the info. yes those were the difficulties i expected. Especially about an end-user software manager. But I also had the idea when I realized that most distros do it wrong anyway. Most apps from an appstore should be sandboxed like on Android. System-wide support only for the "big" libraries and applications. This could be more easily achieved when based on NixOS then. So a rethink/redesign in
<herzmeister[m]>
this regard would be necessary here anyway.
<sphalerite>
joepie91: source-built firefox 57 is in nixpkgs, just not in 17.09 yet
jsgrant has joined #nixos
bennofs1 has joined #nixos
<joepie91>
herzmeister[m]: mind that Nix does not provide sandboxing in the runtime sense
<joepie91>
and that runtime sandboxing would involve a lot more limitations that would break many applications
<herzmeister[m]>
yes
babyflakes has joined #nixos
<herzmeister[m]>
would be up to the package maintainer to specify some sort of "virtualization level"
<sphalerite>
holy crap the kernel builds so much faster on the MMC built into my chromebook than on an external USB stick
asuryawanshi has quit [(Ping timeout: 258 seconds)]
fiddlerwoaroof has joined #nixos
<herzmeister[m]>
joepie91: thanks! all i know android is based on selinux but it's not easy to build on it. can i easily switch to selinux kernel on nixos? no clue so far
<sphalerite>
selinux isn't a different kernel, it's just a module
<sphalerite>
or rather a part of linux
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vbBCx
<NixOS_GitHub>
nixpkgs/master e7a327d Matthew Pickering: ghcHEAD: 8.3.20170808 -> 8.5.20171208
<NixOS_GitHub>
nixpkgs/master 73d8545 Peter Simons: Merge pull request #32503 from mpickering/ghc-head-updates-8.5...
NixOS_GitHub has left #nixos []
<sphalerite>
But yeah it should be easy to run nixos on a kernel with SELinux enabled. Not sure it'll be easy to make use of it though
<duncan^>
It's no harder than using it on other systems, it's just a pain in general
tmaekawa has joined #nixos
bennofs1 has quit [(Ping timeout: 250 seconds)]
typeggzero has quit [(Ping timeout: 250 seconds)]
sigmundv_ has quit [(Ping timeout: 248 seconds)]
Harpalus has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbBls
<NixOS_GitHub>
nixpkgs/master 00ad519 Markus Hauck: cataclysm-dda-git: update to latest and add arguments
<samueldr>
there is a section in chapter 30, with this said: ``If you want to rebuild your system using your (modified) sources, you need to tell nixos-rebuild about them using the -I flag``
<samueldr>
I believe using this you should be able to test your changes
dejanr has joined #nixos
<samueldr>
before trying, you might want to ensure that you built your changes on branch off of the nixpkgs-channels repository
<samueldr>
otherwise you might: accidentally upgrade to nixos-unstable, rebuild a bunch of stuff
manoj has quit [(Ping timeout: 248 seconds)]
stanibanani has quit [(Ping timeout: 268 seconds)]
erictapen has quit [(Ping timeout: 260 seconds)]
typeggzero has joined #nixos
Itkovian has joined #nixos
<sphalerite>
Anybody know why linux might not be detecting the partitions on a built-in flash memory without me manually running partx -u on it?
mekeor has joined #nixos
ylwghst has quit [(Ping timeout: 260 seconds)]
xvapx has quit [(Quit: xvapx)]
xvapx has joined #nixos
<samueldr>
at boot or when modifying partitions?
<sphalerite>
at boot
stqism is now known as stqism_
<sphalerite>
so before running partx I just have /dev/mmcblk2, after partx -u /dev/mmcblk2 I have /dev/mmcblk2p[123]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite>
although there are mmcblk2boot[01] and mmcblk2rpmb, and I have no idea what those are
<sphalerite>
they're 4MB each and the boot ones are read-only
<grw>
i get- error: Target specification with 3 components is ambiguous
ssmike has quit [(Ping timeout: 246 seconds)]
xvapx has quit [(Quit: xvapx)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
ylwghst has joined #nixos
Sonarpulse has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
<schoppenhauer>
hi. what are you using for accessing SMB shares?
<schoppenhauer>
I tried nautilus and thunar, but they do not connect
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vbBBK
<NixOS_GitHub>
nixpkgs/master 1463556 Tim Steinbach: linux-copperhead: 4.14.3.a -> 4.14.4.a
<NixOS_GitHub>
nixpkgs/master 48b0e5d Tim Steinbach: linux: 4.4.104 -> 4.4.105
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/vbBBX
<NixOS_GitHub>
nixpkgs/release-17.09 1122401 Tim Steinbach: linux-copperhead: 4.14.3.a -> 4.14.4.a...
NixOS_GitHub has left #nixos []
<sphalerite>
schoppenhauer: those will both be using the same gio backend. Not sure how it works. Maybe you can use `mount -t cifs //share-address/path /path/to/mount`
stqism_ is now known as stqism
<schoppenhauer>
sphalerite: the problem is that I need to pass user and password
<boxofrox>
when creating a nixos service module, if I want to write the contents of a file (e.g. /var/cache/app/values.yml) whose location is hardcoded in my program, how might I do that. all service files I've looked at seem to reference the writeText expression in a config file to trigger the save.
leat has quit [(Ping timeout: 250 seconds)]
<dhess>
boxofrox: that is the kind of thing I would put in a preStart script.
<boxofrox>
dhess: that would trigger the save on every start of the service, yes? any way to only trigger the save when running nixos-rebuild?
nadley has joined #nixos
<dhess>
boxofrox: you can check whether the file already exists and skip it. Anyway, I don't think what you want to do is possible during building because the point of building is to put stuff in the store, under a hashed name, and not to write persistent state elsewhere in the filesystem.
<boxofrox>
dhess: good to know. I'll use the preStart then. thanks
<dhess>
(You can check whether the file already exists and skip it, during preStart, is what I meant there.)
<tilpner>
boxofrox - Use writeText to write the file into /nix/store, then link it from store to /var/cache during preStart?
<tilpner>
boxofrox - That wouldn't cause the save to happen multiple times, only the linking
<dhess>
yeah that's a better idea than mine
ilja_kuklic has quit [(Read error: Connection reset by peer)]
ilja_kuklic has joined #nixos
<boxofrox>
tilpner: I'll make a note of that. unfortunately, the file can be over-written by the program, so I think that'll be a problem if the file is in the store... read-only store I think. I can work with dhess's recommendation.
<tilpner>
boxofrox - How expensive is creating values.yml?
<tilpner>
boxofrox - You don't *have* to link it. You can create it in the store, and then copy it over, instead of linknig it
<dhess>
boxofrox: probably a middle-ground is the way to go, then. Write the contents using writeText during building, then copy it in prestart
<dhess>
yeah what tilpner said. That way you know that the initial contents of the file are in sync with the current generation of the build.
<boxofrox>
tilper: not very costly. the file is used for persistence of state. I'd like to set initial state in the service config.
Fare has quit [(Quit: Leaving)]
<dhess>
ok either way works. It depends on how persistent that state is, as well.
<boxofrox>
dhess: tilpner: thanks! i'll store initial file in store and copy it over.
ylwghst has quit [(Remote host closed the connection)]
coot_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #32525: fix use of config-specified allowInsecurePredicate (master...fix/allowInsecurePredicate) https://git.io/vbB0r
NixOS_GitHub has left #nixos []
leat has joined #nixos
<sphalerite>
samueldr: turns out only the secondary GPT ever actually makes it to the flash… the beginning of it is write-protected
<sphalerite>
so how do I get linux to boot off it >.>
<samueldr>
hmm, write-protected from where to where? coreboot?
<samueldr>
(iirc, coreboot can exist for arm)
<sphalerite>
yeah it does have coreboot, but I'm not sure it lives on the MMC
<dhess>
sphalerite: did you say this is a Chromebook?
<sphalerite>
I actually installed libreboot over the stock coreboot
<sphalerite>
yes
<dhess>
sphalerite: don't those have a pretty hardened boot process and are difficult to "root"? i.e., to run something other than ChromeOS?
<dhess>
sphalerite: Google for Crouton
<dhess>
"crouton chromebook" or something like that
<sphalerite>
dhess: they do have a very hardened boot process but google kindly enabled a "developer mode" that lets you say "screw the hardened boot process" :)
<dhess>
oh ok
<dhess>
I guess you know about that already then
<sphalerite>
dhess: I'm already running real nixos on it from a USB stick
<samueldr>
^that, chromebooks are hardened until you soften them up *as designed*
<sphalerite>
I just want to move it from the USB to the MMC now…
<samueldr>
sphalerite: which chromebook already?
<sphalerite>
samueldr: I love it!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbB0d
<NixOS_GitHub>
nixpkgs/master db7bee2 Will Dietz: stdenv: fix use of config-specified allowInsecurePredicate...
<dhess>
pikajude: basically, it's a mess because Python packaging is a mess.
orivej_ is now known as orivej
<pikajude>
:')
<themistocle>
Been looking around the net for info, but maybe someone here can help. Is the nix community interested in distro packaging? Was thinking about making a .deb but I'm sure I'm not the first to think of this.
<boxofrox>
tilpner: dhess: writing to store and copying in preStart if file doesn't exist works perfectly. thanks again for that tip.
<themistocle>
I also would like to get nix working for FreeBSD.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 3 new commits to master: https://git.io/vbBEj
<NixOS_GitHub>
nixpkgs/master ef6e39f Benjamin Hipple: cryptop: 0.1 -> 0.2...
<NixOS_GitHub>
nixpkgs/master d1e3e83 Orivej Desh: cryptop: alias to altcoins.cryptop
<pikajude>
i can't build the pypi2nix shell environment
<pikajude>
because it's giving me a permission denied error, so it's trying to modify something in the store for some reason
<shlevy>
Hmm any reason why the nixpkgs unstable channel isn't updating? niksnut grahamc
bennofs has quit [(Quit: WeeChat 1.9.1)]
bennofs1 has joined #nixos
coot_ has quit [(Quit: coot_)]
magnetophon has joined #nixos
vidbina has quit [(Ping timeout: 248 seconds)]
phdoerfler has quit [(Quit: Leaving.)]
nalc has joined #nixos
asuryawanshi has joined #nixos
Olgierd has quit [(Quit: WeeChat 1.9.1)]
nalc has quit [(Client Quit)]
<magnetophon>
I just set "ssh.startAgent", and noticed that git doesn't find it unless I manually set SSH_AGENT_PID. Is that normal? Should I file a bug?
<srhb>
magnetophon: did you log out and in?
Olgierd has joined #nixos
Olgierd has quit [(Changing host)]
Olgierd has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<magnetophon>
yes, I even rebooted
<magnetophon>
is SSH_AGENT_PID set on your system?
<magnetophon>
without it, neither git nor emacs magit will push. when I set it manually, they will.
<magnetophon>
srhb: ^^^
ssmike has joined #nixos
<symphorien>
is there a way to have nix accept the license of androidsdk ?
babyflakes has quit [(Quit: Connection closed for inactivity)]
<symphorien>
I cannot accept it afterward since the store is read only
themistocle[m]2 has joined #nixos
vidbina has joined #nixos
thblt has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
phreedom has joined #nixos
ma27 has quit [(Ping timeout: 255 seconds)]
<gerschtli>
hey, anyone here with experience with hhvm and nginx?
Capprentice has quit [(Remote host closed the connection)]
Capprentice has joined #nixos
stanibanani has joined #nixos
ottidmes has joined #nixos
asuryawanshi has joined #nixos
<dtzWill>
what's going on re:"failed to enumerate outputs of master"?
<dtzWill>
cc gchristensen, JIC not already on it :)
<ottidmes>
Can I use NixOS to create something small to allow me to run some programs and then reboot or kexec into the actual kernel. I am using hardware encryption, making it all or nothing, so I plan to unlock the hardware encryption via a USB stick, but can I e.g. just create a stage1 initramfs for this purpose? Or would I need to use some small RAM linux distro?
asuryawanshi has quit [(Ping timeout: 260 seconds)]
<dtzWill>
hmm, nox-review on my PR is dying because of gurobipy using an attribute that doesn't exist?
<ottidmes>
I could just build my NixOS config with the intended initramfs configuration, copy them over to the USB stick and rebuild to get my normal initramfs back, but that is plan B
sary has joined #nixos
stanibanani has quit [(Ping timeout: 268 seconds)]
<antonv>
hello, can anyone help me with firefox on nix+ubuntu?
<antonv>
the fonts are horrible - all monospaced
<antonv>
unusable
<themistocle>
you can't change them in FF settings antonv?
<antonv>
#1 web browser is unusable when installing from nix
<antonv>
themistocle, but why sensible defaults are not installd?
<antonv>
Also, I only found how to change web page fonts
rogue_koder_ has joined #nixos
rogue_koder_ has quit [(Read error: Connection reset by peer)]
<antonv>
but not menus, alert and nother non-page UI - they are still monospaced
<themistocle>
Which Ubuntu flavor and version are you running?
<antonv>
also, I don't know what to chose instead of the FreeMono
<antonv>
14.04.LTS
rogue_koder_ has joined #nixos
rogue_koder_ has quit [(Read error: Connection reset by peer)]
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<antonv>
is there anyone who use nix+ubunto? Or everyone is on nixos?
rogue_koder_ has joined #nixos
<themistocle>
I typically run the nix package manager on non-NixOS systems for development.
bennofs1 has quit [(Quit: WeeChat 1.9.1)]
<antonv>
themistocle, do you use FireFox?
<themistocle>
I've never installed Firefox with nix, will try here in a bit.
Quest2010 has joined #nixos
<antonv>
themistocle, thanks.
rogue_koder_ has quit [(Read error: Connection reset by peer)]
<antonv>
What browser do you use usually?
jensens has quit [(Read error: Connection reset by peer)]
SpaceToast has left #nixos ["WeeChat 1.9.1"]
<symphorien>
antonv: typically, you have an ancient version of gtk from your system and nix comes with a much newer version, sometimes even there is the problem of the switch from gtk 2 to 3. So the themes from you system won't fit nix's gtk
Quest2010 has quit [(Quit: Leaving)]
<themistocle>
I use Pop!_OS and macOS so firefox is already installed by default.
acarrico has joined #nixos
rogue_koder_ has joined #nixos
bennofs has joined #nixos
<antonv>
symphorien: I thought nix packages are isolatwd from environment influence
tmaekawa has quit [(Quit: tmaekawa)]
<symphorien>
software still load the config in /etc/ and your home directory
tanonym has joined #nixos
<antonv>
themistocle: I could install FireFox from Ubuntoo too... I just wanted to learn nix so it was a good opportunity... but I can't even install FireFox - strante experience
<symphorien>
so these can interfere with what you install even with nix
<antonv>
strange
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andir opened pull request #32529: networkmanager: remove restart after suspend from resume (master...dont-restart-networkmanager-on-resume) https://git.io/vbBKn
NixOS_GitHub has left #nixos []
<symphorien>
what nix guarantees is that the behavior of A is not changed if you add B to the store
<antonv>
symphorien: what if B changes /etc/ ?
<symphorien>
it cannot
<antonv>
why?
<symphorien>
nix only modifies /nix/store and the set of symlinks in .nix-profile
<antonv>
you said " so these can interfere with what you install even with nix
<antonv>
"
<antonv>
How do the nix packages interfere then, if not through /etc/ ?
<symphorien>
/etc can interfere with things installed by nix, not the reverse
<antonv>
ok, I understod you
<antonv>
is there a way to isolate nix from my /etc/ ?
<antonv>
how does nixos manage /etc/ ?
<symphorien>
it builds a package from a configuration file and populates /etc/ with symlinks to this package
<symphorien>
(very simplified)
<antonv>
symphorien: then I in doubt again - if another package modifies /etc/ the previous package may be affedted?
ylwghst has quit [(Remote host closed the connection)]
<ekleog>
packages don't modify /etc, it's just a script that's run on bootup that populates /etc (this script being defined by the grub entry you select)
CMCDragonkai1 has joined #nixos
<ekleog>
(and by nixos-rebuild, too)
<symphorien>
so yes, this script breaks the property I mentioned on nix
<antonv>
ok, the main question: can I isolate nix from my ubutoo /etc/
<antonv>
?
<symphorien>
not really
<LnL>
in most cases stuff shouldn't use /etc
<LnL>
a stable path is only necessary for reloading a service without a full restart, etc.
<antonv>
We don't even know whether my FireFox problem is caused by /etc/...
dejanr has quit [(Ping timeout: 240 seconds)]
<symphorien>
my experience with nix+ubuntu 14.04 was that the brand new gitg from nix was ugly because it used gtk3 and the theme of ubuntu14.04 was nearly incompatible with any recent gtk3 (14.04 predates client side decorations I think) whereas installing the old gitg from ubuntu was fine
<symphorien>
and to my knowledge you can't have some windows with one theme and others with another theme
simukis has quit [(Ping timeout: 240 seconds)]
asuryawanshi has joined #nixos
ylwghst has joined #nixos
<antonv>
well.. for nix+ubuntoo to work well together, there should be a nix channel with package versions chosed to be compatible with this ubuntoo version...
<antonv>
Ok, someone can hel with another question then. When I do "nix-evn -qaP firefox
<antonv>
I see several versions of firefox-57.0.1:
<antonv>
nixpkgs.firefox firefox-57.0.1
<antonv>
nixpkgs.firefox-wrapper firefox-57.0.1
<antonv>
nixpkgs.firefoxWrapper firefox-57.0.1
<antonv>
<antonv>
How to install a specific one of them?
asuryawanshi has quit [(Ping timeout: 255 seconds)]
<antonv>
nix choses the first one, and I think one of the other two might be better
<symphorien>
nix-env -iA <content of the first column>
ylwghst has quit [(Client Quit)]
<tanonym>
I think that's nix-env -iA nixpkgs.firefoxWrapper for example.
<orivej>
they are all the same
<antonv>
orivej: really, equal?
<antonv>
is there sonme hash for each package?
<tanonym>
Wrappers as I understand act more like the Ubuntu Snappy packages (chroot a replica of the FHS inside the install directory). Like what they had to do with Steam.
<orivej>
antonv: yes, the two wrappers are old aliases in pkgs/top-level/aliases.nix
<orivej>
maybe it's time to delete them
<antonv>
At least, when I installed a different version of them than I installed before - behaviour is the same.
<antonv>
still monopsaced
<antonv>
Thanks everyone for help. So most of you use nixos?
<orivej>
symphorien: you can choose per-application GTK3 theme with "GTK_THEME=/path/to/gtk-3.0/gtk.css" environment variable
<symphorien>
oh
<tanonym>
NixOS is my main linux OS on an old laptop.
<antonv>
tanonym: have you tried FireFox there?
asuryawanshi has joined #nixos
<tanonym>
I have, though I'm currently running Pale Moon because it's about the only browser I get decent performance out of on this crappy laptop.
<antonv>
What desktop environment NixOS users most ofthenly use?
<antonv>
BTW, on my nix+ubuntu setup I successfully installed the i3 tiling window manager
<antonv>
from Nix
<tanonym>
For me my main two are KDE Plasma5 and Enlightenment DE.
<tanonym>
I have used i3 as well, currently trying to figure out how to get the old e16 WM installed as a backup.
<antonv>
What os you used before Nix and what was the process of migration?
<tanonym>
The current install is running NixOS on a ZFS file-system. Seems to work well so far.
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<tanonym>
I have used Ubuntu, SUSE, Fedora, Gentoo, Linux From Scratch, Debian and others. I also still use OS X with nix and homebrew and Windows for things like games and some Adobe programs.
ottidmes has quit [(Ping timeout: 240 seconds)]
<antonv>
do you reboot computer of use one of the OSes in a VM?