leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<glenndavy>
hey all, so, nix-env -i ruby installs ruby 2.6.something, but, if i create a shell.nix with ruby specified in buildinputs, it pulls in 2.5 - any ideas why?
<mabel>
glenndavy: are you using sudo on one and not on the other?
<glenndavy>
nope, its single use mode, and I’m not using sudo
<glenndavy>
fair comment, though, on this occasion nix-env -i did as hoped/expected, im just puzzled about nix-shell
Notkea has quit [Read error: Connection reset by peer]
<samueldr>
nix-env will find, by name, ruby-* where it will match one of 2.4.*, 2.5.*, 2.6.*; it will prefer the higher versioned one even if it is not the default one
<clever>
glenndavy: nix-shell -p ruby, is identical to nix-env -iA nixpkgs.ruby
Notkea has joined #nixos
<clever>
nix-env -i ruby is the weird one
tdbgamer has joined #nixos
<samueldr>
and yeah, nix-shell works on attrnames
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<mabel>
hm... come to think of it, I think putting Hydra in a docker image will be slightly tricky
<mabel>
it's easy if I use the hydra module, but that's not available to me in buildLayeredImage... buildLayeredImage works on packages, there's no module step that gets run
o1lo01ol1o has joined #nixos
<mabel>
then again, maybe I don't need all that fanciness and I can just run hydra directly?
crmlt has quit [Ping timeout: 250 seconds]
<bhipple>
I'm curious if there's an update on 19.03 release state? The linked one hasn't been updated in a week and a half; wondering if there's anything I can do to help
<ajs124>
mabel, you need a postgres and a handful of daemons, like the evaluator, queue-runner, etc.
Erasmus has quit [Quit: reboot]
<samueldr>
bhipple: last blocker was just merged, the other RM should be able to cut the release tomorrow; we talked about it a bit today
jluttine has quit [Ping timeout: 268 seconds]
<mabel>
I was going to use a stock docker hub image for my postgres... do the daemons not run if I just start hydra-server?
<mabel>
oh, I see. ugh, so I need to figure out a way to bundle systemd into my docker image
<samueldr>
maybe not, I'm not 100% confident, but I think all moving parts could run from their own containers
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<samueldr>
so e.g. the (web) server in one, the evaluator in another
<ajs124>
mabel, I was just looking at the hydra module earlier today (for unrelated reasons) and it seemed to start quite some systemd services. Not sure how you'd map that to your approach. Probably separate containers.
jluttine has joined #nixos
<mabel>
hm....... could I build a configuration.nix, and package that in a container?
<mabel>
that way I could use the standard machinery for services.hydra
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
sam_ has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
aanderse-home has quit [Ping timeout: 245 seconds]
<mabel>
ahh, thanks clever. so now I see that modules are just a modular configuration system, and the derivations (e.g. systemd.services.<attr>) come from mapping config.systemd.services over derivations that get included in the buildInput of the environment
sigmundv_ has quit [Remote host closed the connection]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
stepcut has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
lovesegfault has quit [Ping timeout: 252 seconds]
lovesegfault has joined #nixos
sigmundv_ has quit [Ping timeout: 268 seconds]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<glenndavy>
in nixpkgs src, im modifying fetchgit to fetchGit, and I’m seeing an error like this:
<glenndavy>
`/nix/store/78x7ly4kq764mkwqmpk2r7dhrglpjpbv-ruby-2.5.5/lib/ruby/2.5.0/fileutils.rb:1227:in `stat': No such file or directory @ rb_file_s_stat - /nix/store/5azza88cdi6yrra2haxffhrj8xrb161g-source/.git`
<glenndavy>
“/nix/store/5azza88cdi6yrra2haxffhrj8xrb161g-source” does exist
<glenndavy>
(sorry this is gem/default.nx)
<glenndavy>
actually ignore that
i1nfusion1 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @veprbl pushed 5 commits to release-18.09: https://git.io/fjtG5
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<{^_^}>
[nixpkgs] @veprbl pushed 2 commits to release-18.09: https://git.io/fjtGd
amfabasti has quit []
<Ralith>
I wonder how hard a sell it would be to crank up net.core.(r|w)mem_max by at least a couple of orders of magnitude
rcshm has quit []
<Ralith>
the default values, that is
<Ralith>
seems like windows basically doesn't have a limit, for comparison
<glenndavy>
anyone got insights why fetchGet might tell me `do not know how to unpack source archive /nix/store/5azza88cdi6yrra2haxffhrj8xrb161g-source`
npmccallum has quit [Remote host closed the connection]
npmccallum has joined #nixos
i1nfusion1 has quit [Remote host closed the connection]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
Theuni2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
InFlames has quit [Ping timeout: 246 seconds]
lsyoyom has joined #nixos
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
crmlt has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
ajmcmiddlin has joined #nixos
<ajmcmiddlin>
I've been setting up a pin for `nixpkgs` on a project this morning, and it seems that some revisions don't work with `fetchGit`. For example, `HEAD` of `nixos-18.09` from `nixpkgs-channels` doesn't seem to work, while `HEAD` of `nixos-unstable` does.
<ajmcmiddlin>
Both revisions appear in `NixOS/nixpkgs` on Github.
<ajmcmiddlin>
The error I get is `fatal: not a tree object`.
<worldofpeace>
I think this change for kodi might need a change log entry
<mabel>
hey, anyone know why buildLayeredImage doesn't have a runAsRoot?
<mabel>
buildImage does, of course
<mabel>
I tried to base my buildImage on a buildLayeredImage but it didn't go well.... runAsRoot screamed about "No space left on device" when messing with symlinks
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
regulus_ has quit [Read error: Connection reset by peer]
<Ralith>
what is this, ubuntu? I want it to stick :P
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #59146 → Add option to disable library-for-ghci in the generic haskell builder. → https://git.io/fjtcZ
leat1 has quit [Remote host closed the connection]
<NickHu>
How do I get full output of nixos-install? It seems that recently it draws everything in one line; I have a build failure in install and I'd like to see the whole output
teser has quit [Quit: Leaving]
civodul has joined #nixos
johanot has quit [Ping timeout: 252 seconds]
Jetien_ has joined #nixos
kreetx has joined #nixos
goibhniu1 has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
crmlt has quit [Ping timeout: 268 seconds]
<mabel>
siers: I'd recommend home-manager once you feel confident enough to try it
<mabel>
personally I waited until I had a handle on the syntax, but it made my life so much easier when trying to customize my wm
<thePirateKing>
@siers you probably have to make sure gnome doesnt use whatever wm it ships with
<thePirateKing>
also home-manager is amazing
<mabel>
oh, it's actually tricky in the case of gnome
<mabel>
gnome3 expects that gnome-shell is running everything
<mabel>
you can use gnome-flashback with custom xsessions though
thc202 has joined #nixos
InFlames has joined #nixos
arjen-jonathan has joined #nixos
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
<siers>
Are you using it yourselves?
zupo has quit [Remote host closed the connection]
crmlt has joined #nixos
risson has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<{^_^}>
[nixpkgs] @volth opened pull request #59148 → compilation for particular x86_64 architecture (version 3) → https://git.io/fjtCX
<thePirateKing>
I am! i am relatively new to nix so i still dont really understand anything
<thePirateKing>
working through nix pills rn
leat1 has quit [Remote host closed the connection]
<mabel>
thePirateKing: nix pills are definitely the best way to start. you can also look through peoples' dotfiles by searching for github gists with "language:nix i3" or similar query
<mabel>
also yay, my little hydra pod is starting to crank through evaluations
<mabel>
soon I'll have myself a nixy little CI system
Serus has quit [Ping timeout: 250 seconds]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
sam_ has joined #nixos
<thePirateKing>
yeah ive been doing that! I really like the nix language, its my first time with FP
<thePirateKing>
Also i love nix-shell
<thePirateKing>
its perfect for what i do
Serus has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
linarcx has quit [Ping timeout: 252 seconds]
linarcx has joined #nixos
<risson>
Hi! Quick question, I'm trying to download a file containing ssh public keys to be authorized to connect to the machine I'm running nixOS on
<risson>
But i'm getting something telling me the first element in this list isn't a string
<tilpner>
The first element of your list is: toString
<tilpner>
Which is a function
<linarcx>
Gyus when i hit this command: `sudo nixos-rebuild switch --upgrade ` it start and download something from binary cache. but i don't see the process clear(i want to see download speed, percentage of each package have been downloaed so far). Is there any option to enable this feature?
<tilpner>
Wrap it in parentheses to apply the function
<tilpner>
But I don't think you'll need toString here
<risson>
Okay I'll try that. Thanks :D
<risson>
tilpner: wrapping it in parentheses still leaves me with the same error
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @mboes to master « google-cloud-sdk: 222.0.0 -> 241.0.0 (#59129) »: https://git.io/fjtWS
cfricke has joined #nixos
Khetzal has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
dkibi has quit [Ping timeout: 268 seconds]
<srhb>
aanderse: Guess you're not around, anyway: Sorry I'm a slowpoke. I changed my mind on the default package under the solr attribute (our usual behaviour is to let it be latest) and also added a release note, since people should really read about the changes upstream before bumping it. Do you mind incorporating/squashing it in first? https://github.com/srhb/nixpkgs/commit/73fdcd4b147d441e01a9ce6042490839fc28b35b
leat1 has quit [Remote host closed the connection]
sigmundv_ has quit [Ping timeout: 244 seconds]
leat1 has joined #nixos
<{^_^}>
[nixpkgs] @betaboon opened pull request #59159 → cura: support plugins, add octoprint-plugin → https://git.io/fjtlv
alex`` has joined #nixos
Makaveli7 has joined #nixos
sam_ has quit [Remote host closed the connection]
sam_ has joined #nixos
<{^_^}>
[nixpkgs] @primeos opened pull request #59166 → [19.03] fuse3: use /etc/fuse.conf for configuration (backport of #59043) → https://git.io/fjtlU
<jluttine>
can i somehow set no password for a user in nixos configuration? i have immutable users and i tried setting password to null but it asks for password and doesn't accept empty.. if i set it to "" then it'll still ask for a password although then it accepts the empty password..
<jluttine>
i'd like it to not ask a password at all when running sudo
Anton-Latukha has joined #nixos
Glider_IRC__ has joined #nixos
<srhb>
jluttine: You should not unset the password for that but instead use security.sudo.wheelNeedsPassword (or implement the same thing for some other group/user)
sam_ has quit [Remote host closed the connection]
<jluttine>
ah!
<jluttine>
i wonder what the password is when i set it to null..
leat1 has quit [Remote host closed the connection]
<jluttine>
or is it then just so that there's no password so whenever password is asked, there's nothing that would be accepted
leat1 has joined #nixos
Glider_IRC_ has quit [Ping timeout: 240 seconds]
wfranzini has quit [Read error: Connection reset by peer]
<srhb>
jluttine: I _think_ the user is just prevented from logging in in that case.
<srhb>
jluttine: Going by the assertion that if you have immutable users, and neither root NOR a wheel-user has a password, die.
wfranzini has joined #nixos
<srhb>
jluttine: (Which is great, because we certainly had a few users who got locked out of their systems a year back or so...)
<srhb>
But I guess we can check the installer to see how it implements empty-password for root.
<jluttine>
srhb: yes, thanks! :D yeah, i'm trying to be very careful about not locking myself out.. :D i'll make only one wheel user and that has no password. but the point is that one can log in as that user via SSH because i have an ssh key defined for that user..
gal_bolle has quit [Ping timeout: 252 seconds]
<srhb>
I'm actually not sure whether that assertion will allow you to do that..
wfranzini has quit [Read error: Connection reset by peer]
<srhb>
jluttine: I think the usual approach is to set the password hash to something impossible.
wfranzini has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
init_6 has quit []
<srhb>
jluttine: eg. passwd --lock adds a ! in front of the hashed password, effectively making it impossible to match the hash. If ssh works via keys still, you should be good, but I'd test this.
johanot has joined #nixos
<viric>
I just noticed misc/misc.nix disappeared, and with it, debugVersion.
<viric>
What is the new "debugVersion"?
<srhb>
jluttine: In order to allow blank password login, the installers users this: users.users.tooy.initialHashedPassword = ""; -- so null is something else indeed.
<jluttine>
srhb: thanks. i'll keep my non-admin normal user in the wheel group for now to see that everything works and remove it later when i have verified there are no problems with this passwordless ssh-login-only admin user
<jluttine>
srhb: ok! well, i don't want blank password actually! passwordless sudo is great. but i don't want people to be able to log in as the admin user without password.. :)
<jluttine>
srhb: so i suppose password=null works correctly for that
<srhb>
jluttine: orly. ;-)
<srhb>
jluttine: Yeah, my only concern is that if every admin has password = null; your configuration won't build
<srhb>
Which is what my note about "impossible" hashed passwords above was about.
<jluttine>
srhb: ah! oh it won't build.. :o
<srhb>
Indeed. So, try setting an impossible hashed password and see if it behaves like you want. (Make sure you have a backup way to get in in case I'm wrong)
<{^_^}>
[nixpkgs] @primeos merged pull request #59166 → [19.03] fuse3: use /etc/fuse.conf for configuration (backport of #59043) → https://git.io/fjtlU
<{^_^}>
[nixpkgs] @primeos pushed 2 commits to release-19.03: https://git.io/fjtl4
<jluttine>
srhb: hmm.. i set password=null to all my wheel users and no complaints, builds fine
<srhb>
Does root have a password set?
<jluttine>
i haven't defined root user at all.. does that get defined automatically..?
leat1 has quit [Remote host closed the connection]
<srhb>
jluttine: Ah, it defaults to "!"
<srhb>
Which is indeed impossible.
leat1 has joined #nixos
<srhb>
But, hm, that's just initialHashedPassword...
<srhb>
Oh, hashedPassword defaults to initialHashedPassword, so it still makes sense. Phew.
<srhb>
But this makes it rather easy to defy the sanity check...
<srhb>
In fact, the default behaviour appears to be to lock people out. Puzzling...
i1nfusion has quit [Read error: Connection timed out]
<srhb>
That's just multiline strings though! :-P
<Yaniel>
I'm just following what packages on nixpkgs do
<Yaniel>
because the manual is not very helpful most of the time
kreetx has quit [Quit: leaving]
<srhb>
Hm. Well, we'd love to clear it up, but the short story is that strings are in quotes, multiline strings are in double quotes, nothing else is in quotes.
<Yaniel>
so how do I use a local path where I need to substitute something
<{^_^}>
[nixpkgs] @veprbl pushed commit from @LinArcX to master « ir-standard-fonts: init at unstable-2017-01-21 (#57943) »: https://git.io/fjtR3
<infinisil>
Yaniel: i wonder if combined docs would make sense
<Yaniel>
then you'd have to cycle through 80 instances of "local"
<infinisil>
NixOS is part of nixpkgs, and nixpkgs is the main use of nix, and nixpkgs/lib is the standard library for nix
<infinisil>
Yaniel: local in what sense?
<Yaniel>
on my filesystem
<Yaniel>
just putting the (absolute) path in the src like I'd do with a URL (in quotes) seems like everything is fine but suddenly I get "no such file; don't know how to unpack"
<infinisil>
Ah i didn't read the backlog until now
<{^_^}>
[nixpkgs] @Izorkin opened pull request #59181 → nixos/nginx: fix error in writeNginxConfig → https://git.io/fjtRr
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<Yaniel>
I mean I love the concept of nix and especially the assurance that my worst case situation is havign to reboot
<pie_>
tilpner, any idea if this could be useful for inspecting single files
<Mic92>
Izorkin: I see. Let's give the nginx-config-formatter guys 48h to react on the issue.
<Yaniel>
but god it's frustrating to do anything beyond adding existing stuff to systempackages or changing configs that are listed in https://nixos.org/nixos/options.html
<pie_>
not for reproducibility checking but other stuff
<Izorkin>
Mic92: ok
orivej has joined #nixos
<andi->
Yaniel: in my experience it is the same frustration that I had elsewhere on other distributions.. There I would only feel the pain years later when trying to recall what I did back then..
<tilpner>
pie_: A single file, or two single files? I don't think it will help much if you have nothing to diff against
<Yaniel>
in most other distributions googling works way better though
<gchristensen>
that is true, google-foo is usually easier with other distros
<Yaniel>
and the arch wiki seems to have a lot less trouble wrt discovering solutions
erictapen has quit [Ping timeout: 250 seconds]
<Yaniel>
I guess my main gripe is really *finding* the thing you need in the mannual
<immae>
I didn’t know about https://r13y.com/ I’m impressed by the percentage of reproducible builds. I was persuaded that most compilers had variables like date or so and that they would make jobs non "byte-to-byte" reproducible, but I’m wrong it seems
<Yaniel>
(and then there's the part where the first comment the PR for that package was along the lines of "why would I care since neovim exists" but that's not a technical issue)
Theuni2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<niksnut>
the problem with that script is that it is based on "manifest" files that we don't generate anymore
<dhess>
gchristensen: that's what I figured. I could just rotate it every few months.
hlolli has quit [Quit: Leaving]
<dhess>
Oh, actually it looks like I can just let S3 do it by setting a lifecycle rule
<dhess>
that would be good enough
<gchristensen>
/!\ danger, will robinson /!\
<dhess>
you don't think I should do that?
o1lo01ol1o has joined #nixos
<clever>
dhess: the .narinfo files can share a .nar.xz, so a recent .narinfo may refer to an old .nar.xz, which your lifecycle rule deleted
<gchristensen>
Nix considers it an invariant that a binary cache has the complete closure for anything it contains, so if you lifecycle-rule away a file which for whatever reason is still in use, it can cause Nix to be very unhappy
leat1 has quit [Remote host closed the connection]
<clever>
also, the full closure must be present
<dhess>
oh :(
leat1 has joined #nixos
<dhess>
clever: at IOHK are you just not gc'ing the S3 binary cache?
orivej has quit [Ping timeout: 258 seconds]
<gchristensen>
dhess: how big is your cache?
<gchristensen>
and what are you putting in it?
<dhess>
gchristensen: 0 bytes at the moment :) I'm thinking ahead here.
<clever>
dhess: yeah, no GC planned currently
<clever>
dhess: half the reason we moved to S3, is because GC on hydra constantly broke builds
<gchristensen>
dhess: the NixOS cache does use lifecycle rules to move files in to the "infrequent access" status, which makes it cehap
iyzsong has quit [Ping timeout: 252 seconds]
<dhess>
clever: huh.
<clever>
dhess: the build slaves cached the fact that hydra.iohk.io has X, and then it didnt have X
<dhess>
gchristensen: yeah I could maybe do that instead. But I don't want to get to the point where my binary cache is running like $1500/mo if I can avoid it :)
<gchristensen>
dhess: also, wasabi.com is even cheaper, with S3-compatible API :)
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
<gchristensen>
dhess: cache.nixos.org took like 10 years of continuously building and uploading all of nixpkgs to get to $1500, fwiw :)
<dhess>
gchristensen: hehe yeah perhaps I should just worry about it once it becomes a problem
<clever>
and its building all of nixpkgs, for 3-4 arches
Izorkin has joined #nixos
<gchristensen>
(120TB in IA storage)
<dhess>
but like I said, I'm thinking ahead here.
<gchristensen>
+1
<dhess>
making sure I don't design myself into a corner
<gchristensen>
there certainly is a return on investment question, here
<jtojnar>
Yaniel, symphorien: mostly because it is still not finished and also shift of consensus in some areas (deemphasizing environment variables in favour of patching the source codes)
<dhess>
gchristensen: I don't strictly need S3, I just need something that's private. Right now I do that by putting my Hydra behind a VPN.
ng0 has joined #nixos
<dhess>
it's not ideal but it works for the scale I have at the moment.
Izorkin has quit [Client Quit]
<jtojnar>
Yaniel, symforien: there is also a lack of consensus in other areas (icons), as discussed in the PR comments
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
<gchristensen>
sure
hlolli has joined #nixos
<gchristensen>
I have an S3 binary cache that I use for Things, which is usually where my fantom $0.96/mo bill comes from
<dhess>
I would still be using cache.nixos.org so I guess my S3 cache will only be caching stuff that's private. Probably not too bad.
leat1 has quit [Remote host closed the connection]
<dhess>
and it's easy enough to disable later if needed. OK, I'll just not worry about GC for the time being.
leat1 has joined #nixos
<dhess>
thanks as always, folks.
<gchristensen>
I use it for random testing and examples. sometimes for nixops deployments where I'm doing a lot of essentially the same machine.
<clever>
dhess: i believe the closure will still be in your bucket, due to the rule "Nix considers it an invariant that a binary cache has the complete closure for anything it contains..."
<dhess>
clever: oh right, you just said that.
<niksnut>
maybe instead of deleting, we should move old paths to glacier deep archive...
<gchristensen>
niksnut: it would be operationally the same :( it takes hours to recover files from glacier
<samueldr>
isn't glacier incredibly costly to fish data from?
<niksnut>
up to 12 hours
<dhess>
niksnut: doesn't that mean, though, if you happened to hit one of those, it would take like a day or more to get it? :)
<gchristensen>
niksnut: I still want to get a server with a tape-deck and export it all :)
<dhess>
AWS KMS policies are so complicated :(
<niksnut>
it's more so we can get them back if the GC script went astray
<gchristensen>
right
<gchristensen>
might be cheaper still to get a tape-deck and reupload in that case ;)
hyper_ch2 has quit [Quit: Page closed]
<gchristensen>
(not really. yay operational costs.)
endformationage has quit [Ping timeout: 268 seconds]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<eyJhb>
How easy is it to add a temp certificate to the global trust chain?
wfranzini has quit [Read error: Connection reset by peer]
<gchristensen>
god3l1zed: it is coming! soon :) I don't have a good date yet. it is quite stable, I think the remaining release steps are organizational
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
god3l1zed has quit [Ping timeout: 256 seconds]
stepcut_ has joined #nixos
Mr_Keyser_Soze has quit [Remote host closed the connection]
noonien has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
MightyJoe has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
GiGa has quit [Quit: Leaving]
cyraxjoe has quit [Ping timeout: 268 seconds]
Ralith_ has quit [Remote host closed the connection]
<fendor>
well, then maybe the error is different, I already followed the users guide. When I try to use callPackage, the error message is: https://hastebin.com/oyesirejev.bash
thePirateKing has quit [Remote host closed the connection]
judson has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
drakonis_ has joined #nixos
dsiypl4__ has joined #nixos
<logzet>
Hi, I have two vservers running on nixos since the end of december with automatic updates enabled. Now I'm getting 'no space left on device' errors everywhere while df -h shows plenty of available disk space. Does anyone have an idea?
drakonis has quit [Ping timeout: 244 seconds]
<goibhniu1>
hi logzet, could you be out of inodes? `df -i`
<logzet>
goibhniu1: Oh, that is the case
thePirateKing has joined #nixos
<logzet>
What to do now? And why did this happen?
<goibhniu1>
hopefully some garbage collection will fix things up
leat1 has quit [Remote host closed the connection]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
Theuni2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mojjo has joined #nixos
<mojjo>
Does anyone have experience installing go packages on nixos? I'd need to have https://github.com/segmentio/chamber on the system and there seem to be several approaches..
thePirateKing has quit [Ping timeout: 255 seconds]
leat1 has joined #nixos
alex``` has joined #nixos
mojjo has quit [Ping timeout: 256 seconds]
<averell>
ah, looks like it just wasn't cherry-picked to 18.09. you could either install it from unstable/19.03, or cherry-pick 8ea3aae70af which will apply directly. You could override it directly, but it's probably more work, because it's some anonymous part of the chromium derivation.
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
pmiddend has joined #nixos
<pmiddend>
Weird. When I write a bash script via "writeTextFile" and use that in the buildInputs of another derivation, the script seems to be executed automatically. o_O
Jetien_ has quit [Ping timeout: 250 seconds]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
crmlt has quit [Ping timeout: 268 seconds]
leat1 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « sysstat: 12.1.2 -> 12.1.3 (#58894) »: https://git.io/fjtg1
<monotux>
so I've written a new package and a new service definition that I'd like to try. I guess I want to rebuild my system with it, but how do I do this in a reasonable way? point env variable NIXPKGS to my local nixpkgs in which the changes have been made?
<tilpner>
I've never heard of a NIXPKGS variable
<srhb>
monotux: Yeah, nixos-rebuild even takes an -I switch where you can pass nixpkgs=somepath
<tilpner>
You probably meant NIX_PATH=nixpkgs=...
<tilpner>
But you don't need to use a nixpkgs fork to try a new service
<tilpner>
You can just put the module into your imports
wolfman154 has joined #nixos
<tilpner>
(It gets more annoying when you make changes to already-existing modules)
<monotux>
thanks tilpner and srhb! I'm probably going to submit a PR for nixpkgs if this works well, hence me doing it in nixpkgs
<wolfman154>
Just checking, has nixos 19.03 become stable yet?
<srhb>
wolfman154: No.
<tilpner>
wolfman154: I've been using 19.03 without issues, but it hasn't been released yet
Mithror has joined #nixos
<wolfman154>
Just wondering, will it be a pain to upgrade from 18 to 19?
fendor has joined #nixos
<srhb>
wolfman154: Unlikely :)
leat1 has quit [Remote host closed the connection]
<srhb>
wolfman154: Unless you have some very specific setups it's usually completely trivial.
leat1 has joined #nixos
jomik has joined #nixos
<jomik>
Anyone here using the Ly display manager on NixOS? Seems that there is no module for it, only a package :(
<wolfman154>
I’m new to nixos , so still an up hill battle :)
{`-`} has joined #nixos
joedevivo has joined #nixos
chrisaw has quit [Read error: Connection reset by peer]
pingveno has quit [Read error: Connection reset by peer]
WooDWorkeR has joined #nixos
sppky has quit [Read error: Connection reset by peer]
demize has quit [Remote host closed the connection]
<wolfman154>
I almost got everything setup, then I can finally get back to coding, I like how you can copy , paste and rebuild your config quickly, so nixos sets up all path environment variables?
thePirateKing has joined #nixos
<wolfman154>
Automatically?
<johanot>
any SNM power users here? :) (mail server)
<NickHu>
I was hoping for something a little terser but I guess it's fine
<srhb>
wolfman154: Sorry, I couldn't quite parse that question.
vmandela has quit [Quit: Leaving]
<johanot>
basically I want mail forwarding only. I figure I can do that with sieve scripts, but.. is there any way I can prevent local storage and login capabilities?
<monotux>
nixos-rebuild -I /home/oscar/git/nixpkgs/ build <--- this doesn't seem to use the /home/oscar/git/nixpkgs at all, judging by the fact that it can't find my new service. any pointers?
<wolfman154>
srhb: so instead of having to do export path /dir/ in bashrc, nixos does this for me automatically?
<wolfman154>
For example a compiler?
leat1 has quit [Remote host closed the connection]
zemm has quit [Quit: On second thought, let's not go to Camelot. It is a silly place.]
zemm has joined #nixos
shabius has quit [Quit: Leaving]
<Myrl-saki>
Also, does nixos-install(technically, nix-env --store) constantly fsync? It's holy hell slow when installing on a flash drive for me. I don't think it was this slow before.
leat1 has quit [Remote host closed the connection]
shabius has joined #nixos
<Myrl-saki>
I've tried it out on 3 different flash drives now, FWIW.
<tilpner>
jomik: Oh, yes
daveyjones01 has joined #nixos
leat1 has joined #nixos
<averell>
should be visible in /proc/meminfo if so, maybe?
<Myrl-saki>
Might be a problem with my kernel at this point.
<Myrl-saki>
(OTOH, I was able to do normal flash drive stuff.)
markus1189 has quit [Ping timeout: 250 seconds]
thePirateKing has quit [Ping timeout: 264 seconds]
<jluttine>
is it possible to define default content for home directory in nixos? when the home directory is created for a new user, i'd like some specific content to appear there.
<Aleksejs>
Hello, I need to install the following python packages: rpi_ws281x, adafruit-circuitpython-neopixel. When I try to install them via pip3 it shows an error ModuleNotFoundError: No module named 'setuptools'
<iceypoi>
And I'm having a little concern, is it save to be calling nix-review and nix build or will that cause tons of GC roots and kill my disk space?
<iceypoi>
and if so, how can I make sure it gets freed up
leat1 has quit [Remote host closed the connection]
ym555 has joined #nixos
leat1 has joined #nixos
<iceypoi>
I do use home-manager though, so please look at my systems/.../configuration.nix file how it's linked in
<wolfman154>
iceypoi++
<{^_^}>
iceypoi's karma got increased to 2
jomik has joined #nixos
<jomik>
tilpner: Ugh, getting that `...displayManager.job.execCmd` is defined twice, once by lightdm, but lightdm is not enabled? error: The unique option `services.xserver.displayManager.job.execCmd' is defined multiple times, in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/display-managers/lightdm.nix' and `/etc/nixos/configuration.nix'.
<tilpner>
jomik: lightdm might be enabled by default if you set nothing else. You could try explicitly disabling it
<jomik>
Where is that enabled though ? :O
<tilpner>
Enabled by default, so a user doesn't have to decide on a display manager just to enable xserver
<jomik>
tilpner: Does that evaluate my current config?
<jomik>
It says it is true.
<jomik>
Even with services.xserver.displayManager.lightdm.enable = lib.mkForce false;
hl has joined #nixos
linarcx has joined #nixos
<jomik>
I don't want startx tho ? And startx also declares `execCmd`
<jomik>
s/declares/defines
<iceypoi>
startx is just a dummy package that basically disables anything from really running
<jabranham>
iceypoi: I use release for the system stuff (kernel, systemd, etc) and unstable for all "my" stuff
<iceypoi>
jabranham: thx
<linarcx>
Hi gyus. i install debian on my machine. when it want to detect other os to install grub, it detect windows7, and arch and don't detect nixos. when i reboot, i can see arch, window7 and debian, and nixos is missing. How can i fix this issue?
<jomik>
iceypoi: It also disables the display-manager systemd service, which I want to run. So seems a bit detrimental.
<tilpner>
jomik: I don't have any more ideas then. Are you sure you're editing the right file, and it's being included in your config?
ddellacosta has joined #nixos
<jomik>
Well, yes, because before I was using sddm, and when I removed that line and added the other two, it errored :P
<jomik>
I find it odd that the xserver.nix file overrides my mkForce..
<iceypoi>
jomik: I see. I just run startx from user prompt
<jomik>
iceypoi: Well, I want a display manager ;P
<iceypoi>
jomik: fair enough
<jomik>
tilpner:
<jomik>
my bad
<jomik>
I forget that I need to EXIT my editor when I use sudoedit :D
<jomik>
mkForce works
<jomik>
Rebooting! Ty
jomik has quit [Quit: WeeChat 2.4]
<linarcx>
Gyus
<linarcx>
Is there anyone to help me to fix grub?
leat1 has quit [Remote host closed the connection]
<iceypoi>
linarcx: efi or bios?
<linarcx>
iceypoi: bios.
leat1 has joined #nixos
<linarcx>
i try to re-generate grub from arch. it detect windows, debian, arch but not nixos!
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<jomik>
May just switch to lightdm again :D
<jomik>
Good night!
jomik has quit [Client Quit]
<Aleksejs>
any help with my pip problem?
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
kyren has joined #nixos
<andi->
Aleksejs: is setuptools in your current (python) environment?
swerlk_ has quit [Ping timeout: 246 seconds]
leat1 has quit [Remote host closed the connection]
<Aleksejs>
andi-: when I run pip install setuptools, it shows "requirement already satisfied". I also have python36Packages.setuptools in my configuration.nix. However, when I try to import it I see an error
leat1 has joined #nixos
<Aleksejs>
andi-: I've forgot to mention that the platform is raspberry pi 3
nschoe has joined #nixos
wolfman154 has joined #nixos
goibhniu1 has joined #nixos
<wolfman154>
If I install home manager in my configuration.nix do I still need to use these instructions or do I have to do both? https://github.com/rycee/home-manager
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « gtksourceview: 3.24.9 -> 3.24.10 (#58175) »: https://git.io/fjtwG
<wolfman154>
rycee: 14:34 wolfman154: If I install home-manager in my configuration.nix do I still need to use these instructions or do I have to do both? https://github.com/rycee/home-manager
zupo has joined #nixos
zupo has quit [Client Quit]
<andi->
Aleksejs: sorry, don't know from the top of my head what to do there.. been a while since I used pip on nixos
<Myrl-saki>
Yeesh. I'm getting 500'd when I made a PR using the web editor.
zupo has joined #nixos
<rycee>
wolfman154: Use one or the other. Not both.
nschoe has quit [Quit: Program. Terminated.]
<rycee>
wolfman154: For asking about Home Manager I'd suggest #home-manager.
<{^_^}>
[nixpkgs] @worldofpeace pushed to staging-next « nixos/pantheon: use evince module »: https://git.io/fjtwC
<wolfman154>
rycee: thanks, another quick question I’m installing terminator in home-manager and setting it up in xmonad, so do I still need i18n console internationalization properties settings or can I just erase them? I’m trying to stay as minimal and simple as possible.
<{^_^}>
[nixpkgs] @bendlas opened pull request #59189 → emacs-modes: replace melpa-generated with json format + updater in emacs lisp → https://git.io/fjtwl
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « aws-sdk-cpp: 1.7.53 -> 1.7.56 (#56595) »: https://git.io/fjtw4
ym555 has quit [Ping timeout: 244 seconds]
strobelight has joined #nixos
<wolfman154>
rycee: and is there a settings option for terminator in home-manager , I saw one for the urxvt terminal emulator.
<wolfman154>
14:42 wolfman154: rycee: thanks, another quick question I’m installing terminator in home-manager and setting it up in xmonad, so do I still need i18n console internationalization properties settings or can I just erase them? I’m trying to stay as minimal and simple as possible.
<Myrl-saki>
Eep. How do I force a DNS cache flush? Restarting nscd is doing nothing.
<linarcx>
iceypoi: Thank you so much. it works now like a charm.
linarcx has quit [Quit: WeeChat 2.4]
<rycee>
wolfman154: Please don't notify me multiple times for the same message. I'll see the message and answer it when I have the time. If you insist on timely support then I'd be happy to arrange invoicing :-)
ayerhart has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « postgresqlPackages.postgis: 2.5.1 -> 2.5.2 (#58756) »: https://git.io/fjtoU
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
sindrip has quit [Quit: WeeChat 2.4]
strobelight has quit [Ping timeout: 240 seconds]
Thra11 has quit [Ping timeout: 255 seconds]
jasongrossman has quit [Ping timeout: 250 seconds]
ayerhart_ has joined #nixos
ayerhart has quit [Ping timeout: 246 seconds]
sigmundv_ has joined #nixos
judson has quit [Remote host closed the connection]
ayerhart_ has quit [Ping timeout: 255 seconds]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
ayerhart has joined #nixos
biopandemic has joined #nixos
<NemesisD>
why is the sha256 in nix a different length than `sha256sum`?
<ajs124>
NemesisD, different encoding
<NemesisD>
oh that makes sense. is there a way i can get the correct encoding on the CLI? i'm writing something that has to work on mac and i don't have one
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « vault: 1.0.3 -> 1.1.0 (#58909) »: https://git.io/fjtoX
alex``` has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goibhniu1 has quit [Ping timeout: 245 seconds]
_Geeko_ has left #nixos [#nixos]
_Geeko_ has joined #nixos
thePirateKing has quit [Quit: Leaving]
<_Geeko_>
anyone can see my messages now? first time I use irc
leat1 has quit [Remote host closed the connection]
<Yaniel>
loud and clear
leat1 has joined #nixos
<_Geeko_>
Someone can help me out with upgrading nvidia drivers to newest?
ayerhart has joined #nixos
carlosdagos has quit [Quit: WeeChat 2.2]
<Yaniel>
which version is that
<Yaniel>
I have 418.43 out of the box on nixos-unstable
alex``` has joined #nixos
<_Geeko_>
ye that one would be good
<_Geeko_>
i have still legacy one :/
<_Geeko_>
i can't really figure out how to update it
<Yaniel>
which one
<Yaniel>
and what do you have in your configuration.nix
<_Geeko_>
the 418.43
<Yaniel>
no which one do you have now
<_Geeko_>
390.87
<Yaniel>
and does the new one even support your GPU?
<ryantm>
_Geeko_: You could change your nixos channel to unstable, or you could wait a couple days for 19.03 to be released. I expect both would probably update your drivers.
ddellacosta has quit [Ping timeout: 250 seconds]
<_Geeko_>
ye i have 1060 6 gb
<Yaniel>
oh yeah and the nixos channel thing
ddellacosta has joined #nixos
<_Geeko_>
i updated the channel already
<_Geeko_>
but its not building it
<ryantm>
_Geeko_: You get some error when you try to build your system on unstable?
<ryantm>
_Geeko_: Did you change your root user's channel or your user's channel?
<NemesisD>
what's a good pattern for packages that have a runtime data store? i'm writing a derivation that sets the install prefix to $out, but that will make it so that data at runtime is stored there too. does that make it impure or cause problems if the package has to rebuild?
<_Geeko_>
or ye i did users channel
<_Geeko_>
i need to do root?
<ryantm>
NemesisD: $out is only writable inside the builder, so runtime data can't go there. If you are talking about on NixOS, you'd set it up so the service stores data in /var
<Yaniel>
_Geeko_: obviously, only root can change the base system
<ryantm>
_Geeko_: Yes, you need to do root's channel. I've made that mistake countless times until I decided to forsake channels.
<_Geeko_>
sorry
<_Geeko_>
i am stupid actually
<NemesisD>
ryan: this isn't for NixOS. i can dig around the install script and see if it can separate data storage from installation
<_Geeko_>
i just checked if i have added the channel and it listed so i thought that would be fine
<ryantm>
NemesisD: It's like that it will already do something like /var or $XDG_DATA_DIR and you might not need to do anything.
<ryantm>
NemesisD: It's likely*
lmarks has quit [Ping timeout: 264 seconds]
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<ryantm>
_Geeko_: It's not stupid; it's basically the most common mistake I've seen.
lmarks has joined #nixos
esmerelda has joined #nixos
mmlb97745085 has joined #nixos
jasongrossman has joined #nixos
<esmerelda>
I wish to build very lightweight docker containers of nix systems. I've been using dockerTools.buildLayeredImage which is great, but I can't specify my container configuration like I could with configuration.nix
<esmerelda>
So I looked at how nixos-install works, and it seems just to build the "system" attribute in <nixpkgs/nixos>
<esmerelda>
I could totally override system and build a nixos filetree in a regular derivation, right?
<esmerelda>
I'm not sure what I'd need to do about init, though... I mostly just want systemd and the nixos config modules
<esmerelda>
So I'm guessing I could have Cmd="${systemd}/bin/systemd start something.service" for some value of something
<_Geeko_>
btw an other question i have: when i install applications they work but they never create a shortcut to launch them straight away
<_Geeko_>
now i just go to the nix store and launch it manually from there
das_j has quit [Remote host closed the connection]
<esmerelda>
You shouldn't need to do that! Make sure you're in an env or shell with those packages available
<esmerelda>
E.g. nix-shell -p cowsay should let you run cowsay
das_j has joined #nixos
leat1 has quit [Remote host closed the connection]
dsiypl4__ has quit [Ping timeout: 258 seconds]
leat1 has joined #nixos
Guest51892 has quit [Write error: Connection reset by peer]
sinner has joined #nixos
<_Geeko_>
i just use env to install a package
sinner is now known as Guest66068
<esmerelda>
nix-env -iA cowsay then
<_Geeko_>
so i can better remove the applications first?
<_Geeko_>
and install them again with nix-env -iA? sorry if i am being stupid i am new to this xd
<{^_^}>
[nixpkgs] @Ma27 opened pull request #59194 → codimd: js-sequence-diagrams: use git source rather than the NPM tarball → https://git.io/fjtod
<_Geeko_>
ok lol upgrading to the unstable branch fixed all issues XD
<_Geeko_>
with applications
leat1 has quit [Remote host closed the connection]
stepcut has joined #nixos
leat1 has joined #nixos
slyfox has quit [Ping timeout: 250 seconds]
<_Geeko_>
so i have 1 more question how can i make sure that i enable this systemctl start ckb-daemon
<_Geeko_>
bc i can't just start it through cmd
<_Geeko_>
bc service is not found. I assume i need to add it somewhere in my nix file?
risson has quit [Quit: Pouet. WeeChat 2.4]
slyfox has joined #nixos
jluttine has joined #nixos
risson has joined #nixos
<duoi>
is NixOS trans-friendly?
jasongrossman has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<gchristensen>
duoi: yes
<duoi>
gchristensen is that mentioned in the CoC?
stepcut has quit [Remote host closed the connection]
srl295 has joined #nixos
<gchristensen>
duoi: NixOS doens't have an overarching, written CoC. however, we have strong, inclusive, respectful values which I hope you will find demonstrated throughout
<duoi>
gchristensen can i chair a conduct committee for nixos?
<gchristensen>
duoi: if you have specific concerns, I'm happy to talk more in public or in private (with the caveat that supper is almost ready.) NixOS being inclusive is very important to me. I understand there is sometimes concern around us not having a CoC, we haven't gotten there yet.
<gchristensen>
duoi: I don't think I know who you are, which makes me suspect you're a new member of the community -- which I think would make it tough for you to be a chair of a conduct committee, but I'd be happy to discus such a committee with you
<gchristensen>
(with the same caveat that supper is nearly ready, so I'll have to step away soon to eat it :))
kyren has quit [Ping timeout: 240 seconds]
<_Geeko_>
anyone else has a dual boot with other linux distro?
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
<esmerelda>
ghristensen, hey! do you know if it's possible to use system modules with dockerTools? I'm currently kludging a lot of extraCommands to replicate a dir structure and it's getting perilous
<esmerelda>
So I was thinking that using a system derivation for contents could do what I need
jeremy has joined #nixos
jeremy is now known as Guest4910
<esmerelda>
I'm starting out by building containers for Hydra to run in, but it's running into all sorts of weird issues like not paying attention to /etc/hosts
o1lo01ol1o has quit [Remote host closed the connection]
<esmerelda>
("Bad hostname: localhost" blowing up the stack in hydra-evaluator)
stepcut has joined #nixos
<Guest4910>
Hi - Attempting to do a fresh install of 18.09 on a KVM host (as a VM) -- boots into install just fine and can partition and set a minimal config (boot.loader.grub) -- however, nixos-install fails every single time with hash mismatches -- version 18.09.1974.50f41ea2fcf is what I'm trying to build against now, but I see the same issue with more recent ISOs as welll
<_Geeko_>
esmerelda you check pm?
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
wfranzini has quit [Remote host closed the connection]
lord| has quit [Quit: WeeChat 2.4]
wfranzini has joined #nixos
jackdk has joined #nixos
lord| has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
<aswanson>
has anyone gotten a working keras/tensorflow/rstudio environment setup? How much do I need to modify the procedure rstudio has outlined?