<pie_>
aaand now the postgres part is complaining about not being able to connect
shibboleth has quit [Quit: shibboleth]
<pie_>
even though it should be...
o1lo01ol1o has joined #nixos
semilattice has joined #nixos
<pie_>
,locate netstat
<{^_^}>
Found in packages: cheat, munin, toybox, busybox, dd-agent, nettools, unixtools.netstat, unixtools.nettools
<mog>
is anybody using nix-serve? i built a package on my local machine and then nix copy --all to my cache server. uninstalled it locally, nix-collect-garbage and installed again. i expected it to use cache and install fast, instead it built locally again. is there a step im missing
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<pie_>
so netstat says: tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
<semilattice>
Anyone know how to fix the issue with a lock around the system blocking nixos-rebuild?
<jonoabroad>
Hello, what is the best way to manage existing packages that may not be updated a frequently as I need via nixpkgs? I was thinking of making a local copy of just the packages I need, rather than say keeping a fork of nixpkgs.
<simpson>
jonoabroad: You could use an overlay. Which packages, in particular?
Supersonic has quit [Ping timeout: 252 seconds]
<duoi>
nixos just made it to a high comment on a popular thread on the frontpage of HN
<duoi>
brace yourself for all the noobz ;-)
<duoi>
they're not old skool like us cool catz ;-)
<duoi>
+1 if u were a NixOS user b4 it was KEWL :-)
<samueldr>
impossible, it always was and is cool?
<pie_>
"kids these days! i was around before mkDerivation even existed!"
<jonoabroad>
@simpson - my thoughts about only looking after what I need was trying to have small subset of things I need to look after. I have a local copy of nixpkgs, but that is for searching for things that aren't free.
<jonoabroad>
I thought about contributing to keeping things up to date, but wanted to get things working for me first before spamming the main repository.
<simpson>
jonoabroad: But, just as those proprietary packages build upon a FLOSS foundation, their Nix expressions do not exist in a vacuum but rely upon various utilities and packages in nixpkgs.
<pie_>
is there a way to get an interactive shell in the sandbox?
<pie_>
i need to debug some localhost network problems...
rauno has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #57337 → nixos: better support for logitech devices and update relevant packages → https://git.io/fhjTu
<pie_>
so, i made a new container with nixos-container but it doesnt seem to have a /etc/nixos yet? at least not in /nix/var/nix/profiles/per-container/thecontainer/system-1-link/etc/nixos
<pie_>
but if i use root-login it does have one??
Glider_IRC_ has joined #nixos
<pie_>
ok i dont know how that works but i found tha tthe correct location is in /var/lib/containers
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #57338 → lightdm: disable writing dmrc files to home → https://git.io/fhjTg
jasongrossman has quit [Ping timeout: 246 seconds]
slack1256 has quit [Remote host closed the connection]
gerschtli has quit [Quit: WeeChat 2.2]
gerschtli has joined #nixos
slack1256 has joined #nixos
<teto>
I am tryiing to write a module that generates a readonly string option. When merging different config, nix complains about it being set several times. How can I work around that ?
<teto>
I am trying to get nixpkgs to display where conflicting definitions come from yet I see "The unique option `python3Env' is defined multiple times, in `<unknown-file>' and `<unknown-file>' " . Why the "<Unknown-file>" ?
<avn>
laas: Also curious. Was postpone 4.19 -> 5.x on my weekend upgrade
<_linarcx>
Friends. i want to create a bash script. in shebang part, what should i write? `#!/bin/bash`?
<symphorien>
/usr/bin/env bash
domogled has joined #nixos
<_linarcx>
symphorien: Thank you.
<_linarcx>
Another question. in arch linux when i want to use i3blocks it's ok. it's automatically knows blocks. but in nixos according to different file paths in / directory it cannot detect i3blocks. what should i do?
<dminuoso>
I have a project that uses cabal v2-*, now in my nix file I specified `zlib` in buildInput - however cabal new-build can't find the zlib.so because the lib/ directory in the store is not in any LD_* path.
<dminuoso>
I'd prefer not to build my projects with nix directly for now. Is there a canonical way of letting cabal v2-* know about the nix environment so it can find libraries?
cfricke has joined #nixos
vmandela has joined #nixos
<laas>
dminuoso: I am pretty sure that it should be in LD_LIBRARY_PATH or something if you nix-shell the derivation
reinhardt has quit [Ping timeout: 240 seconds]
<_linarcx>
Guys, system clipboard not working in neovim. why?
lord| has quit [Read error: Connection reset by peer]
fendor has joined #nixos
<sakalli>
hi *. nixn00b here. how do i make this R configuration into part of my configuration.nix? i now run it through default.nix and nix-shell. https://pastebin.com/34GRNx0D
<seqizz>
Hi, does anyone know a sane way to set up python development environment on nixos? pypi2nix is failing for .whl files and I am not sure how deep should I create overrides for packages which is not in nixpkgs.. Virtualenv was also failing for some packages.
<hodapp>
seqizz: what are you trying to install?
<seqizz>
Also I am not sure how people will react if I suddenly send PRs for 10 pypi packages to the nixpkgs repo :|
<seqizz>
hodapp: I wanted to test panwid from pypi for example
Fare has joined #nixos
<hodapp>
if the PR explains in short why they're needed (mostly just why existing packages don't cut it), probably not an issue
<hodapp>
and what's keeping panwid from working?
<hodapp>
just recursive whack-a-mole with versions with pinned dependencies?
<__monty__>
Hmm, I've heard you should use .extend rather than .override for haskell but can't find anything about it in the nixpkgs manual. Is there a wiki page or something?
<{^_^}>
[nixpkgs] @elohmeier opened pull request #57377 → pythonPackages.weasyprint: init at 45 → https://git.io/fhjOO
<immae>
Hello all! I’m trying to build an env in a specific place with `nix-env -p /some/path -i -A somepackage1 -A somepackage2 -f "<nixpkgs>"` but it gets deleted when I run nix-store --gc, is it normal and if so, what should I do to have him keep it like other env’s?
cfricke has quit [Quit: WeeChat 2.4]
jbgi has joined #nixos
timor has joined #nixos
aswanson has quit [Quit: WeeChat 2.2]
waleee has joined #nixos
aswanson has joined #nixos
pie__ has quit [Ping timeout: 268 seconds]
<therealwaphire[m>
Does spotify segfault for any of you guys?
<sakalli>
Mic92: belated thanks for your help, this is sooo useful <3
acarrico has quit [Ping timeout: 250 seconds]
adamt has quit [Ping timeout: 240 seconds]
pie__ has joined #nixos
pie_ has quit [Ping timeout: 255 seconds]
<seqizz>
hodapp: soory for late answer, yes it was the recursive stuff but I guess virtualenv has to be enough for now. I'll try to send some PRs in the meantime by checking what is the acceptable criteria for packaging pypi stuff. Thanks
<dminuoso>
Im reading 17.3 in the nix pills, and it seems that the word "fixed points" is used in a rather hand waving manner. In particular 17.3.1 seems to have nothing to do with fixed points..
pie_ has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
pie__ has quit [Ping timeout: 245 seconds]
<infinisil>
dminuoso: It does though, compare the newpkgs definition with the one for fix
<dminuoso>
infinisil: I guess I just don't like the way "fixed point" is used, as a handwavy term for "recursion"
<dminuoso>
infinisil: In order to talk about a fixed point, we need to start talking about denotational semantics of nix.
<buffet>
hey -- as chromium doesnt really care about `XDG_DOWNLOAD_DIR`, is there a neat way to change the download directory from home-manager, or do i have to resort to giving up my reproducability, and using the settings menu?
<dminuoso>
Say in Haskell where you define fix to compute the least defined fixed point of some function g.
ng0 has joined #nixos
acarrico has joined #nixos
<infinisil>
dminuoso: I mean, fixed points are just a special case of recursion right?
o1lo01ol1o has joined #nixos
<dminuoso>
infinisil: a "fixed point" is a point on a curve where `x = f(x)
<dminuoso>
infinisil: Do you see where I am getting at? Why the terminology is used very carelessly.
<infinisil>
dminuoso: Not really no, I don't think it's important for that section, what they use there is a fixed point as everybody knows it
erictapen has quit [Ping timeout: 268 seconds]
<dminuoso>
infinisil: and `fix` is a combinator that takes a function and finds *a* fixed point (functions can have many, possibly infinite fixed points). However, it does so in a lose notion because it only finds the "least defined fixed point". Least defined is then pinned onto semantic approximation order, where bottom _|_ for example becomes the least defined value.
<pie_>
infinisil, you hace compsci training, i only know fixpoints have anything to do with programming because i hang around people that know what fixpoints are :D
<dminuoso>
Thats how Haskell does it anyway.
erictapen has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<pie_>
(maybe i misunderstood the direction of the conversation)
<dminuoso>
infinisil: okay if you took the manual, could you underline the exact part that is "a fixed point"?
<dminuoso>
And of what function?
<infinisil>
dminuoso: I mean, that all sounds nice, but who cares about that when somebody wants to learn what fixed points are in the nix context?
<Taneb>
dminuoso: newpkgs is a fixed point, of newpkgs: pkgs (newpkgs // overrides)
<infinisil>
dminuoso: let newpkgs = pkgs (newpkgs // overrides); in newpkgs // overrides
<jasongrossman>
dminuoso: I agree with you that terminology should not mean something not quite the same as it does elsewhere. But I'm not sure exactly what the problem is. Does the function defined in 17.3 not give a fixed point of pkgs?
pie_ has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<infinisil>
Btw, we have #nix-lang for discussions around nix as a language if anybody is interested :)
<dminuoso>
Taneb: How?
* emily
wonders if people whose interest in Nix-the-language is morbid are still welcome :p
<Taneb>
dminuoso: what do you mean how
<dminuoso>
Taneb: Where did `newpkgs: pkgs (newpkgs // overrides)` come from?
<Taneb>
dminuoso: it's the function that newpkgs is a fixed point of, although I perhaps shouldn't have reused the name newpkgs
<Taneb>
dminuoso: the definition of newpkgs is equivalent to "lib.fix (p: pkgs (p // overrides))"
<Taneb>
Where lib.fix is defined as it is in Haskell
<infinisil>
Yeah seeing this too now ^
<dminuoso>
Taneb: Ah I see what you mean.
<dminuoso>
Taneb: Okay this makes more sense now.
<dminuoso>
Taneb: For a moment I though you just made up some random definition and argued "but newpkgs is a fixed point of *some* (unrelated) function"
<Taneb>
I wouldn't do that ;P
<dminuoso>
Taneb: So does nix use the word "fixed point" to mean a recursive binding?
<Taneb>
More or less
<Taneb>
I'm hardly an expert on this, I'm afraid
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen>
fixed point is a recursion cheme, yeah
<gchristensen>
fixed point is a recursion scheme, yeah
rauno has quit [Remote host closed the connection]
agander has quit [Ping timeout: 246 seconds]
<srhb>
noonien: I don't think there's anything special about using a GCE builder over any other in-the-cloud VPS builder, if you want to broaden your question.
<noonien>
yeah, i'm more interested about getting a builder running on GCE
<slabity>
I made a nixos-container with a simple config. No errors on creation, and it appears in `sudo nixos-container list`. However, when I try to root-login, I get the following:
<slabity>
Could not get path to machine: No machine 'myc' known
<slabity>
unable to get container's main PID
linarcx has joined #nixos
waleee has quit [Quit: WeeChat 2.4]
pie_ has quit [Ping timeout: 255 seconds]
reinhardt has quit [Quit: Leaving]
knupfer has joined #nixos
<slabity>
I can confirm /var/lib/containers/myc exists as well. Any ideas why it can't connect?
<reallymemorable>
I am trying to install the Haskell IDE Engine on NixOS. In order to use it with VS Code, it says that I need to include certain lines in the `.config/nixpkgs/config.nix` file. But I don't have a dir within .config called nixpkgs.
<reallymemorable>
Do I need to create this dir and file?
<reallymemorable>
Or am I looking in the wrong place?
<clever>
reallymemorable: just run any text editor on the file
<clever>
it doesnt have to exist to start editing
<reallymemorable>
ok i created the file with touch
<reallymemorable>
within the nixpkgs dir
<reallymemorable>
and used nano to enter the code
zupo has joined #nixos
<{^_^}>
[nixpkgs] @srhb opened pull request #57411 → mitmproxy: wsproto and pytest fixes → https://git.io/fhjcl
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
hlolli_ has quit [Remote host closed the connection]
<stammon>
Can someone help me to build this: https://github.com/jjk-jacky/statusnotifier? I'm not sure how to package this, it's with autotools and i lack experience with that
<dminuoso>
stammon: use autoconf
<dminuoso>
well and it seems automake too.
<dminuoso>
Or even all the autotools.
fendor has quit [Remote host closed the connection]
<Mic92>
stammon: drop your own configurePhase and add autoReconfHook to nativeBuildInputs
<infinisil>
reallymemorable: If you need any help with HIE on NixOS you can ask me, I've got it running decently well
<Mic92>
that will generate the configure script
<Taneb>
infinisil: ooh, that's something I was trying to do a while back
<Mic92>
if you need to pass custom configure flags, use the configureFlags attribute. This is a list.
<xantoz>
does nix package qt 5.12.2 yet? there was a 0day in chromium recently, and qtwebengine is affected
<Mic92>
stammon: ah, it was autoreconfHook not autoReconfHook
<Mic92>
also --prefix=$out is preferred over DESTDIR=$(out)
pie__ has joined #nixos
<JonReed>
Is there a version of `builtins.unsafeGetAttrPos` which works for lists? I.e. something that enables to where element of the list was defined?
mbodmer[m] has quit [Quit: User has been idle for 30+ days.]
<reallymemorable>
infinisil: thanks - i might ping you in a few min, I got distracted with paperwork...
NickSeagull has quit [Quit: WeeChat 2.4]
NickSeagull has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92>
stammon: --enable-gtk-doc=no might work then
NickSeagull has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @tadeokondrak opened pull request #57413 → sway: replace with sway-beta → https://git.io/fhjCt
reilithion has joined #nixos
<DigitalKiwi>
there are more urls without quotes than with quotes in nixpkgs, is that the preferred way or ?
<srhb>
DigitalKiwi: Yes, marginally.
NickSeagull has joined #nixos
<{^_^}>
[nixpkgs] @primeos opened pull request #57414 → sway: Switch to 1.0 → https://git.io/fhjCs
immae has quit [Quit: WeeChat 2.3]
<DigitalKiwi>
ok, ty
<noonien>
where can i find an example config for a machine i just use for distributed builds?
<DigitalKiwi>
just cause there's more doesn't always mean it's right for all i know people are actively converting them the other way it just takes a long time
<srhb>
DigitalKiwi: Yeah, asking is always good. :)
<adamt>
noonien: A nixos machine with nothing in particular installed should be fine, I would assume
<reilithion>
I did some software archaeology. It seems libc = null is the correct way to specify a crossSystem derivation targeting a system with no standard library. BUT at some point a test was added that rules this option out, causing an "Unknown libc" exception. Simply allowing libc to be null with an extra case in this test doesn't resolve the issue, since the build of GCC then fails.
immae has joined #nixos
<reilithion>
I think the build is being misconfigured, but I'm not totally sure how yet.
<srhb>
noonien: As adamt said there's no real requirements on the server side. The client must be able to log in via ssh and issue nix commands.
<reilithion>
Ok, yes. It looks like the configuration options for the target are being ignored. Not only that, but my attempts to add "--without-headers" have failed.
<reilithion>
Anyone here familiar with the GCC derivations?
<infinisil>
,ask reilithion
<{^_^}>
reilithion: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<reilithion>
Ok. Why are the crossConfigureFlags being ignored when I try to build a cross-compiler?
<stammon>
I just removed all locations about gtk-doc in the Makefile and the configure.ac file.
<stammon>
now I get these
<stammon>
./configure: line 12225: syntax error near unexpected token `GOBJECT,'
<stammon>
./configure: line 12225: `PKG_CHECK_MODULES(GOBJECT, gobject-2.0, , as_fn_error $? "GLib/GObject is required" "$LINENO" 5)'
<stammon>
also previously it warns, that `./configure: line 6679: /usr/bin/file: No such file or directory`
<infinisil>
reilithion: I don't see any mention anywhere that crossConfigureFlag does anything
<infinisil>
Oh
<reilithion>
It's within the GCC derivation.
<infinisil>
Yeah found it sry
<infinisil>
Ah yeah, but that's nothing that can be overridden
<reilithion>
The perpelxing thing is that the two changes in gcc/7/default.nix are necessary for nix to even try to build gcc. But then the "--without-headers" never makes it into the configure options for gcc.
wpcarro has joined #nixos
goodwill has quit [Quit: ...]
wpcarro has quit [Client Quit]
wpcarro has joined #nixos
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tilpner_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
erasmas_ has joined #nixos
Glider_IRC__ has joined #nixos
ym555 has joined #nixos
Glider_IRC_ has quit [Read error: Connection reset by peer]
pie___ has quit [Remote host closed the connection]
pie_ has joined #nixos
<infinisil>
reilithion: Maybe try adding `builtins.trace "foo"` around the expressions you think don't influence the result
tilpner has quit [Ping timeout: 268 seconds]
<reilithion>
infinisil, So, change "--without-headers" to builtins.trace "--without-headers"?
<reilithion>
infinisil, trace: --without-headers appears as the first line, before the list of derivations to be built. It appears exactly once (which I is what we should expect, given the Nix language is lazy).
pie___ has joined #nixos
sigmundv has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
astrofog has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @Infinisil to release-19.03 « pythonPackages.poetry: Fix build »: https://git.io/fhjW0
goodwill has joined #nixos
alex`` has joined #nixos
adamt has quit [Ping timeout: 245 seconds]
<reilithion>
Weird. The line where it decides whether or not to include crossConfigureFlags is getting hit multiple times. Sometimes with my intended targetPlatform, sometimes with targetPlatform == hostPlatform.
Xal has joined #nixos
<reilithion>
Is the GCC 7.4 derivation in mainline nixpkgs working right now?
<attente[m]>
hi, i'm running firefox nightly from the nixpkgs-mozilla overlay, just wondering is there a way to override an environment variable in the binary wrapper? i want it to run with GDK_BACKEND=wayland by default
<reallymemorable>
infinisil: I have the haskell langauge server extension installed on VSCode and installed the HIE-Nix stuff from GitHub with `nix-env`
fendor has joined #nixos
<reallymemorable>
is there anything else i need to do? this process seems to be a good bit different from what i did when installing on Mac OS
wpcarro has quit [Quit: leaving]
sigmundv has quit [Ping timeout: 250 seconds]
drakonis1 has quit [Quit: WeeChat 2.3]
ixxie has joined #nixos
<{^_^}>
[nixpkgs] @krav opened pull request #57419 → pkgs/applespi: add experimental Linux support for MacBook keyboards → https://git.io/fhjWd
Fare has joined #nixos
<infinisil>
reallymemorable: Seems about right (i personally use emacs with HIE though)
<infinisil>
Is there a problem?
ixxie has quit [Remote host closed the connection]
<reilithion>
*sigh* The problem has nothing to do with my changes or with cross compiling. gcc just doesn't build in the version of nixpkgs I have checked out.
fendor has quit [Ping timeout: 255 seconds]
Guest91290 has quit [Read error: Connection reset by peer]
Rusty1 has quit [Quit: Konversation terminated!]
sinner has joined #nixos
sinner is now known as Guest41189
pie__ has joined #nixos
<symphorien>
> gcc.version
<{^_^}>
attribute 'version' missing, at (string):222:1
fendor has joined #nixos
<symphorien>
> gcc.name
<{^_^}>
"gcc-wrapper-7.4.0"
<symphorien>
It's strange, this is the default version of nixpkgs
<srhb>
reilithion: Fwiw, it's often sensible to start from something like nixos-unstable (from the channels repo) for two reasons: 1) it has a test set that ensures that certain packages do build and 2) it'll have more binary cache coverage a lot of the time. Also, it's usually not far behind master so it's often trivial to rebase to master, if you need to contribute a PR. :)
agander has quit [Ping timeout: 252 seconds]
<srhb>
Arbitrary master commits have no guarantee that anything builds.
<reilithion>
srhb, Thanks. I think I actually did start trying to get this whole thing going from unstable. I can't remember what specifically wasn't working there, but I changed over to the master branch upon discovering some parts of the new cross system weren't in place.
<srhb>
reilithion: Ok :)
linarcx has joined #nixos
camsbury has joined #nixos
asymmetric has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Remote host closed the connection]
<timor>
In hydra, it is possible to see the errors that occurred during evaluation. Is it also possible to see warnings that have been generated with lib.warn or builtin.trace?
drakonis_ has joined #nixos
_kwstas has quit [Quit: _kwstas]
<{^_^}>
[nixpkgs] @hedning pushed 10 commits to gnome-3.32: https://git.io/fhjlV
<{^_^}>
[nixpkgs] @abathur opened pull request #57427 → smenu: relax platform from linux to unix → https://git.io/fhjlw
<delan>
so I started using gnome-keyring yesterday and noticed that it wants cap_ipc_lock+ep for security... at first I added a security.wrappers option to my config, then I moved it to services.gnome3.gnome-keyring on my nixpkgs branch, but this has no effect when started via org.freedesktop.secrets.service (part of the gnome-keyring package)
<delan>
looks like I would either want to lower the wrapper from the module to the package such that the path in the unmodified dbus service refers to it, or somehow make the module override the path in the dbus service... any thoughts?
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.paste: 3.0.6 -> 3.0.8 »: https://git.io/fhjlH
<symphorien>
I imagine you need to make a derivation which copies the dbus files from gnome-keyring and replace the path to dbus by /run/wrapper/some-setcap-wrapper
pie___ has joined #nixos
_kwstas has joined #nixos
<symphorien>
then in the module which declares dbus.packages = [ gnome-keyring ] replace gnome-keyring by this derivation and declare the capability wrapper
<{^_^}>
[nix] @LnL7 opened pull request #2720 → primops: add support for reading stdin → https://git.io/fhj8s
Guest45071 has quit [Client Quit]
<DigitalKiwi>
if anyone remembers what ecryptfs
<DigitalKiwi>
ecryptfs-helper
<DigitalKiwi>
encfs
<DigitalKiwi>
cat
zupo has joined #nixos
<DigitalKiwi>
sorry, if anyone remembers what semilattice <-- what i thought was on clipboard was having problems with earlier, i've been having the same
<DigitalKiwi>
waiting for locks or build slots...
<DigitalKiwi>
when try to build, and just stays there, forever
<DigitalKiwi>
i can sometimes get around it by passing --builders ''
<DigitalKiwi>
is farily recent I think that it's started happening, I am mostly on nixos-unstable tho...so...
Guest41189 has quit [Read error: Connection reset by peer]
sinner has joined #nixos
sinner is now known as Guest13640
reinhardt has quit [Quit: Leaving]
Ariakenom has joined #nixos
domogled has joined #nixos
<DigitalKiwi>
it might be related to how i have distributed builds setup but i've tried a few different ways and it hasn't seemed to change, it could also be my network interfaces being weird, or it could be a nix update I think recently?
<clever>
noonien: what happens if you just `ssh -v root@192.168.56.104` ?
<noonien>
clever: i get asked for a password
<clever>
noonien: try the nixops deploy again?
<noonien>
hmm, i will
<DigitalKiwi>
didn't nixops get fubared recently has it been fixed yet?
<noonien>
i did a destroy and deploy, the ssh server seems to have started this time, even without explicitly enabling it, however, i still get permisssion denied
<{^_^}>
[nixpkgs] @ck3d opened pull request #57434 → nixos dwm: start user installed dwm if available → https://git.io/fhj43
jbgi has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo-- has quit [Ping timeout: 240 seconds]
<noonien>
i did delete --all, destroy --all, rm -rf ~/.nixops then created and deployed again
<noonien>
same thing
<DigitalKiwi>
yeah :(
<noonien>
is there a way of getting a working version of nixops?
<clever>
noonien: nixops itself works great, but ive heard that the virtualbox backend has a lot of trouble
<charukiewicz>
Is there an easy way to override the default AMI volume size when deploying a server with NixOps? We've trying to use deployment.ec2.blockDeviceMapping.<driveName>.size but we haven't been able to get it working.
<charukiewicz>
To clarify, this is an AWS EC2 deployment
domogled has joined #nixos
<timor>
There is a package attribute "hotspot" (don't know what that does) present in nixpkgs. If I want to provide a package for a different piece of software, called "HotSpot" (scientific tool), how do I name the attribute?
ddellacosta has joined #nixos
<charukiewicz>
The default NixOS AMI size is 3GB, but we're looking to bump it to something higher.
<linarcx>
clever: In bash script? it doesn't recognize it.
jD91mZM2 has quit [Ping timeout: 246 seconds]
<clever>
linarcx: that has to be in a nix script, that generates the bash
<clever>
linarcx: or you can: nix-build '<nixpkgs>' -A i3blocks -o i3blocks ; ls -lh i3blocks/libexec/i3blocks/disk
<linarcx>
clever: How can i create a nix script that generate the bash script?
<charukiewicz>
clever: yes that's it! thank you. It looks the tags that get passed to the EC2 instance automatically get applied to the root EBS volume. I guess there's no control over that.
<noonien>
i get the same results with libvirt
<noonien>
nixops deploy still can't connect to ssh: `builder> could not connect to ‘root@192.168.122.136’, retrying in 8 seconds...`
<clever>
noonien: it may just be that the guest hasnt finished booting yet
<noonien>
i just tried deploy again, just for testing ssh connectivity, i still get permission denied (just as the first deploy, it wasnt timing out), `root@192.168.122.136: Permission denied (publickey,password,keyboard-interactive).`
<noonien>
hmm, is there any backend that works locally?
<{^_^}>
[nixpkgs] @vcunat merged pull request #57427 → smenu: relax platform from linux to unix → https://git.io/fhjlw
<srhb>
I mean, it _works_
<srhb>
At least normally :)
<clever>
noonien: do you want nixops to get a linux build slave, or to use nixops for testing things?
<noonien>
well, i want to fire up a preemptible instance with a lot of cores in GCE to use as a build host, but this was a chance to learn nixops as well
<{^_^}>
[nixpkgs] @bhipple opened pull request #57441 → db: enable parallel building → https://git.io/fhjB3
<noonien>
`ssh -i k -o 'PubkeyAuthentication=yes' root@192.168.122.254` works, while `ssh -i k root@192.168.122.254` does not!
<noonien>
can i specify extra options for nixops's ssh?
<clever>
noonien: let me check something...
hamishmack has joined #nixos
<DigitalKiwi>
what's the right way to configure distributed builds that include the system you're on? remove the settings from the main configuration or remove them from the distributed hosts or can it be in both or?
<{^_^}>
[nixpkgs] @tohl opened pull request #57449 → samsung-unified-linux-driver_1_00_36, tested on nixos x86_64 with m2070w printer/scanner, fixes https://github.com/NixOS… → https://git.io/fhjRD
tilpner has quit [Ping timeout: 245 seconds]
<illegalprime>
any docs on how nix knows when to set targetPlatform & buildPlatform?
<reilithion>
clever, I stand corrected. The problem isn't, strictly speaking, in master. It's in my slight modification to master. And it's present for both nix-shell and nix-build.
<illegalprime>
if I use pkgsCross is makes sense what to set hostPlatform & buildPlatform to, but when encoutering a compiler nix also has to set targetPlatform and it seems to do so magically
<clever>
reilithion: i'm guessing that --without-headers made something lack vital headers, and then a later package (probably gcc) gets upset over those headers being missing
<reilithion>
clever, Seems unlikely, since that whole thing is inside a conditional that shouldn't be triggering.
<reilithion>
Also, the error output clearly shows that "--without-headers" never makes it into the configuration.
<clever>
> if true then "a" else if true then "b" else "c"
<{^_^}>
"a"
<clever>
> if false then "a" else if true then "b" else "c"
<{^_^}>
"b"
<clever>
> if false then "a" else if false then "b" else "c"
<{^_^}>
"c"
<clever>
> if true then "a" else if false then "b" else "c"
<{^_^}>
"a"
<clever>
reilithion: what about line 254, involving "--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
<clever>
reilithion: if that gets removed, it will likely break things
<clever>
reilithion: you can also run `nix show-derivation /nix/store/foo.drv` on the drv that fails to build, to get more details
<{^_^}>
[nixops] @noonien opened pull request #1111 → set PubkeyAuthentication=yes when a key is used → https://git.io/fhj0E
<reilithion>
clever, Ok, I'll do that. And I'll try to figure out if I've got the optional line right.
gilligan_ has quit [Ping timeout: 240 seconds]
<reilithion>
Thanks for your help so far. ^_^
<clever>
reilithion: you can also `nix-instantiate -A gcc` to get the drv directly, for further testing
<clever>
to see if the args are right, before you build gcc
<__monty__>
Just ran into a python issue I don't know what to do with. Looks like maybe I need something like haskell's dontCheck? http://ix.io/1Dgj
slack1256 has joined #nixos
<noonien>
__monty__: i use `doCheck = false;`
<reilithion>
Ah, yes. That is THE difference. *sigh*
ixxie has quit [Ping timeout: 272 seconds]
<noonien>
__monty__: it seems you need `nose` to run the tests, maybe provide that so the tests run as well
<__monty__>
noonien: Where would I provide this doCheck value?
<noonien>
in the derivation you're trying to build
<__monty__>
It's in nixpkgs, can't I provide it in my overlay somehow?
<noonien>
Oh, if it's not in the package you're trying to build, you should create a PR, as an easy hack, you could override the package in your overlay, yes
drakonis has joined #nixos
<{^_^}>
[nixpkgs] @andir pushed to master « nixos/doc: add `types` prefix to `addCheck` example »: https://git.io/fhj0K
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<fresheyeball>
noonien: I am just using the stock version
<reilithion>
fresheyeball, I looked into that a while ago. It looked to me like it'd be a large amount of up-front work to get a nice framework in place for it. I don't know if anyone has done that.
<fresheyeball>
reilithion: hmm
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<noonien>
i added http://vpaste.net/bGrZv to my overlay, however, nixops errors while installing with: `heel.cli.WheelError: Bad wheel filename 'nixops-_version_-py2-none-any.whl'`
<worldofpeace>
jtojnar Huh can't get "--enable-at-spi-command=\"${at-spi2-core}/libexec/at-spi-bus-launcher --launch-immediately\"" to be happy in configureFlags
<jtojnar>
I am not sure autotools even support quoted values
<jtojnar>
I had problems with this as well, do not recall how I solved it
smc9115 has joined #nixos
smc9115 has quit [Excess Flood]
smc9115 has joined #nixos
hamishmack has joined #nixos
smc9115 has quit [Excess Flood]
rcshm has quit [Read error: Connection reset by peer]
smc9115 has joined #nixos
smc9115 has quit [Excess Flood]
rcshm has joined #nixos
smc9115 has joined #nixos
smc9115 has quit [Excess Flood]
smc9115 has joined #nixos
smc9115 has quit [Excess Flood]
smc9115 has joined #nixos
smc9115 has quit [Excess Flood]
erasmas has quit [Quit: leaving]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<catern>
note that if you're not passing the argument through a shell, you don't need to and shouldn't use quotes - no tools support quoted values, it's all handled by the shell
vkleen has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
scientist has joined #nixos
<Ashy>
sway 1.0 has just been released, any ideas how long that will take to be added to the 19.03 channel?
Fare has quit [Ping timeout: 246 seconds]
<scientist>
hello you guys I was just wondering what weechat command do I need to type in order to see messages from a couple days ago that my name was tagged in ?
<symphorien>
The logs are in .weechat as plain text files
<scientist>
simpson: I decided to give nixos a try because it seems that the features would make programming easier
schneid3306 has quit [Quit: ZZZzzz…]
<simpson>
scientist: That's an interesting approach. How has it been for you?
janneke has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<scientist>
simpson: well, I have only been using it for a week, I just finished creating my own custom keyboard layout. right now I plan on using learning haskell, idris and lisp on this os using emacs and xmonad, I hope that this is worth all the effort, how has your experience been with nixos ?
<simpson>
Eh. It's better than Portage.
<scientist>
have any of you guys tried out the Idris programming language, I was wondering how it compares to Haskell and Lisp ?
<catern>
haskell idris and lisp with emacs and xmonad on nixos, you have a bright future :)
<scientist>
catern: I hope so, I have really struggled so far.
<simpson>
I've tried Idris. It's alright. The editor integration was cool.
<{^_^}>
[nixpkgs] @steve-chavez opened pull request #57465 → tds_fdw: init a 1.0.8 → https://git.io/fhjuW
<scientist>
simpson: how does Idris compare to Haskell or Lisp ?
fusion809 has quit [Remote host closed the connection]
yl has quit [Ping timeout: 268 seconds]
shibboleth has quit [Quit: shibboleth]
<simpson>
scientist: I don't think that I can answer that in a short on-topic way. Try it and see. Try many languages and see how they feel.
<scientist>
ok I was just wondering
ng0 has quit [Quit: Alexa, when is the end of world?]