<tilpner>
Aren't NixOS declarative containers supposed to be updated in place? It seems my changes only take effect after running "nixos-container update foo", not on "nixos-rebuild switch" (like stated in the manual)
<tmplt>
I'm having wifi problems. How can I remove everything NetworkManager related and start over? Set networking.networkmanager.enable to false, rebuild, and reenable it?
<tilpner>
I don't know how to help you. This is the point where I usually ask you to run some commands and paste the result, but you can't do that, and hand-copying the result is tedious
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] flokli opened pull request #34368: backport borgbackup 1.1.4 for release-17.09 (release-17.09...borgbackup-1.1.4) https://git.io/vNytG
NixOS_GitHub has left #nixos [#nixos]
<qwebirc763350>
darn. thanks though
<tilpner>
I fairly certain nixos-generate-config will also mkdir /etc/nixos, but you can try doing that manually, I guess
stepcut_ has joined #nixos
<tilpner>
(So mkdir /mnt/etc/nixos, but it's not going to do anything)
<tilpner>
I guess you can take photos and upload them?
<tilpner>
:(
stepcut has quit [Ping timeout: 276 seconds]
<qwebirc763350>
i can paste btw
<qwebirc763350>
mkdir /mnt/etc/protonixos1mkdir: cannot create directory ‘/mnt/etc/protonixos1’: No such file or directory
dbe_ has quit [Ping timeout: 240 seconds]
<qwebirc763350>
mkdir /mnt/etc/nvme0n0p1 mkdir: cannot create directory ‘/mnt/etc/nvme0n0p1’: No such file or directory
<qwebirc763350>
mkdir /mnt/etc/nvme0n0p9 mkdir: cannot create directory ‘/mnt/etc/nvme0n0p9’: No such file or directory
<gchristensen>
O.o
<tilpner>
1. How can you paste? (Is this a VM install?) 2. What did you paste?
<`_>
I fear one-click installation isn't quite as easy as the manual or Hydra make it out to be, at least for firefox, chrome, and opera.
<`_>
As far as I know, these browsers default to xdg-open, so /nix/bin/nix-install-package would need to register itself as an application.
<`_>
Could be different for something along the lines of GNOME or KDE, but I'm in xmonad.
<gchristensen>
ahh... one-click-install is all-but-dead, `_
<`_>
Oh for real
<`_>
Well nevermind then lol
macslayer has joined #nixos
<gchristensen>
sorry :$
<`_>
No worries, thanks for letting me know
sigmundv_ has quit [Ping timeout: 268 seconds]
<`_>
No sense jumping down a rabbit hole that's going to lead me nowhere
<macslayer>
So if I set `fonts.fontconfig.defaultFonts.monospace` to a list including some font, does that make that font the default monospace font?
<macslayer>
I have a few applications that use FontConfig's `monospace` font, but when I set that in my NixOS configuration file and rebuild, `fc-match monospace` is still the default value: DejaVu Sans Mono.
etu has quit [Read error: Connection reset by peer]
etu has joined #nixos
stepcut has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
owickstrom has quit [Remote host closed the connection]
owickstrom has joined #nixos
d4g has joined #nixos
d4g_ has quit [Ping timeout: 246 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
s33se has joined #nixos
s33se_ has quit [Ping timeout: 260 seconds]
thc202 has quit [Ping timeout: 252 seconds]
vidbina_ has quit [Ping timeout: 248 seconds]
stepcut has joined #nixos
asuryawanshi has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
stepcut has quit [Remote host closed the connection]
mbrgm has joined #nixos
magnetop` has joined #nixos
asuryawanshi has quit [Ping timeout: 246 seconds]
oida_ has quit [Quit: WeeChat 1.6]
magnetophon has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 147f3d4 Peter Hoeg: qutebrowser: 1.1.0 -> 1.1.1
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vNy3C
NixOS_GitHub has left #nixos [#nixos]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has joined #nixos
stepcut has joined #nixos
atrx has joined #nixos
boomshroom has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 256 seconds]
frankqux_ has joined #nixos
asuryawanshi has joined #nixos
nonethejewels has quit [Ping timeout: 260 seconds]
stepcut has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 248 seconds]
licebmi has joined #nixos
asuryawanshi has joined #nixos
magnetop` has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
nuncanada has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
licebmi has quit [Ping timeout: 248 seconds]
randomstrangerb has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #nixos
<Profpatsch>
gchristensen: Do you ever go to bed?
asuryawanshi has joined #nixos
<gchristensen>
Profpatsch: do _you_ ever go to bed?
<Profpatsch>
gchristensen: no!
<Profpatsch>
You are in Europe, right?
<fearlessKim[m]>
shouldn't nox-review ignore overlays ? It now fails with this stupid error `while evaluating the attribute ‘src’ of the derivation ‘neovim-local’ ... file ‘/home/teto/neovim/Xtest-tmpdir/nvimK36ITf/0’ has an unsupported type`.
<gchristensen>
Profpatsch: I'm in Massachusetts :) America/New_York
<Profpatsch>
Ah, okay.
<Profpatsch>
Then it’s kinda okay.
<Profpatsch>
5am round here. :P
<gchristensen>
:D its just about 11 here. I have CET in my status bar though because of all the CET people here ^.^
asuryawanshi has quit [Ping timeout: 252 seconds]
<clever>
its 11:52 pm here
<gchristensen>
clever: I always forget there is another timezone over there
<simpson>
I thought that we were all nocturnal~
<clever>
i find a lot of americans thinking that the entire continent ends at their shore line, lol
<ertes>
if i'm adding an unfree package, should i just give it the "unfree" license, or should i add the actual license to /lib/licenses.nix?
<ertes>
the latter for the sake of having the link to the actual license
<ertes>
or should i even just inline the license in the meta field?
<disasm>
clever: can I PM you?
<clever>
sure
<ertes>
(this is about the ACC compiler, which compiles zdoom/hexen/heretic scripts… it was released by raven software together with the hexen/heretic source code, but unlike those it was never officially GPL-ed, so at this point i can only assume that it still has the original unfree license)
<simpson>
ertes: I think that licenses.nix is the right thing to do, and that'll be a place where you can specify the URL and `unfree = true;`.
<ertes>
do i have to give the license a fullName/shortName? because it doesn't really have one
<ertes>
"Activision EULA" is rather unspecific
<simpson>
You could try leaving them blank.
asuryawanshi has quit [Ping timeout: 256 seconds]
<ertes>
hmm… after some research it looks like the state of ACC's licensing is even less clear than i thought… i'll just use the unfree license, as it looks like it's doomed to stay this way
stepcut has joined #nixos
<simpson>
That's common with abandonware. Maybe the surely-inevitable Rust rewrite will be Free Software.
asuryawanshi has joined #nixos
<ertes>
i thought of doing just that, except in haskell =)
randomstrangerb has quit [Ping timeout: 256 seconds]
<ertes>
ACC is actually quite small, so i'm surprised nobody has done it before
<ertes>
everything else in the doom ecosystem is free software
randomstrangerb has joined #nixos
swayf has joined #nixos
Isorkin has joined #nixos
asuryawanshi has quit [Ping timeout: 252 seconds]
swayf has quit [Ping timeout: 265 seconds]
asuryawanshi has joined #nixos
hamishmack has quit [Quit: hamishmack]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] esoeylemez opened pull request #34372: acc: init at 1.56 (master...ertes-acc) https://git.io/vNyZE
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
asuryawanshi has quit [Ping timeout: 240 seconds]
grantwu has joined #nixos
<grantwu>
How do I uninstall ipython?
asuryawanshi has joined #nixos
<grantwu>
I can never figure out what I'm supposed to pass to nix-env -e
asuryawanshi has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
schoppenhauer has quit [Ping timeout: 268 seconds]
schoppenhauer has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
asuryawanshi has joined #nixos
<vaibhavsagar>
grantwu: look at the output of `nix-env -q`
<vaibhavsagar>
specifying the exact version has worked for me in the past
<grantwu>
Oh, I didn't try nix-env -q without something after it
<grantwu>
Thanks
asuryawanshi has quit [Ping timeout: 260 seconds]
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 264 seconds]
zzamboni has joined #nixos
<hyper_ch>
Mic92: stability patch for zfs will probably be merged this week
asuryawanshi has joined #nixos
hamishmack has joined #nixos
swflint has quit [Ping timeout: 276 seconds]
swflint has joined #nixos
b has quit [Quit: Lost terminal]
asuryawanshi has quit [Ping timeout: 276 seconds]
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 248 seconds]
asuryawanshi has joined #nixos
jb55 has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Ping timeout: 240 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
<dhess>
hmm, `cabal2nix cabal://semigroups` generates a .nix file that is missing basically all of semigroups's dependencies. Anyone know why?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #34373: glibc: Fix Darwin build (staging...glib-darwin) https://git.io/vNyCO
NixOS_GitHub has left #nixos [#nixos]
<dhess>
Possibly has something to do with cabal.projectfiles
asuryawanshi has joined #nixos
<dhess>
ohhh I needed --compiler=ghc-7.10
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vNyC8
<NixOS_GitHub>
nixpkgs/staging 64ba681 Vladimír Čunát: glib: fixup build on Darwin after #34198...
NixOS_GitHub has left #nixos [#nixos]
ma27 has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vNyCV
<NixOS_GitHub>
nixpkgs/staging 82ebace John Ericson: glibc: Fix Darwin build...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/staging a073e7f Vladimír Čunát: Merge #34373: add comment to the first-parent commit...
<binh_>
and I don't know how to install this package by looking at the default.nix
<srhb>
binh_: It might not be in your channel.
<srhb>
binh_: Are you using stable?
<binh_>
yes
<srhb>
binh_: That's why. It'll be in the 18.03 release.
<binh_>
ok, so could I download the nix file and install manually ?
<srhb>
binh_: A better solution would be to add the unstable channel and grab it from there
<srhb>
While keeping the rest of your system on stable
<grantwu>
/close
grantwu has left #nixos ["WeeChat 2.0.1"]
reinzelmann has joined #nixos
<srhb>
Lemme see if I remember the right trigger...
<srhb>
!channels
<srhb>
Clearly not.
<binh_>
I can handle from here, thank you very much srhb
<srhb>
binh_: OK, great :)
swayf has quit [Ping timeout: 265 seconds]
asuryawanshi has joined #nixos
zzamboni has quit [Quit: Leaving.]
ryanartecona has joined #nixos
asuryawanshi has quit [Ping timeout: 264 seconds]
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
leat has quit [Ping timeout: 264 seconds]
jluttine has quit [Remote host closed the connection]
MercurialAlchemi has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
jluttine has joined #nixos
glenn_ has joined #nixos
rauno has joined #nixos
jluttine has quit [Quit: WeeChat 1.9.1]
ylwghst has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
<jluttine[m]>
Where are the nixpkgs files in nix store? And how do I know which is the current one?
<jluttine[m]>
I booted to live usb and mounted my system to /mnt
asuryawanshi has quit [Ping timeout: 240 seconds]
<jluttine[m]>
So a bit difficult for me..
ylwghst has quit [Remote host closed the connection]
<etu>
jluttine[m]: echo $NIX_PATH
<etu>
and you can see which nixpkgs is in use
winem_ has joined #nixos
<jluttine[m]>
Nope, that gives the one provided by the live usb
<etu>
oh
kreetx has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
<vaibhavsagar>
jluttine[m]: that is the nixpkgs in use
asuryawanshi has joined #nixos
<etu>
vaibhavsagar: I don't think jluttine[m] were looking for the ones in use then, the one that was current on his/her partition or something like that.
<vaibhavsagar>
fair enough
Itkovian has joined #nixos
Itkovian has quit [Read error: Connection reset by peer]
asuryawanshi has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
Itkovian has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
kreetx has quit [Ping timeout: 276 seconds]
ryanartecona has quit [Quit: ryanartecona]
leat has joined #nixos
mkoenig_ has quit [Ping timeout: 248 seconds]
mkoenig has joined #nixos
winem_ has quit [Ping timeout: 276 seconds]
ssmike has quit [Read error: Connection reset by peer]
<spear2>
jluttine[m]: maybe you want $ nix-instantiate --find-file nixpkgs ?
<spear2>
readlink -f $(nix-instantiate --find-file nixpgs) gives a store path
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vNyBg
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master e58adb9 John Wiegley: myEnvFun: fix sed script edit
<clever>
vaibhavsagar: also check the ~/.nix-defexpr/ symlink
Itkovian has quit [Read error: Connection reset by peer]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
swayf has joined #nixos
mkoenig has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
swayf has quit [Ping timeout: 265 seconds]
la_putin has joined #nixos
jluttine has joined #nixos
Itkovian has joined #nixos
thc202 has joined #nixos
zzamboni has quit [Quit: Leaving.]
lonokhov has joined #nixos
JosW has joined #nixos
zzamboni has joined #nixos
srid has quit [Quit: Ping timeout (120 seconds)]
srid has joined #nixos
leat has quit [Ping timeout: 256 seconds]
periklis has joined #nixos
fyuuri has joined #nixos
<lonokhov>
o/
<lonokhov>
Is it ok that pandoc from nixpkgs-unstable has huge closure even though it has haskell.lib.justStaticExecutables applied in all-packages.nix?
ssmike has joined #nixos
zzamboni has quit [Quit: Leaving.]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bin8me has quit [Read error: Connection reset by peer]
Isorkin_ has joined #nixos
sud0x3 has quit [Ping timeout: 240 seconds]
Isorkin_ has quit [Client Quit]
Isorkin_ has joined #nixos
ylwghst has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
Isorkin has quit [Ping timeout: 264 seconds]
sud0x3 has joined #nixos
Isorkin_ has quit [Client Quit]
Isorkin has joined #nixos
winem_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master eaaca14 Franz Pletz: p7zip: add patch to fix CVE-2017-17969
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vNywc
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
<winem_>
hi, quick question. would something like nix-env -i xxx --arg-str version 3.2.1 work to install version 3.2.1 of xxx?
bin8me has joined #nixos
a6a3uh has quit [Quit: Bye]
zzamboni has joined #nixos
kim0 has joined #nixos
bin7me has quit [Remote host closed the connection]
<Lisanna>
winem_ I can't think of anything in nixpkgs that would respond to that
<Lisanna>
in contrast to popular package repositories, nixpkgs doesn't do so well in maintaining multitudinous versions of everything (although imho there's no technical reason for this >_>)
<winem_>
ah, brainfart. would be xxx-3.2.1. 3.2.1 is the version number in default.nix? I mean, I know and understand the arguments to keep the latest version and provide it, but I have to think about edge cases where itm ight be required to install a previous version
<winem_>
oh wait, are you sure? just saw that one of our devs uses name = "inhouse-${version}"; version = "1.3.0" and it passed the tests.
<infinisil>
Lisanna: what do you mean? a version usually isn't an attribute key, it's a value of one
<infinisil>
And attribute names can have dots in them too ( { "foo.bar" = "foo"; } )
<Lisanna>
winem_ the name of the package that you will use in a nix-env command is not the same as the "name = "blah";" line in your mkDerivation {}
<infinisil>
winem_: Sometimes it's possible to get an older version by checking out a previous version of nixpkgs where the package is still an older versions one
<infinisil>
But that won't include every version, just a couple specific ones
<Lisanna>
infinisil I didn't know that - so why aren't there any attribute names in nixpkgs with dots in them?
raynold has quit [Quit: Connection closed for inactivity]
<infinisil>
Lisanna: because it usually doesn't make sense to want it? A single usecase I know of is `nginx.virtualHosts."www.example.com" = ... `
<Lisanna>
nix-env -i hello-2.10
<Lisanna>
it would be great for version numbers
<Lisanna>
unrelated: is nix-push safe to run against a live binary cache? Couldn't find any mention of this in the manual.
<infinisil>
it would be a pain to have every version in nixpkgs thoug
<Lisanna>
not saying you should have every version in nixpkgs
<Lisanna>
just, name the versions you *do* have with that format
<Lisanna>
that's the format the package name uses, and it's the format that other popular package mangers use
<Lisanna>
for some reason nixpkgs just sort of ac-hocs it every time it's needed
<Lisanna>
"gcc49"
<infinisil>
ohh, i think i know why
<infinisil>
dots in names do have a big problem
<Lisanna>
Yeah
<Lisanna>
oh yeah, those won't work on the command line
<infinisil>
callPackage doesn't work for them
<Lisanna>
nix-env -i \"hello-2.10\"
<Lisanna>
or something
<infinisil>
{ libfoo, gcc4.9 }: ... isn't a valid nix expression, neither is { libfoo, "gcc4.9" }: ...
<infinisil>
and it doesn't work with callPackage for that reason
ma27 has joined #nixos
yegortimoshenko has quit [Remote host closed the connection]
yegortimoshenko has joined #nixos
Neo-- has joined #nixos
mkoenig has quit [Ping timeout: 256 seconds]
ThatDocsLady has quit [Ping timeout: 248 seconds]
<joko>
Hey, I would like to do something like: map (builtins.fromJson builtins.readFile) [ file1 file2 ]
<manveru>
environment.etc."foo.conf".text = "" is another case :)
<sphalerite>
Sonarpulse: (or anyone else who knows) what does cross-compilation in nixpkgs look like right now? I'd like to get myself some static dropbear+uclibc goodness for MIPS
<joko>
I think I need something like the $ operator in Haskell
<sphalerite>
joko: you mean the . operator. We don't have one unfortunately so you'll need to compose them manually
<sphalerite>
you could of course do something like let compose = f: g: x: f (g x); in map (compose builtins.fromJson builtins.readFile) [ file1 file2 ]
<joko>
sphalerite: I see what you mean, right
lexwhatever has joined #nixos
<lexwhatever>
G'day everybody!)
mkoenig has joined #nixos
<ij>
I'm building a derivation from my development repo dir that also holds tons of garbage, .git and vendor/. Is there any way not to make nix copy all of that to the store? Has anyone else struggled with this?
ssmike has quit [Remote host closed the connection]
<infinisil>
ij: lib.cleanSource ./.
<lexwhatever>
I can't install prebuilt binaries with "nix-env -iAb nixos.nix-index; echo $?;" exit code is 0 and nix-env doesn't tell me why or what gone wrong. is anyone could suggest how to install resolve this?
<infinisil>
ij: look at the source of cleanSource to see how to filter other stuff (cleanSource filters .git and a couple other things)
<ij>
infinisil: but does it simply make a new derivation or it actually doesn't copy that stuff?
<ij>
I guess I can just look at the source and figure it out myself.
<infinisil>
ij: it actually doesn't copy the stuff
<ij>
NICE!
<infinisil>
it uses builtins.filterSource to allow for that
<infinisil>
nixpkgs/lib/sources.nix is very informative
<ij>
Yup, checking it out already.
<ij>
Nixpkgs source is usually quite comprehendable.
JosW has quit [Quit: Konversation terminated!]
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
<lexwhatever>
Excuse me, m'ladies, I can't install prebuilt binaries with "nix-env -iAb nixos.nix-index; echo $?;" exit code is 0 and nix-env doesn't tell me why or what gone wrong. is anyone could suggest how to install resolve this?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNyKp
<infinisil>
lexwhatever: and you don't have nix-index available? it's not installed?
<sphalerite>
lexwhatever: I'd say it's just imprecision in the documentation
chaker has joined #nixos
<sphalerite>
lexwhatever: so the -b flag means "try to get it, but not very hard"
<sphalerite>
infinisil: can confirm that if you use -b it will fail silently to install anything that's not available in the cache
swayf has quit [Ping timeout: 265 seconds]
<chaker>
Hey teozkr, So I managed to update sbtix to 1.0.0, now it compiles correctly. I updated the needed deps updates to to use the latest API accordingly. But when I try to generate the dependecies for sbtix itself using the jar that I got after `sbt package` I get `no main manifest attribute, in ./target/scala-2.12/sbt-1.0/sbtix-0.2-SNAPSHOT.jar`
<lexwhatever>
nix-env -q --installed says, nix-index is not installed, I beleive it's true. Ok, how I can check that 1) prebuilt binaries are available for specific package, in our case nix-index? 2) how to install them?
<teozkr>
chaker: sbtix is a SBT plugin, not a standalone program, so you can't just run the sbtix.jar
ma27 has quit [Ping timeout: 240 seconds]
<chaker>
Aa, okay! but how to generate the deps for the new compiled plugin?
<ij>
So gad damn many things in my ruby closure reference the gcc store id. :/
la_putin has quit [Read error: Connection reset by peer]
la_putin has joined #nixos
<teozkr>
chaker: instead, `publishLocal` it and add it to `project/plugins.sbt`, then run `sbt genNix "reload plugins" genNix`
<chaker>
Thanks teozkr, I will try that
<teozkr>
chaker: then you should be able to remove the plugin from plugins.sbt and reinstall it as usual
<teozkr>
no problem, good luck!
binh_ has quit [Ping timeout: 256 seconds]
sud0x3 has joined #nixos
<lexwhatever>
sphalerite infinisil, lads
MP2E has quit [Remote host closed the connection]
<sphalerite>
I'm not sure
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] SFrijters opened pull request #34379: pyprof2calltree: init at 1.4.3 (master...pyprof2calltree) https://git.io/vNyiP
NixOS_GitHub has left #nixos [#nixos]
<sphalerite>
I mean, to install it regardless just remove the -b
<sphalerite>
but I don't know how to check if it's available
bin8me has quit [Quit: quitting.]
<lexwhatever>
without '-b' it tries compilation, and compilation really suck in my particular current case with this package because 1) it takes really long, more than 40 minutes 2) it fails, but thats another issue. so I beleive have to get prebuilt binaries
chisui has joined #nixos
<infinisil>
lexwhatever: what's your channel?
<chisui>
are there any editor plugins that provide autocompletion for nix expressions or even displaying option descriptions?
<infinisil>
chisui: there are some for emacs, but it's not very good, totally not semantic iirc
rardiol1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dywedir opened pull request #34380: exfat: 1.2.4 -> 1.2.7 (master...exfat) https://git.io/vNyPu
<lexwhatever>
true, i had saw similiar out-of-stack error during sourcecode compilation. fortunately i'm not alone.
silver has joined #nixos
* lexwhatever
so happy so he hails to all mighty knights of sacred nix knowledge, finnaly able to continue his work, again
<LnL>
the-kenny: no idea, but I don’t really see why it wouldn’t
yann-kaelig has joined #nixos
mrkgnao has joined #nixos
sud0x3 has joined #nixos
swayf has joined #nixos
<tilpner>
Apparently NixOS containers will only receive configuration updates without reload when autoStart = true;. Is this intended (then it should be added to the manual), or is this a bug?
<lexwhatever>
that feeling, when you are going to kitchen, see pineapple, and it reminds you of copumpkin.
la_putin has quit [Remote host closed the connection]
swayf_ has joined #nixos
<LnL>
heh
<LnL>
tilpner: I think you always need to restart the container to apply changes
<tilpner>
LnL - "If you run nixos-rebuild switch, the container will be built. If the container was already running, it will be updated in place, without rebooting"
<tilpner>
LnL - And that holds true with autoStart = true;. It's just slightly frustrating that this isn't documented there
<LnL>
hmm, did that change recently?
<tilpner>
I don't know, this is my first time using nixos containers
<NixOS_GitHub>
[nixpkgs] JohnAZoidberg opened pull request #34381: nixos/less configure less with module (master...less) https://git.io/vNyyp
NixOS_GitHub has left #nixos [#nixos]
therp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] teto opened pull request #34382: pulp: init at 1.6.0 (master...pulp) https://git.io/vNySw
NixOS_GitHub has left #nixos [#nixos]
knupfer has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
<freeman42x>
what would be the proper way to fix https://github.com/razvan-panda/nodejs-exec to stack install it on nix? it has hardcoded bin/node path and that does not work on NixOS since it does not exist
chaker has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
knupfer has quit [Ping timeout: 246 seconds]
ma27 has quit [Ping timeout: 256 seconds]
Eisfreak7 has joined #nixos
<Eisfreak7>
Does anyone have knowledge about sandbox building that could explain why sage builds sandboxed ony my and 7c6f434c's machines, but not on hydra?
<TimePath>
I'm not familiar with the Haskell tooling, only the node tooling
sigmundv_ has quit [Ping timeout: 240 seconds]
coot has joined #nixos
ixxie has joined #nixos
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vNyQY
<NixOS_GitHub>
nixpkgs/master 57ecb3a Franz Pletz: rsync: 3.1.2 -> 3.1.3...
NixOS_GitHub has left #nixos [#nixos]
a6a3uh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vNyQ2
<NixOS_GitHub>
nixpkgs/release-17.09 245d627 Franz Pletz: rsync: 3.1.2 -> 3.1.3...
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nuncanada has joined #nixos
sigmundv_ has joined #nixos
Thra11 has joined #nixos
zzamboni has quit [Quit: Leaving.]
coot has quit [Quit: coot]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
Itkovian has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
therp has quit [Remote host closed the connection]
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/vNy5z
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/staging 60331e6 Franz Pletz: curl: 7.57.0 -> 7.58.0 (security)...
zzamboni has joined #nixos
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vNy5y
<NixOS_GitHub>
nixpkgs/release-17.09 853a6fe Franz Pletz: curl: 7.57.0 -> 7.58.0 (security)...
NixOS_GitHub has left #nixos [#nixos]
arjen-jonathan has joined #nixos
sigmundv_ has quit [Ping timeout: 268 seconds]
<chisui>
So I'm currently setting up my desktop PC with NixOS for the first time and I would like to go the "Nix way" wherever possible. So how do I manage my config files for various programs in the "Nix way". I have seen many configuration.nix files on Github but these seem pretty daunting to me. Are there any good resources on the topic? The manual doesn't go into details here
<tilpner>
There's no official way to do that. Solutions include setting the users home to /etc/user/something, using home-manager to generate config files from Nix, and using activation scripts to link config files into the right places
<chisui>
tilpner: thanks, I will take a look at these
a6a3uh has quit [Quit: Bye]
<tilpner>
I can help you with "using activation scripts to link config files into the right places", if that's what you end up doing
<chisui>
I think I will take a look at all the options before deciding. Why did you go that route?
sigmundv_ has joined #nixos
pie___ has joined #nixos
<tilpner>
None of the other options were ready (home-manager wasn't usable via NixOS modules), and /etc/user/something is an even weirder hack
coot has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
pie__ has quit [Ping timeout: 248 seconds]
sud0x3 has quit [Quit: WeeChat 2.0.1]
spear2 has quit [Remote host closed the connection]
steshaw has quit [Quit: Connection closed for inactivity]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] clefru opened pull request #34385: Upgrade kernel compiler to GCC 7. (master...gcc7-kernel) https://git.io/vNyNr
NixOS_GitHub has left #nixos [#nixos]
<lexwhatever>
chisui , thats depend on what you mean by sayn 'configuration files'. if you mean /etc/nixos/configuration.nix & ~/.config/nixpkgs/{config.nix, overlays} they are documented, let me know if you want me to give you a links
<chisui>
lexwhatever: I meant stuff like my .bashrc, Xresouces etc.
<lexwhatever>
if you mean your regular ~/{.config, .otherdotfiles} - i beleive you could mage it like you did in any other distro before a) no managing at all b) have version control in .git with optional symlinks c) have zfs snapshots ... and so on
therp has joined #nixos
<lexwhatever>
ofc theoretically there could be also a hard way (IMHO) : writing .nix extension for packages to BUILD your config files with specific parameters. sounds cool, but hard for me.
<viric>
I see brotli in nix master? oh. I like zstd so much over brotli...
<chisui>
lexwhatever: that was basically what I was looking for.
Thra11 has quit [Ping timeout: 276 seconds]
<tilpner>
lexwhatever - How do zfs snapshots help you manage dotfiles? That sounds like a backup mechanism
Thra11 has joined #nixos
<lexwhatever>
chisui i mentioned multiple options, so not sure where you end up, but I must warn you : Keep it simple, don't over engineer it and fight complexity without mercy
<lexwhatever>
you right tilpner thats only a backup mechanism, and versioning. nothing more. do you use any automatic solution, that gerenates your .configs from templates? or manages them any other complex way?
<chisui>
lexwhatever: I just thought that NixOS would provide facilities to manage stuff like this in a functional way. tilpner also mentioned stuff like home-manager and nixup that seem to help manage dotfiles.
a6a3uh has joined #nixos
<tilpner>
lexwhatever - I have forked the environment.etc module to manage my entire filesystem (not just /etc), so that's what I use for dotfiles too
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 0a70f37 Michael Raskin: lispPackages.clwrapper: build helper; saving dynamic library search path from NIX_LISP_
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vNyxU
knupfer has joined #nixos
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Pneumaticat opened pull request #34386: looking-glass-client: init at a10 (master...looking-glass) https://git.io/vNyxC
<winem_>
what is the best way to have your own nix repository which can be used by remote servers? we started to use nix-serve but there seems to be no active community around it and the documentation is a bit poor so that I have some doubts that it's the best and recommended way to do it.
<ixxie>
winem_: I think the normal approach is setting up your own nix channel, and there is an explanation on that thread of this as well
<winem_>
ixxie: read some links and just finished the 19 pills of nix :) let me check your link
<winem_>
ah yeah, found that and got stuck at some point. but now I take it as the right way and will come back if I have more specific querstions. thanks
i-am-the-slime has joined #nixos
<ixxie>
winem_: don't take my word for it, I never tried this sort of thing
<winem_>
ah, now I know where I got stuck. I missed the point where you refer to the remote host. will try that now
<i-am-the-slime>
How do I make it so I can get linuxPackages_4_14?
<i-am-the-slime>
Do I have to somehow switch to nixpkgs-unstable?
<i-am-the-slime>
error: attribute ‘linuxPackages_4_14’ missing, at /etc/nixos/configuration.nix:97:25 <- is what I get right now
<winem_>
ixxie: no problem, thanks anyway. I'll just blame the random guy in the nixos irc channel, if shit hits the fan ;)
<shlevy>
garbas: Can pypi2nix parse out deps from install_requires in setup.py?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] qknight opened pull request #34388: security.acme: added reload and restart lists for sytemd targets (master...acme_systemd_extension) https://git.io/vNSvB
NixOS_GitHub has left #nixos [#nixos]
<ixxie>
winem_: sounds good ;)
<jluttine>
how do i define overlays in configuration.nix? couldn't find any instructions for that..
<jluttine>
i just want to use a different version for one package than what is defined in nixpkgs
<LnL>
shlevy: you have to run that to figure out the dependencies
KingOfThePirates has joined #nixos
<shlevy>
LnL: Run what?
KingOfThePirates has quit [Client Quit]
reinzelmann has quit [Quit: Leaving]
ssmike has quit [Remote host closed the connection]
<LnL>
the setup.py file, the way python dependencies are resolved is dynamic
<shlevy>
LnL: Yeah but the distutils docs don't actually document all the flags to setup anywhere I can see
coot has quit [Quit: coot]
knupfer has quit [Ping timeout: 256 seconds]
i-am-the-slime has quit [Ping timeout: 240 seconds]
<shlevy>
Oh I was looking at setuptools docs
a6a3uh has joined #nixos
alexteves has joined #nixos
<gchristensen>
python packaging is always an exciting rabbit hole of history :/
<shlevy>
OK looks like an empty setup() should be enough
<shlevy>
Time to write some python...
<LnL>
^
<ixxie>
speaking of annoyances of python packaging, does anybody know how to reliably figure out whether python is running tests?
<shlevy>
ixxie: In what context?
<shlevy>
You can check if doCheck is true
magnetop` has joined #nixos
obadz- has joined #nixos
<LnL>
there’s a reason why there are like 5 python2nix generators and none of them are grwat
<LnL>
great*
magnetop` is now known as magnetophon
<ixxie>
I have had a case where test-requirements.txt are specified, and doCheck is true, and if I specify the checkInputs, the build process says '0 tests run' but if I then remove the checkInputs I get an error that a test failed to run
<ixxie>
actually several such cases
erasmas has joined #nixos
obadz has quit [Ping timeout: 246 seconds]
obadz- is now known as obadz
coot has joined #nixos
nonethejewels has joined #nixos
<LnL>
you could add preCheck = “set -x”;
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNSTX
<NixOS_GitHub>
nixpkgs/master b05ad67 Michael Weiss: signing-party: 2.6 -> 2.7
NixOS_GitHub has left #nixos [#nixos]
knupfer has joined #nixos
frankqux_ has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
asuryawanshi has joined #nixos
<LnL>
the project might be using a different testrunner
<rui>
When I nixos-rebuild with not-so-old nixokgs repos, it screws most programs. I get errors of libGL.so. libc.so and stuff
<rui>
Any ideas on the possible causes?
leward has quit [Client Quit]
zzamboni has joined #nixos
hellrazor has quit [Ping timeout: 256 seconds]
jb55 has joined #nixos
KingOfThePirates has joined #nixos
<KarelWDingeldey[>
Hi, does anyone use sshguard on nixos?
hellrazor has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
<KarelWDingeldey[>
I enabled it in the configuration, but it gives strange error messages about NAMESPACES. Result is that it doesn't start. It appears that systemd can't find the executables.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has quit [Remote host closed the connection]
timlyo has joined #nixos
asuryawanshi has joined #nixos
lonokhov has quit [Quit: Lost terminal]
srdqty1 has joined #nixos
ryanartecona has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
Sonarpulse has joined #nixos
<timlyo>
I'm trying to use i3blocks, but upon running it only shows the time on the bar and "Bad exit code 127" for most of the blocks when run from the commandline. I can run each script individually by going to it in /nix/store. Here's my configuration.nix, do I have to do anything extra to enable the scripts?
<KingOfThePirates>
hello - I'd like some help installing nixos via nix (using a shell from ubuntu on my system). I'm not understanding which directory the shell needs to be to ensure i'm putting nixos on the target partition (disk 0 partition 9), and of course not a partition with an existing os. i'm on the config step in the normal install instructions https://nixos.org/nixos/manual/index.html#sec-installationhttp://nixpaste.lbr.uno/n2KwrD_A
alex`` has joined #nixos
<KingOfThePirates>
by any chance is it possible to get assistance at this time of day?
<catern>
KingOfThePirates: which step is the config step?
Tucky has quit [Quit: WeeChat 2.0.1]
<catern>
how does the Nix Python "setup.py develop" support work with setuptools entry_points? does it work at all?
<KingOfThePirates>
i just finished 9. i think i should be on 11
srdqty1 has quit [Quit: WeeChat 1.9.1]
rui has quit [Quit: WeeChat 1.4]
Jackneillll has quit [Read error: Connection reset by peer]
ssmike has joined #nixos
jb55 has quit [Ping timeout: 256 seconds]
coot has quit [Quit: coot]
Jackneill has joined #nixos
Itkovian has quit [Ping timeout: 246 seconds]
jb55 has joined #nixos
<catern>
answer: the Nix Python "setup.py develop" stuff *does* work with setuptools entry_points. it just puts them on the path. awesome!
jb55 has quit [Ping timeout: 260 seconds]
magnetophon has quit [Remote host closed the connection]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adisbladis has joined #nixos
timlyo has quit [Ping timeout: 256 seconds]
ssmike has quit [Remote host closed the connection]
i-am-the-slime has quit [Ping timeout: 252 seconds]
ivanivan has joined #nixos
<tilpner>
KingOfThePirates - Hi! :)
<tilpner>
gchristensen - Do you have your Hetzner Cloud config online already?
<KingOfThePirates>
i know not what this may be
<KingOfThePirates>
this is all local on the same machine
mizu_no_oto has joined #nixos
<sphalerite>
KingOfThePirates: any time is a good time! :p if you stick around you might find your question gets answered 12h later
<catern>
KingOfThePirates: just to understand, you basically want to install NixOS in a chroot or in a partition from your already-booted Ubuntu system, not from the live CD?
<catern>
KingOfThePirates: if so, have you gotten nixos-install and nixos-generate-config installed (with Nix) on your Ubuntu machine yet?
stephenjudkins has quit [Ping timeout: 264 seconds]
<KingOfThePirates>
i know not a chroot either, but the rest is familiar with me and correct
<KingOfThePirates>
yes
<KingOfThePirates>
at the top of my nixpaste you can see
<catern>
ah, sorry, yes I see
<catern>
I think nixos-install just works on the current working directory, but you might check if it has any --help?
alex`` has quit [Quit: WeeChat 1.9]
<srhb>
nixos-install installs to /mnt by default but does take a --rool argument that overrides it.
<srhb>
Er, --root
<catern>
"nixos-generate-config --root /mnt" should ignore cwd and work on /mnt, though, so it should be fine wherever you are
<catern>
ah, what srhb says then :)
alex`` has joined #nixos
alex`` is now known as alexherbo2
<KingOfThePirates>
srhb: was --rool a typo? just want to be on the same page
<srhb>
KingOfThePirates: Yes, --root is what I meant to write.
<srhb>
KingOfThePirates: Mind, I'm a little worried with all the command failures you're seeing. Are you sure you have the intended partition mounted on /mnt?
Thra11 has joined #nixos
<srhb>
KingOfThePirates: Oh, the # bits are your root shell. Okay. Looks good.
ajgrf has joined #nixos
<magnetophon>
I just did an upgrade to the latest unstable, and now I can't login anymore. Any ideas?
<ajgrf>
I'm running nix on a Debian installation, and everything seems to work except GUI applications. They don't create a window anywhere, nor do they crash. Does anyone know how I can fix or troubleshoot this?
<srhb>
ajgrf: That sounds weird. Can you launch gui applications from the debian package system from the same terminal?
<symphorien>
magnetophon: is your password refused or do you login and there are logged out immediately ?
Thra11 has quit [Ping timeout: 246 seconds]
<magnetophon>
symphorien: no errors about the password. not sure if I'm loged in temporarily or not
<magnetophon>
symphorien:
<magnetophon>
oops
<magnetophon>
symphorien: I also tried on tty1: I get a blank screen for a bit, then back to the login screen
swayf_ has quit [Remote host closed the connection]
<symphorien>
ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 04b4582 Matthieu Coudron: pulp: init at 1.6.0...
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNSc4
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 1716bf7 Frederik Rietdijk: Merge pull request #34382 from teto/pulp...
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 5 new commits to master: https://git.io/vNScw
<NixOS_GitHub>
nixpkgs/master 61043ad Tim Steinbach: linux: Add 4.15
<NixOS_GitHub>
nixpkgs/master da26e92 Tim Steinbach: linux-copperhead: 4.14.15.a -> 4.15.a
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 0e85207 Tim Steinbach: minikube: 0.24.1 -> 0.25.0
<magnetophon>
symphorien: hmmm, I *did* remove some shell stuff in my config. that's probably it. thanks! I'll try that.
<symphorien>
(what happened to me once on another distro was that zsh migrated from /usr/bin to /bin during an update and thus my shell as declared in /etc/password became invalid)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vNSci
<NixOS_GitHub>
nixpkgs/release-17.09 6959269 Tim Steinbach: linux-copperhead: 4.14.15.a -> 4.15.a...
NixOS_GitHub has left #nixos [#nixos]
ssmike has joined #nixos
Itkovian has quit [Ping timeout: 268 seconds]
<srhb>
ajgrf: The puzzling bit is the lack of errors. I can't think of any good way of debugging short of strace'ing a simple gui application.
<srhb>
Though honestly without a crash something more subtle is probably going on.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vNSc5
<NixOS_GitHub>
nixpkgs/release-17.09 975a180 Tim Steinbach: kotlin: 1.2.20 -> 1.2.21...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vNScA
<NixOS_GitHub>
nixpkgs/master 9b7c237 Tim Steinbach: Fix kernelPackages for 4.15
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vNScp
<NixOS_GitHub>
nixpkgs/release-17.09 b98f6ad Tim Steinbach: Fix kernelPackages for 4.15...
NixOS_GitHub has left #nixos [#nixos]
swayf has quit [Ping timeout: 265 seconds]
<symphorien>
magnetophon: worst case, reboot and select the previous config in grub
<KingOfThePirates>
alright i'll try to redo my nix
<magnetophon>
symphorien: that's where I am now
* magnetophon
<3 NixOS
<srhb>
KingOfThePirates: I think you've done nothing wrong. You just need to install the tools for root as well, or refer to their full path directly
Thra11 has joined #nixos
<ajgrf>
srhb: hmm, seems it's more of a performance issue. Anki just opened a window successfully, after typing it into a terminal like 5 minutes ago
magnetophon has quit [Read error: Connection reset by peer]
jb55 has joined #nixos
magnetophon has joined #nixos
<magnetophon>
symphorien: yup, that was it. thank you very much!
toraritte has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 264 seconds]
<srhb>
ajgrf: ... fishy.
<symphorien>
:)
<KingOfThePirates>
i need to get some graham crakers and vanilla frosting before moving forward with this nix on root profile setup
ivanivan has quit [Quit: WeeChat 1.9.1]
<srhb>
KingOfThePirates: Again, you don't strictly need it.
srdqty1 has quit [Quit: WeeChat 1.9.1]
<sphalerite>
ajgrf: might be opengl issues, that's probably the biggest outstanding issue with running nixpkgs stuff on non-nixos distros
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<ajgrf>
sphalerite: is there a fix or workaround?
<ajgrf>
sphalerite: i'm not sure if anki uses opengl, but i think i ran into that trying to get alacritty to run
__Sander__ has quit [Quit: Konversation terminated!]
hellrazor has quit [Ping timeout: 260 seconds]
throwboy has joined #nixos
hellrazor has joined #nixos
simendsjo has joined #nixos
magnetophon has quit [Remote host closed the connection]
<ajgrf>
srhb, sphalerite, coconnor: thanks for your help! I found some issues on the nixpkgs bug tracker now that might answer my other questions
orivej has quit [Ping timeout: 240 seconds]
rardiol1 has quit [Remote host closed the connection]
<throwboy>
I recently installed NixOS for the first time and the login Terminal seems to be broken for me. I can neither use the arrow keys nor the backspace key, "clear" does not work and vim complains about unknown terminals. Is anyone else experiencing this issue and knows how to fix it?
<throwboy>
@sphalerite I have also only seen it reported in that reddit post
magnetophon has joined #nixos
<KingOfThePirates>
nixos-install and nixos-generate-config
<srhb>
I don't see any obvious changes that would affect that though...
<tilpner>
throwboy - That issue has been fixed recently
<tilpner>
throwboy - You should try updating your channel and rebuilding
<lejonet>
srhb: The only thing I've got left to fix before I'd deem my ceph stuff ready for PR is the whole link instanced service to template, and I can't find anything that will work for that, got any ideas?
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb>
lejonet: Not immediately, but I can have a look tomorrow or the day after. :)
<lejonet>
srhb: sounds good
oida has quit [Quit: WeeChat 1.6]
<sphalerite>
srhb: maybe dtz 's ncurses commits
<throwboy>
@tilpner ok, thanks. I thought the installer would automatically fetch the latest version so I did not upgrade
<srhb>
sphalerite: Ah, yes.
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<sphalerite>
I don't understand them though
leat has joined #nixos
<srhb>
lejonet: I don't think the lack of linking is particularly dealbreaking though (since we have better mechanisms for this anyway) :)
<srhb>
Unless ceph barfs on it.
<srhb>
(I don't think it cares)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda opened pull request #34392: pythonPackages.discordpy: Mark as broken (master...discordpy-broken) https://git.io/vNSRD
NixOS_GitHub has left #nixos [#nixos]
<lejonet>
srhb: it honestly doesn't care, and atm I'm thinking about just creating a new full service for each instead of trying to symlink to the template
<srhb>
lejonet: Indeed, that would be fine. If not, you might want to look at the serial-getty services
<lejonet>
Its mainly just a way for having the same service, instanced to many, so that if you change it, all get the change, but that isn't a problem with nix/nixos
<srhb>
Yeah, exactly.
<lejonet>
srhb: I've tried finding where the instanced parts get assigned, but haven't been able to find that for serial-getty
<lejonet>
Because ofc the cleanest way to solve it would be by doing it the way its intended, but I don't really see a problem with just creating one full service for each instance instead
<srhb>
Nor do I
<srhb>
It's somewhat more idiomatic for in NixOS even.
<lejonet>
Could even keep the whole instanced template and name em "ceph-<daemon>@<id>" to be able to keep the services "untouched" as much as possible
<srhb>
(cf. network-addresses-interfacename.service and company)
<srhb>
I don't think that's a good idea
leat has quit [Ping timeout: 248 seconds]
<srhb>
Either we use @ with templates or not at all
<lejonet>
Me neither, just saying its a possibility :P
<lejonet>
(aka the lazy route :P )
<srhb>
:P
magnetophon has quit [Remote host closed the connection]
mizu_no_oto has joined #nixos
Arcaelyx has joined #nixos
magnetophon has joined #nixos
orivej has joined #nixos
<lejonet>
Just added a (cfg.<daemon>.enable -> cfg.<daemon>.extraConfig != {}) to the optionalAttrs merging, but it would seem like I actually want && there (What I want the optionalAttrs to do is that if the daemon is enabled AND there is something in the extraConfig set, to create that section in the config)
<lejonet>
Because the false -> true = true just bit me :P
Thra11 has quit [Ping timeout: 256 seconds]
<srhb>
Why do you care about extraConfig if !enable ?
Thra11 has joined #nixos
<lejonet>
I'm optionally merging attrsets, and just merging basing it on if enable or not creates empty sections
<srhb>
You seem to be saying you want exactly enable -> extraConfig != {} (or null or whatever)
<srhb>
Such that if it's enabled, it's an error if extraConfig is empty
<srhb>
iff enabled, rather.
<lejonet>
No, extraConfig is optional
<srhb>
Oh
<lejonet>
(hence the extra in the name :P )
<srhb>
Then I don't understand what that assertion(?) is good for at all. :-P
suvash_away has joined #nixos
<lejonet>
No assertion, just an optionalAttrs merging
<srhb>
So optionalAttrs enable cfg.extraConfig?
<srhb>
Sorry if I'm being dense, not sure exactly what the issue is.
<lejonet>
optionalAttrs cfg.<daemon>.enable { "<daemon>" = cfg.<daemon>.extraConfig; } is what I had before, and that created empty sections
<lejonet>
so I tried (kindof knowing it probably would do undesired behaviour but fun to learn) (cfg.<daemon>.enable -> cfg.<daemon>.extraConfig != {}) to see what it would do and lo and behold, as I thought, it created empty sections for daemons NOT enabled :P
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<lejonet>
and && instead of -> did exactly what I thought too, and gives me the desired behaviour :D
ssmike has quit [Remote host closed the connection]
<throwboy>
sorry for bothering you people again, but I am now on NixOS 17.09.2875.c2b668ee726 (same as https://github.com/NixOS/nixpkgs/issues/34364) and still experiencing the problem
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner>
throwboy - How did you get to c2b668ee726?
<tilpner>
(nixos-rebuild switch and then rebooted?)
<therp>
let a = 5; foo = { a = 4 }; in (with foo; is-there-any-way-to-access-the-original-a-here?)
<throwboy>
"nixos-rebuild switch --upgrade" and subsequent reboot
<tilpner>
throwboy - foo.a
<infinisil>
therp: nope
<throwboy>
?
<tilpner>
Oh
<therp>
infinisil: thanks. I considered super.
<tilpner>
therp - That should have worked :/
<tilpner>
Sorry, weechat tab-completed the wrong person... twice
<therp>
no worries :) got it
<infinisil>
lejonet: You should probably factor out those service definitions
<tilpner>
throwboy - That should have worked. If you haven't invested much time into that installation, consider just reinstalling from the newer ISO
<sphalerite>
reinstall fixing a nixos problem? I doubt it somewhat…
<tilpner>
throwboy - I'm sure it's possible to fix this on your installed system, but the newer ISO doesn't have this problem anymore, and that might be a lot less frustrating
<throwboy>
tilpner: would trying out the unstable branch be a good idea?
<lejonet>
infinisil: yeah, I was thinking of putting them in a var or so, and then just do some type of variable interpolation into them to get the right ID at the right places
<lejonet>
infinisil: or is there a niftier way of DRYing em? :)
<therp>
(that leads to an infinite recursion)
<tilpner>
throwboy - You can try, sure. But I don't expect it to help, if upgrading didn't help before
glenn_ has quit [Remote host closed the connection]
<KingOfThePirates>
i'm thinking of wiping ubuntu and just starting over. but you mentioned even going on root isn't necessarily needed. is there a simple way to set up the config file and install nixos on another partition?
<tilpner>
KingOfThePirates - Check your PMs :)
<KingOfThePirates>
are all of those messages for me specifically?
<infinisil>
lejonet: a function would work well: `let mkSevice = name: attrs: mkIf cfg.${name}.enable (recursiveUpdate { description = "Ceph ${name} daemon"; ... } attrs) in ...`
<KingOfThePirates>
i noticed it was talking about configs but i wasn't sure if it was my issue
<tilpner>
KingOfThePirates - I only sent you one, two hours ago
<throwboy>
tilpner: ok, but I do have one (possibly stupid) question: isn't the whole idea of NixOS that "switching" essentially reinstalls the whole system? Or did I misunderstand something?
<KingOfThePirates>
oh wow there's pm's in this app
<infinisil>
lejonet: then you can use `"ceph-mon@" = mkService "mon" { <service stuff specific to mon> }`
glenn_ has joined #nixos
<KingOfThePirates>
i'm wanting another os to boot from, and i want nixs
<KingOfThePirates>
nixos
<KingOfThePirates>
boot to* specifically
ThatDocsLady has quit [Ping timeout: 252 seconds]
<tilpner>
throwboy - Yes, you're completely right. Reinstalling should never be needed, and it isn't here either
<throwboy>
tilpner: but?
<infinisil>
KingOfThePirates: do you have a question?
<coconnor>
throwboy: excluding any bugs in the activation scripts, yes it's equivalent
<tilpner>
throwboy - But reinstalling from a newer ISO might be quicker in fixing your issue than us finding the mistake you probably made
tmaekawa has joined #nixos
<throwboy>
tilpner: ok, so Im going to first try out unstable and if that doesn't help I'll reinstall
<throwboy>
tilpner: thanks
Moredread has quit [Quit: WeeChat 1.6]
<lejonet>
infinisil: that would most likely work awesomely, then I'll just need 2 functions (or just more arguments to the function) once and then I can create all the services I want easily :P
<infinisil>
lejonet: yeah, let me know if you need help with that
<lejonet>
infinisil: reason I need 2 functions is that one of the daemons template is slightly different than the others
glenn_ has quit [Ping timeout: 240 seconds]
<lejonet>
infinisil: will do, hopefully I've learned enough so far to be able to do it on my own :D
tmaekawa has quit [Client Quit]
arjen-jonathan has joined #nixos
<tilpner>
sphalerite - A reinstall from a different ISO can help if the issue is outdated channels :)
glenn_ has joined #nixos
<infinisil>
lejonet: i included the attrs argument so it should be possible to override service specific stuff, but of course you're free to use any number of functions :)
<sphalerite>
tilpner: but they did nixos-rebuild switch --upgrade which updates the channels
<lejonet>
infinisil: yeah, I'll most likely have atleast 3 arguments, to be able to use 1 function, daemon type, daemon id and an attrset that will be merged with serviceConfig attrset
endformationage has quit [Read error: Connection reset by peer]
shabius has quit [Quit: Leaving]
endformationage has joined #nixos
ssmike has joined #nixos
<infinisil>
lejonet: if you're gonna open a PR to add the finished module to nixpkgs, I'd be happy to get pinged :)
glenn_ has quit [Ping timeout: 252 seconds]
<lejonet>
infinisil: Will add that to my TODO :) I'll certainly ping both you and srhb when I'm done finshing up and all
Moredread has joined #nixos
taktoa has quit [Remote host closed the connection]
<lejonet>
This is going to be one hell of a rebase :P
shabius has joined #nixos
<infinisil>
lejonet: you could just `git reset master && git commit`
<infinisil>
i think
<lejonet>
infinisil: worth a try
<lejonet>
my git knowledge is so rusty its laughable :(
<tilpner>
sphalerite - And I agree, that should have fixed it. I don't know why it didn't, but I'm confident a reinstall will fix it :/
<tilpner>
sphalerite - Do you have an idea why it didn't help?
<infinisil>
lejonet: with git reset master you're basically telling git to pretend you're on master now, without changing any files back, then you can add all your changes and commit new, essentially abandoning all those other commits, and committing all changes anew
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vNSgO
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master f833dd7 Franz Pletz: imagemagick: fetch sources from github...
<NixOS_GitHub>
nixpkgs/master f2dc478 Franz Pletz: upower: 0.99.4 -> 0.99.7
<hyper_ch>
hmmm, my voip server is being attacked by Avast
<lejonet>
infinisil: I'm guessing that can even be done within the branch, so I keep the branch name, which makes it a lot easier to create the PR
<infinisil>
indeed, a branch is just a reference to a commit
<throwboy>
tilpner: so I just switched to the unstable channel, upgraded and now it works
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vNSg1
<NixOS_GitHub>
nixpkgs/release-17.09 c45b399 Franz Pletz: imagemagick: fetch sources from github...
<tilpner>
Good!
<dmj`>
what derivation is dot under in nixpkgs
<dmj`>
graphviz
<infinisil>
Just created a simple printf equivalent in nix: `printf "Hi %s, your number is %d" "Paul" 10` -> "Hi Paul, your number is 10"
shabius has quit [Quit: Leaving]
<infinisil>
Note that it takes as many arguments as the format string tells it to!
<tilpner>
We downloaded the most recent ISO together, and tested if we could reproduce the problem
<tilpner>
We couldn't, and that's why the issue is closed
<tilpner>
That is not the same as updating the stable channel, even though we both just assumed that
glenn_ has joined #nixos
johbo has joined #nixos
<throwboy>
tilpner: Oh, I think I get it now, assumed he also just upgraded with "nixos-rebuild", even though I don't get why the ISO would be different from the stable (with the same version number)
<srhb>
freeman42x: The error is about the haskell package OpenGL which doesn't exist in that version in nixpkgs at all.
<srhb>
freeman42x: How'd you end up with a 2.9.x constraint?
<srhb>
Ah, I see, that's what the drawingcombinators package requires.
<srhb>
freeman42x: You'll have to either see if it survives a jailbreak of OpenGL or package OpenGL in a compatible version, essentially.
<freeman42x>
srhb: doesn't this mean that graphics-drawingcombinators nix package is broken and should have OpenGL added as dependency to it?
shabius has joined #nixos
ryanartecona has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb>
freeman42x: It is broken *and* it already has OpenGL as a dependency. The problem is that OpenGL in the nix packageset is of the wrong version.
<winem_>
what do you think if I tell you that I got a default.nix with more than 40k lines for a XML/RADIUS API? aren't that way too many depencies?
<winem_>
2500 packages... that are all nix packages, right?
<simpson>
winem_: That's entire-wheel-of-cheese territory. I'm not even mad.
<winem_>
yeah, exactly the stuff I want to fiddle around with at this time of the day..
hask_bee_3 has joined #nixos
<simpson>
But yeah, somebody put too many things into one module, I think.
<winem_>
does this line in a shell.nix file tell nix that all available packages are a dependency? "with (import <nixpkgs> { system = builtins.currentSystem;});"
<srhb>
winem_: Not necessarily, it just opens the scope of nixpkgs.
<hask_bee_3>
Does NixOS eliminate the need for Docker? Why would someone want to use Docker on NixOS? It seems me to me NixOS gives you all the benefits already.
<srhb>
hask_bee_3: That's sort of a matter of taste. I much prefer NixOS modules to arbitrary docker containers in most cases.
digitalmentat has joined #nixos
<simpson>
hask_bee_3: "Docker" as in "Dockerfile-style containers", sure, Nix works well with that. But any of the other parts of Docker, no, it's never fun. Personally I've been doing k8s.
<srhb>
winem_: For instance, this expression will merely build the hello pacage: with (import <nixpkgs> {}); hello
<winem_>
so, is it the let os = builtins.currentSystem; that loads all the deps?
<digitalmentat>
I'm setting `-smp 2` for qemu options on some of my nixos tests, which is nice because it makes them *significantly* faster; but I'm noticing other tests are blocked during the Stage 1 boot
coot has quit [Quit: coot]
<digitalmentat>
I don't know much about QEMU but would anyone know why increasing smp from 1 to 2 would do that?
ssmike has joined #nixos
<srhb>
winem_: No, that's just a string, eg. x86_64-linux
<winem_>
hmm... but why does stack think that all available packages are a dependency of that application? I'm confused
<freeman42x>
srhb: I can't even find `graphics-drawingcombinators` in nixpkgs repository, how does that even work?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Moredread opened pull request #34396: btrbk: install to bin (master...fix/btrbk) https://git.io/vNS6o
NixOS_GitHub has left #nixos [#nixos]
<winem_>
stack.yaml itself has packages: - '.' and extra-deps: [hxt-relaxng-9.1.5.5]
<srhb>
freeman42x: The haskell package set is not by default searched if you're using nix-env -qaP. Try -A nixpkgs.haskellPackages
ma27 has joined #nixos
<srhb>
winem_: Sorry, I don't know how stack works. :/
<winem_>
srhb: anything else you would check?
<srhb>
winem_: Uh, cacert looks weird
<freeman42x>
srhb: I searched in the repository not with the command, I just want to see how the nix expression looks
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<winem_>
yep, stumbled about that, too. but I guess the dev just copy pasted the shell.nix file and removed the path
<srhb>
winem_: But doesn't that just make / (everything) a buildInput?
<winem_>
ah, you mean this could cause the "include everything"?
<winem_>
but well, now, as you say it it makes sense
<freeman42x>
srhb: cheers
<digitalmentat>
domenkozar, would you know why setting `-smp 2` (i.e. greater than the default of 1) causees other nixos tests to block during Stage 1 boot?
<srhb>
winem_: Honestly that doesn't make sense to me :-P
<hask_bee_3>
srhb is a NixOS module sort of like a Docker container?
Myrl-saki has quit [Ping timeout: 240 seconds]
<srhb>
hask_bee_3: Not really. But it's a much nicer interface to designing an extensible OS, services and all.
<winem_>
srhb: I don't know what to believe anymore. I really like the mindset behind nix / nixos and am so happy to use it ( from a devops perspective ) but it's pure madness if your team just starts using it and you don't really have a clue how to build the packages
<srhb>
Feel free to add <opinionated></opinionated> around that :-P
<srhb>
winem_: I believe that. I haven't experienced it though, this looks particularly confusing :P
<winem_>
srhb: removed the cacert line but the result is the same
Guest73602 has quit [Ping timeout: 246 seconds]
<srhb>
winem_: How are you building it?
<digitalmentat>
hask_bee_3, a nixos module is more akin to a programming language source module
<winem_>
oh, do you want to? I mean, feel free to visit me and figure the stuff out when I go to an arch enemy concert
seccus has joined #nixos
<winem_>
until now we did it with stack but I try it with nix-build now
<digitalmentat>
except nixos modules (I believe) form a monoid
<freeman42x>
`jailbreak of OpenGL or package OpenGL in a compatible version, essentially` where could I find how to achieve that? :) nix noob here
<srhb>
winem_: Not really, and I'd prefer the Arch Enemy concert anyway ;-)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vNSib
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 393e39e Franz Pletz: Revert "microcodeIntel: 20171117 -> 20170108"...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/release-17.09 2591890 Franz Pletz: Revert "microcodeIntel: 20171117 -> 20170108"...
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vNSPe
NixOS_GitHub has left #nixos [#nixos]
ma27 has joined #nixos
obadz has quit [Ping timeout: 240 seconds]
<srhb>
freeman42x: You can try to use cabal2nix cabal://OpenGL-2.9.x where x is whatever 2.9-version you want to grab. That will give you an expression for OpenGL that you can try to use with drawingcombinators. Note that this is a bit of a rabbit hole. You'd afterwards need to create an expression for drawingcombinators that uses that OpenGL (and I'm afraid I don't have time to guide you right now. :/)
<sphalerite>
winem_: I'll visit and figure it all out if you pay me enough ;)
<winem_>
sphalerite: ah, no no, it's fine. I'll do it by myself, thanks so much ;)
coot has joined #nixos
a6a3uh has joined #nixos
rogue_koder has joined #nixos
obadz has joined #nixos
simendsjo has joined #nixos
Ivanych has joined #nixos
ssmike has quit [Remote host closed the connection]
<hask_bee_3>
simpson i thought k8s (kubernetes) requires containers, such as docker
<hask_bee_3>
so it can deploy the container to the various machines
<simpson>
hask_bee_3: nixpkgs has dockerTools, which can build those containers using Nix expressions.
<NixOS_GitHub>
[nixpkgs] joncojonathan closed pull request #34358: keepass: Change from mono40 to mono50 (master...keepass-mono50) https://git.io/vNDD2
NixOS_GitHub has left #nixos [#nixos]
ma27 has quit [Quit: WeeChat 2.0]
rauno has joined #nixos
<freeman42x>
I have this in config.nix `OpenGL-2_9_2_0 = doJailbreak (self.callPackage /home/neo/Forks/OpenGL {});` when I build it it can't finx doJailbreak. I can't find any information/example on this
<dhess>
clever: got any hints for how to debug an "empty job" issue on a Hydra? I've resolved my particular issue this time, but just for future reference.
knupfer has joined #nixos
<clever>
dhess: load the release.nix in nix-repl and see what it returns
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/staging 15c471e Vladimír Čunát: docbook-xsl: apply Debian/Fedora patch to fix issues...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vNSH7
GiGa|Laptop has joined #nixos
MichaelRaskin has joined #nixos
<dhess>
clever: ok, that is ultimately what I did
a6a3uh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] giorgiga opened pull request #1825: Fix macOS installation when umask disallow public read (solves #1582) (master...master) https://git.io/vNSQ6
NixOS_GitHub has left #nixos [#nixos]
civodul has joined #nixos
<dhess>
clever: it sucks that Hydra doesn't tell you *which* job is empty, though :(
obadz- has joined #nixos
obadz has quit [Ping timeout: 256 seconds]
obadz- is now known as obadz
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vNS74
<NixOS_GitHub>
nixpkgs/master 1066663 Robert Helgesson: perlPackages: bump some package versions...
NixOS_GitHub has left #nixos [#nixos]
zarel has joined #nixos
jb55 has joined #nixos
Itkovian has quit [Read error: Connection reset by peer]
<NixOS_GitHub>
[nixpkgs] joncojonathan opened pull request #34398: keepass: change from mono40 to mono54 (master...keepass_mono54) https://git.io/vNSde
NixOS_GitHub has left #nixos [#nixos]
srdqty1 has quit [Client Quit]
Itkovian has joined #nixos
viric has quit [Quit: canvi]
catch22 has joined #nixos
magnetop` is now known as magnetophon
ma27 has quit [Ping timeout: 256 seconds]
ma27 has joined #nixos
coot has joined #nixos
ryanartecona has joined #nixos
alexteves has joined #nixos
pkill9 has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
magnetop` has joined #nixos
Neo-- has quit [Ping timeout: 256 seconds]
magnetop` is now known as magnetophon`
magnetophon has quit [Ping timeout: 248 seconds]
magnetophon` is now known as magnetophon
knupfer1 has joined #nixos
sigmundv_ has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
<GiGa|Laptop>
In un-NixOS related news, I just had to fix a typewriter. I've not had to do that in years.
<hodapp>
an all-mechanical one?
<GiGa|Laptop>
yep
<lejonet>
Cool
<GiGa|Laptop>
My 6 year old daughter saw one at a stately home over the weekend and liked typing on one. We've borrowed one from my wife's friend but the ribbon was misfed.
<GiGa|Laptop>
That and the typewriter can take a 3 colour ribbon but only has black in it. The keys were missing as it wasn't set right. Nor was the paperstop.
viric has joined #nixos
<viric>
hello
<viric>
Anyone using inadyn?
<viric>
calling inadyn it tells me about no write access to (null
<viric>
)
<viric>
looks like not working at all
<GiGa|Laptop>
Sorry viric, it's not somethig I use.
<viric>
it doesn't even reach reading the config file (stracing it)
jb55 has quit [Ping timeout: 246 seconds]
<simpson>
I have a package which wants to write to a curious location during build, and it's causing the build to fail: IOError: [Errno 13] Permission denied: '/tmp/nix-build-typhon-vm.drv-0/typhon/rpython/rlib/rvmprof/src/shared/libbacktrace/config.h'
<simpson>
I can see the code that's asking for this write, and I can hack around it, but is there a way to tell Nix that it's okay instead?
knupfer has quit [Ping timeout: 256 seconds]
<GiGa|Laptop>
simpson: I'm no expert but would patching the code to use a writable path be the solution?
<simpson>
GiGa|Laptop: No, the solution would involve altering the package to not have this desire.
<gchristensen>
simpson: are you using a custom unpacker?
Rusty1_ has joined #nixos
<simpson>
gchristensen: No, I'm using fetchzip. This is PyPy; PyPy 5.8 and newer try to write some build configuration headers if profiling is enabled.
<gchristensen>
I'm not sure why it can't write there
<MichaelRaskin>
Because it unpacks soiurce with permissions =r
<simpson>
Hm. Maybe there's a bug elsewhere. I can't inspect the build tree because Nix reaps it.
<coconnor>
aye
<MichaelRaskin>
chmod u+w will help
<coconnor>
or copying a directory retaining permissions
<MichaelRaskin>
-K will tell Nix not to reap the source
<simpson>
Ah, so should that be postUnpack?
randomstrangerb has quit [Ping timeout: 252 seconds]
<MichaelRaskin>
Also you could ls -la, chmod and ls -la the directory in question in postUnpack
<MichaelRaskin>
Should help, and if it doesn't, the log will contain the output of ls
<shlevy>
(or, if not open source, add it to our internal nixpkgs overlay)
<garbas>
shlevy: i envy you that you can set this requirement :)
<garbas>
shlevy: what i get usually is half written requirements.txt :)
viric has quit [Ping timeout: 252 seconds]
<shlevy>
:D
<shlevy>
My job is to make it easy for devs to do dependency management
<shlevy>
Not to do dependency management for them ;)
<GiGa|Laptop>
Am I correct in thinking that if LibreOffice spell check isn't working, it's because I need to install hunspell?
<adelbertc>
oh hello shlevy
<adelbertc>
is there a way to tell nix daemons to reload the `/etc/nix/nix.conf` file?
hiratara has quit [Ping timeout: 252 seconds]
<LnL>
I think that happens automatically
<adelbertc>
what if im on darwin
<adelbertc>
it seems to not.. but maybe something else is going on
<clever>
manualy restart it with launchctl
<LnL>
but pkill -HUP nix-daemon works
<adelbertc>
LnL: that appears to have killed the nix daemons
<GiGa|Laptop>
Hmm, I must have mistyped my root password on a fresh system. Normally I'd just go to /etc/shadow and remove the hash to get a blank password
hiratara has joined #nixos
<adelbertc>
oh maybe cuz my config file is borked
<adelbertc>
thats why it wasnt reloading
<GiGa|Laptop>
Apparently I can't do that on NixOS?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ma271 has joined #nixos
<adelbertc>
how does one bring back the nix daemons
<adelbertc>
if theyre dead
<adelbertc>
on darwin
ma27 has quit [Ping timeout: 240 seconds]
azertyieio has quit [Quit: Leaving]
<pkill9>
sacrifice a goat to them
viric has joined #nixos
viric has quit [Client Quit]
viric has joined #nixos
hamishmack has quit [Quit: hamishmack]
<hodapp>
leave my goat alone plz
<Ralith>
it is considered good form to get your own goat
catch22 has quit [Remote host closed the connection]
dbe_ has joined #nixos
<adelbertc>
launchctl nix-daemon doesn't seem to work
<clever>
adelbertc: i think its launchctl start something.something.something
<adelbertc>
Er yeah I did start nix-daemon
<Rusty1_>
:q
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #34396: btrbk: install to bin (master...fix/btrbk) https://git.io/vNS6o
NixOS_GitHub has left #nixos [#nixos]
simukis has quit [Read error: Connection reset by peer]
KingOfThePirates has quit [Ping timeout: 260 seconds]
randomstrangerb has quit [Ping timeout: 256 seconds]
swayf has quit [Remote host closed the connection]
randomstrangerb has joined #nixos
swayf has joined #nixos
hakujin has joined #nixos
<lejonet>
infinisil, srhb: Wrote a function to generate the service definitions instead, if you can/want to, please check my latest commit in the ceph branch and give comments :)
<hakujin>
if I want to make a binary cache for macos packages do I need a hydra instance running on a mac?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Isorkin has joined #nixos
hamishmack has joined #nixos
x1n4u has quit [Ping timeout: 264 seconds]
swayf has quit [Ping timeout: 265 seconds]
xcmw has joined #nixos
x1n4u has joined #nixos
<adelbertc>
hakujin: yep
zarel has quit [Quit: Leaving]
glenn_ has quit [Ping timeout: 246 seconds]
coot has quit [Ping timeout: 260 seconds]
martinklepsch has quit [Ping timeout: 246 seconds]
martinklepsch has joined #nixos
kakuzade has joined #nixos
Myrl-saki has joined #nixos
ma271 has quit [Ping timeout: 240 seconds]
martinklepsch has quit [Ping timeout: 240 seconds]
<johnw>
hakujin: you can also just copy your own store's objects into the cache
<kakuzade>
Hi. I have a trouble with my firefox-bin. There is no audio. A message of firefox tell me that I need to install pullseaudio... In addition, there is no sound applet in mi kde panel... How I can fix it?
<johnw>
you don't need a hydra to populate it
glenn_ has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #34400: lib: Better use the module type system in platform parsing (master...meta-check) https://git.io/vN9Td
NixOS_GitHub has left #nixos [#nixos]
hakujin has joined #nixos
ma27 has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 260 seconds]
lexwhatever has quit [Ping timeout: 260 seconds]
kakuzade has joined #nixos
xcmw has joined #nixos
<kakuzade>
Pulseaudio is Working now. Thanks!
FareTower has quit [Ping timeout: 240 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
jb55 has quit [Ping timeout: 260 seconds]
pkill9 has quit [Ping timeout: 248 seconds]
<kakuzade>
Did kde not show a progress bar (in the notifications area) when copying many large files? Is it disabled?