gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
rosa has joined #nixos
ertes has quit [Read error: Connection timed out]
ertes has joined #nixos
mconstant has quit [Ping timeout: 248 seconds]
johnw has quit [Ping timeout: 248 seconds]
johnw has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « openjdk: 8u172-b02 -> 8u172-b11 »: https://git.io/vp45v
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « openjdk: 8u172-b02 -> 8u172-b11 »: https://git.io/vp45J
thc202 has quit [Ping timeout: 264 seconds]
rosa_ has joined #nixos
lukec has quit [Ping timeout: 265 seconds]
rosa has quit [Read error: Connection reset by peer]
papika has quit [Ping timeout: 248 seconds]
acarrico has quit [Ping timeout: 240 seconds]
johnw has quit [Ping timeout: 240 seconds]
papika has joined #nixos
rosa_ has quit [Quit: rosa]
<obadz> papika: are you trying to put public keys into the sture?
<obadz> store
lukec has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
rosa has joined #nixos
cryp2nomicon has quit [Ping timeout: 260 seconds]
cryp2nomicon has joined #nixos
olto has quit [Ping timeout: 248 seconds]
papika has quit [Quit: leaving]
silver_ has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
silver has quit [Ping timeout: 268 seconds]
acarrico has joined #nixos
rosa has quit [Quit: rosa]
silver_ is now known as silver
rosa has joined #nixos
rosa has quit [Client Quit]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4b750d62773 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
joelpet has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
justan0theruser has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4b750d62773 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
mkoenig has joined #nixos
blonkhart has joined #nixos
mkoenig_ has quit [Ping timeout: 240 seconds]
freeman42x[nix] has quit [Ping timeout: 256 seconds]
sigmundv__ has quit [Ping timeout: 256 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
doyougnu has quit [Ping timeout: 256 seconds]
mbrgm has quit [Ping timeout: 248 seconds]
mbrgm has joined #nixos
silver has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
symphorien has quit [Ping timeout: 255 seconds]
symphorien has joined #nixos
<vaibhavsagar> silly question: my hydra instance seems to have stopped being a nix cache, how would I go about troubleshooting this?
<vaibhavsagar> IIRC it used to be at http://128.199.234.106:3000 but I might have gotten the port wrong
vaibhavsagar has quit [Quit: ZNC 1.6.5 - http://znc.in]
Judson has joined #nixos
vaibhavsagar has joined #nixos
boxscape has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
blonkhart has quit [Quit: WeeChat 1.9.1]
Piece_Maker has joined #nixos
rosa has joined #nixos
Acou_Bass has quit [Ping timeout: 264 seconds]
Piece_Maker is now known as Acou_Bass
MP2E has joined #nixos
iitalics has joined #nixos
<iitalics> firefox gives me an error about not being able to find the profile directory,
<iitalics> anyone have experience with this?
freeman42]NixOS has quit [Ping timeout: 264 seconds]
chris| has quit [Ping timeout: 256 seconds]
rosa has quit [Quit: rosa]
goibhniu has quit [Ping timeout: 248 seconds]
<jcrben> hi - I want to use a python package (tasklib) which is used by a vim (neovim) package - under my ordinary setup (mac or ubuntu), I install it with pip and that works. but I can't seem to figure out the proper way to install arbitrary pip python programs using nix. running mac atm but have another laptop running nixos
chris| has joined #nixos
spear2 has quit [Read error: Connection reset by peer]
rosa has joined #nixos
MP2E has quit [Remote host closed the connection]
<unlmtd> does a custom nix-channel get passed down to a live-cd ? there's no option for setting nix-channel.
rosa has quit [Quit: rosa]
<jcrben> messing around with 9.11.2.4. Tools at this point...
<unlmtd> the readme on python is pretty good jcrben
<unlmtd> buildPythonPackage
hamishmack has quit [Quit: hamishmack]
<unlmtd> sorry its called python.section.md
<unlmtd> nixpkgs/doc/languages-frameworks/python.section.md
spear2 has joined #nixos
joelpet has joined #nixos
mkoenig_ has joined #nixos
<jcrben> yep, that's what I've been looking at. but it's still pretty low-level. https://github.com/garbas/nixpkgs-python is pretty promising
drakonis has quit [Remote host closed the connection]
hamishmack has joined #nixos
<jcrben> gonna see about writing tasklib for that repository. we shouldn't be doing packages in the pypi in one-off bespoke manners - that doesn't scale
mkoenig has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #39666 → nix: fix stdenv.system check -- should be hostPlatform → https://git.io/vp4N8
<jcrben> of course, I'm just a newb, so don't really know what's going on. https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/python-packages.nix is 17000 lines. seems like https://github.com/garbas/pypi2nix (which powers nixpkgs-python) is pushing efforts to automate pypi integration
rosa has joined #nixos
<unlmtd> python is actually pretty good: try packaging a rust project
<unlmtd> some of the language package managers do way too much, like npm and cargo, and they end up fighting nix
<unlmtd> kitchen sink approach at work here
<jcrben> hopefully there's at least a little effort to fix that upstream
<jcrben> I know npm is a basketcase tho and unlikely to listen
nallar has joined #nixos
Ross has quit [Ping timeout: 276 seconds]
nallar is now known as Ross
<jcrben> kinda surprised that cargo would fight it, especially since mozilla is a bit involved with nix
rosa has quit [Quit: rosa]
rosa has joined #nixos
jperras has quit [Ping timeout: 256 seconds]
<unlmtd> some elements in the US DOD wer funneling weapons to al-nusra, while some other elements were bombing them. Any large group is inevitably in contradiction with itself
leo60228 has quit [Ping timeout: 260 seconds]
<jcrben> actually, https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#packaging-a-library was what I wanted - seems to be not so difficult to integrate with PyPI after all
<{^_^}> [nixpkgs] @veprbl opened pull request #39667 → [release-17.09] slurm: Fix CVE-2018-7033 → https://git.io/vp4NF
<{^_^}> [nixpkgs] @veprbl opened pull request #39668 → [release-18.03] slurm: 17.02.9 -> 17.02.10 fix CVE-2018-7033 → https://git.io/vp4NA
butchery has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
Thedarkb1-X40 has quit [Remote host closed the connection]
Thedarkb1-X40 has joined #nixos
<adisbladis[m]> unlmtd: Python can also be pretty hairy to package. Especially if a project uses "pip freeze" to pin dependency versions.
<adisbladis[m]> A lot of python projects are overly restrictive (eg pinning one exact specific version)
rosa has quit [Quit: rosa]
<unlmtd> all of the things they do to make their stuff reproducible gets in the way
<unlmtd> nix-style will win in the long run
rosa has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
jrolfs_ has joined #nixos
<unlmtd> the next generation wont want to use anything else
rosa has quit [Client Quit]
<jcrben> ultimately reproducible builds are good tho, right? I think dependencies should be locked down to a known working version - even libraries which should also publish a range - agree with https://yarnpkg.com/blog/2016/11/24/lockfiles-for-all/
rosa has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed to master « gcalcli: pin older versions of needed python packages »: https://git.io/vp4Ar
jrolfs_ has quit [Ping timeout: 256 seconds]
Guanin has quit [Ping timeout: 268 seconds]
iitalics has quit [Quit: WeeChat 2.1]
<jcrben> well, getting this tasklib built is a failure - packageOverrides = pkgs: with pkgs; {
<jcrben> myEnv = python36.withPackages (ps: with ps; [ six tasklib ]); fails saying "Could not find a version that satisfies the requirement six>=1.4 (from tasklib==1.1.0) (from versions: )"
<jcrben> meanwhile, ~/.nix-profile/lib/python3.6/site-packages/ contains six.py 1.11.0
Guanin has joined #nixos
<jcrben> think maybe I need to pass six as a buildInput in the fetchPyPi block, but then I'm getting callPackage_i686 not supported on system 'x86_64-darwin'...
rosa has quit [Quit: rosa]
mkoenig has joined #nixos
mkoenig_ has quit [Ping timeout: 264 seconds]
t667884 has quit [Ping timeout: 260 seconds]
butchery has quit [Ping timeout: 264 seconds]
butchery has joined #nixos
spear2 has quit [Remote host closed the connection]
<butchery> Nixos rebuild is hanging on updating nerd-fonts, just showing the download progress but not downloading anything, anyone got any clues?
Myrl-saki has quit [Ping timeout: 248 seconds]
spear2 has joined #nixos
Myrl-saki has joined #nixos
<elvishjerricco> Has anyone been able to build a GHC 8.4 cross compiler with nixpkgs?
<elvishjerricco> It's having some really odd issues for me
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
hamishmack has joined #nixos
coot has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #39669 → ldb: 1.1.27 → 1.1.31 → https://git.io/vp4xu
<{^_^}> [nixpkgs] @dotlambda merged pull request #39662 → pythonPackages.pymc3: init at 3.2 → https://git.io/vp4DR
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vp4xg
<{^_^}> → 4797fe8d by @ilya-kolpakov: pythonPackages.patsy: 0.3.0 -> 0.5.0
<{^_^}> → f2adf205 by @ilya-kolpakov: pythonPackages.pymc3: init at 3.2
<{^_^}> → cbc3afc6 by @dotlambda: Merge pull request #39662 from ilya-kolpakov/pymc3
rosa has joined #nixos
ilyaigpetrov has joined #nixos
markus1189 has quit [Ping timeout: 240 seconds]
rosa has quit [Quit: rosa]
markus1189 has joined #nixos
jperras has joined #nixos
butchery has quit [Quit: leaving]
jperras has quit [Ping timeout: 240 seconds]
Jetien has joined #nixos
nD5Xjz has quit [Ping timeout: 248 seconds]
nD5Xjz_ has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
raskin[m] has left #nixos ["User left"]
<Ralith> how do I get `nix copy` to stop whining about how a path "lacks a valid signature"?
<boomshroom> Ralith: Give it a signature. I forget the process to generate a key, but once you have one, you should put in configuration.nix or the global nix config a setting to sign with the generated keys. Then you just have to sign the existing packages with nix sign-paths --all
<Ralith> it turns out the `--no-check-sigs` magically stops being silently ignored if you run it as root
<Ralith> so that's great
<boomshroom> Ralith: Setting up a signature is really the best option.
<Ralith> I don't need a sustainable pipeline, I just need this store path here to get to that wimpy machine over there sooner rather than later :P
<boomshroom> Ralith: You set it up now, and it will be ready for you every other time you ever transfer a store path from that machine, even one built as a distributed build.
rosa has joined #nixos
lassulus has quit [Ping timeout: 265 seconds]
rosa has quit [Client Quit]
rosa has joined #nixos
rosa has quit [Client Quit]
rosa has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1b1be29bf82 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rosa has quit [Quit: rosa]
rosa has joined #nixos
pic1234 has joined #nixos
orivej has joined #nixos
vcunat has joined #nixos
boomshroom has quit [Quit: WeeChat 2.0]
rosa has quit [Quit: rosa]
coot has quit [Quit: coot]
coot has joined #nixos
periklis has joined #nixos
Jetien has quit [Ping timeout: 240 seconds]
simukis has joined #nixos
nD5Xjz_ has quit [Ping timeout: 248 seconds]
<rizary> what i got confused is when i change `deployment.ec2.keyPair = resources.ec2KeyPairs.my-key-pair` into `deployment.ec2.keyPair = resources.ec2KeyPairs.app` and deploy it
jperras has joined #nixos
<rizary> i got `deployment finished successfully` but i can't ssh to the machine
Ariakenom has joined #nixos
xy2_ has joined #nixos
<rizary> when i change it back to `deployment.ec2.keyPair = resources.ec2KeyPairs.my-key-pair`, i got stuck on `waiting for SSH`
<rizary> i try to uncomment my privateKey, but i got the same error as before
kreetx has joined #nixos
nD5Xjz has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
<adisbladis[m]> rizary: Maybe EC2 security groups?
tsmeets has joined #nixos
<tsmeets> Hi, Has anyone managed to create a syslinux installation image for nixos? (without isolinux)
<rizary> hmm i see. adisbladis[m] about the `privateKey` and `keyPair`, what is privateKey for? because i comment it and it still build
<tsmeets> I am trying to create a syslinux image, but the kernel cant find any devices (/dev/sd*) after booting.
thc202 has joined #nixos
<adisbladis[m]> rizary: keyPair is the EC2 keypair, privateKey is the path to the key if ssh cannot find it by itself (maybe you have keys in another location than ~/.ssh)
<rizary> ah i see.. thanks
<adisbladis[m]> rizary: Generally you should not have to set privateKey
simukis has quit [Ping timeout: 260 seconds]
<rizary> hmm i see
orivej has quit [Ping timeout: 248 seconds]
zybell has quit [Ping timeout: 260 seconds]
periklis has quit [Ping timeout: 255 seconds]
nD5Xjz has quit [Ping timeout: 248 seconds]
jrolfs_ has joined #nixos
zybell has joined #nixos
wingstaker99 has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<Myrl-saki> clever: Ping
<Myrl-saki> clever: I just had a thought about dependency graphs and Nix.
<Myrl-saki> Not something technical but theoretical
<{^_^}> [nixpkgs] @xeji opened pull request #39670 → [18.03] nixos/tests/keymap: improve keymap tests → https://git.io/vpBeU
orzo has joined #nixos
olto has joined #nixos
nD5Xjz has joined #nixos
jrolfs_ has quit [Ping timeout: 256 seconds]
simukis has joined #nixos
simukis has quit [Quit: simukis]
simukis has joined #nixos
pie_ has joined #nixos
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
rihards has joined #nixos
vandenoever has quit [Ping timeout: 256 seconds]
Guest2114 has quit [Quit: leaving]
xeji has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #39670 → [18.03] nixos/tests/keymap: improve keymap tests → https://git.io/vpBeU
<{^_^}> [nixpkgs] @srhb pushed 3 commits to release-18.03: https://git.io/vpBeS
<{^_^}> → f0e25729 by @xeji: nixos/tests/keymap: improve keymap tests
<{^_^}> → d0de57d7 by @xeji: nixos/tests/keymap: wait for xdotool to succeed
<{^_^}> → ce0d9d63 by @srhb: Merge pull request #39670 from xeji/keymap-tests-18.03
ylwghst has joined #nixos
ylwghst has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/vpBvP
<{^_^}> → 33615ccf by @joachifm: linux_hardened: enforce usercopy whitelisting
<{^_^}> → 9df35787 by @joachifm: tor-browser-bundle-bin: allow unset XAUTHORITY
pic1234 has quit [Remote host closed the connection]
gaqzi has quit [Quit: Connection closed for inactivity]
klntsky has quit [Ping timeout: 255 seconds]
lassulus has joined #nixos
fendor has joined #nixos
lassulus_ has joined #nixos
logzet has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @johanot opened pull request #39671 → nixos/keepalived: Implemented vrrp-instance track scripts and track interfaces → https://git.io/vpBfs
lassulus has joined #nixos
jperras has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ce0d9d638de (from 54 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
pic1234 has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
b has quit [Quit: Lost terminal]
nD5Xjz has quit [Ping timeout: 268 seconds]
spear2 has quit [Remote host closed the connection]
hakujin has joined #nixos
b has joined #nixos
lassulus has quit [Read error: Connection reset by peer]
nD5Xjz has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
Thedarkb1-X40 has quit [Remote host closed the connection]
Thedarkb1-X40 has joined #nixos
Thedarkb1-X40 has quit [Remote host closed the connection]
Thedarkb1-X40 has joined #nixos
fendor has quit [Read error: Connection reset by peer]
Thedarkb1-X40 has quit [Remote host closed the connection]
Synthetica has joined #nixos
zybell has quit [Ping timeout: 240 seconds]
<Synthetica> `sudo nixos-rebuild switch --upgrade` doesn't seem to actually upgrade for me (Wanted to install the latest iteration of `nixos-unstable`, from ~yesterday)
<Synthetica> Any pointers?
coot has quit [Quit: coot]
ambro718 has joined #nixos
nD5Xjz has quit [Ping timeout: 260 seconds]
zybell has joined #nixos
xeji has quit [Ping timeout: 264 seconds]
pie__ has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
vcunat has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @pstn opened pull request #39672 → gnunet: Add gnunet_git. → https://git.io/vpBJS
rszibele[m] has joined #nixos
ixxie has joined #nixos
<LnL> what's the output of nix-info
<Synthetica> ```system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0, channels(root): "nixos", channels(synthetica): "nixos-18.03pre119110.2ddcdcce26", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs```
<LnL> is the root channel is what you expect for your system?
<{^_^}> [nixpkgs] @leenaars opened pull request #39673 → webmetro: init => unstable-20180426 → https://git.io/vpBUJ
Guest16581 has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 265 seconds]
Mateon3 is now known as Mateon1
<vaibhavsagar> hi, my hydra isn't serving as a binary cache, how would I debug this?
<{^_^}> [nixpkgs] @pstn opened pull request #39674 → dehydrated: minor update to 0.6.2 → https://git.io/vpBUn
<LnL> what do you mean by that exactly?
<vaibhavsagar> LnL: `curl -v http://128.199.234.106:3000/nix-cache-info` is giving me html instead of nix-cache-info
<vaibhavsagar> I'm pretty sure it was working before
<vaibhavsagar> is there a header I need to set or something?
<srhb> vaibhavsagar: What does it serve instead?
Izorkin has quit [Read error: No route to host]
<vaibhavsagar> srhb: html including this: "<div class="alert alert-error">There is no binary cache here.</div>"
Izorkin has joined #nixos
<LnL> not sure, I make hydra create a separate cache
<LnL> oh, why don't you just serve the file cache then
<vaibhavsagar> hmm, i just noticed that directory doesn't exist
<vaibhavsagar> very strange
lassulus has joined #nixos
zybell has quit [Ping timeout: 255 seconds]
zybell has joined #nixos
wingstaker99 has quit [Quit: Textual IRC Client: www.textualapp.com]
lassulus has quit [Read error: Connection reset by peer]
<vaibhavsagar> LnL: what do you mean?
<LnL> hydra won't serve that cache for you, but it's not supposed to be empty
<vaibhavsagar> I'm pretty sure it used to do this
<vaibhavsagar> I created that directory and restarted hydra-init, so now that directory looks like it has the right files in it
<vaibhavsagar> I'm seeing references to !isLocalStore in the hydra code which determine whether or not to serve the cache
<timokau[m]> How can I install a virtualbox guest in nixos? I tried setting `virtualization.virtualbox.host.enable = true` and the ncreating a new VM in the GUI, but when starting it it complaines that the "Kernel driver is not installed"
<vaibhavsagar> timokau[m]: `virtualisation.virtualbox.guest.enable = true`
<rszibele[m]> timokau: can you try running the following as root: modprobe vboxdrv
<timokau[m]> vaibhavsagar: But nixos is the host, ubuntu is the guest
<vaibhavsagar> timokau[m]: try it anyway
<timokau[m]> Richard: `FATAL: Module vboxdrv not found in directory ...`
maingo has quit [Quit: Connection closed for inactivity]
<rszibele[m]> Try a reboot and see if it loads the kernel driver, I think I also had this issue.
lwf has joined #nixos
ThatPako has joined #nixos
<ThatPako> Is there some easy way to write a derivation with a deb as source? Or would I be better off having the derivation build the program?
<vaibhavsagar> ThatPako: the latter
<vaibhavsagar> what are you trying to accomplish?
xy2_ has quit [Ping timeout: 264 seconds]
<timokau[m]> Richard: Reboot fixed it, thanks. I thought the driver would be loaded at runtime
<ThatPako> I'm trying to install komorebi. it's some new wallpaper manager which isn't part of nixpkgs as of yet
lassulus has joined #nixos
<vaibhavsagar> ThatPako: you could look into buildFHSUserEnv if you don't want to repackage it
<ThatPako> Or is xwinwrap the "recommended" way of doing that stuff?
<rszibele[m]> timokau: cool, you're welcome.
<ThatPako> (my goal is to get an animated wallpaper)
<vaibhavsagar> i have never heard of xwinwrap
<vaibhavsagar> but it looks like it potentially does what you want
<LnL> vaibhavsagar: once it's generated hydra isn't involved anymore
<vaibhavsagar> hmm, I didn't realise they were just static files
<vaibhavsagar> that's pretty mindblowing
<vaibhavsagar> I was convinced nix-serve was involved somehow
<LnL> nix-serve is more complicated because the files are generated dynamically when requested
<LnL> with a file:// store it happens immediately
<vaibhavsagar> cool, I had no idea
<vaibhavsagar> is that how the S3 store works as well?
<LnL> yep
<vaibhavsagar> so you can pump files to an S3 bucket and there's no further involvement from the server?
<LnL> that's how the nixos.org instance works, it uses store_uri = s3://
<LnL> so none of the store paths or nar files actually end up on the local disk
<vaibhavsagar> ah, somehow I thought nixos.org still proxied requests and did rewriting or something
<vaibhavsagar> (in the sense that if it went down things would break even though none of the files are on the server)
goibhniu has joined #nixos
ixxie has quit [Quit: Lost terminal]
xy2_ has joined #nixos
<LnL> nope, dig -t cname +short cache.nixos.org
<LnL> the only issues with the cache itself are aws related (like the ipv6 weirdness)
<vaibhavsagar> cool!
<{^_^}> [nixpkgs] @peterhoeg pushed to master « uchiwa: 1.1.2 -> 1.2.0 »: https://git.io/vpBTl
leo60228 has joined #nixos
<leo60228> I rebooted after switching to nixos-unstable, and kwin segfaults on startup. Is there a way to downgrade?
symphorien has quit [Quit: WeeChat 2.1]
<vaibhavsagar> LnL: what's the purpose of the proxyPass setting for nginx?
<vaibhavsagar> leo60228: do you have any KDE/Qt apps installed with nix-env?
<leo60228> I don't believe so, but possibly.
<vaibhavsagar> if you uninstall them the issue should go away until you can downgrade
<leo60228> how do I check what they are?
<vaibhavsagar> nix-env -q
<vaibhavsagar> and see if any of them look suspicious
<leo60228> pavucontrol?
<leo60228> shutter?
<vaibhavsagar> or you should be able to reboot and select an older generation
<leo60228> unetbootin?
silver has joined #nixos
symphorien has joined #nixos
<vaibhavsagar> here's some context: https://github.com/NixOS/nixpkgs/issues/30011
<aminechikhaoui> vaibhavsagar: I assume the proxyPass is for serving the hydra app instead of the NARs
ThatPako has quit [Quit: Lost terminal]
<vaibhavsagar> oh, I see
<leo60228> i can downgrade just by changing channels and doing a rebuild, right?
<vaibhavsagar> yes
<vaibhavsagar> or by rebooting
<vaibhavsagar> because NixOS saves the last couple of generations by default
<vaibhavsagar> aminechikhaoui: doesn't hydra serve itself?
ixxie has joined #nixos
<leo60228> error: file 'nixpkgs/nixos' was not found in the Nix search path
<vaibhavsagar> leo60228: how did you get that error?
<ij> vaibhavsagar, Will I have to build a lot of things to run vlc 3?
<leo60228> doing a switch after changing channels
jperras has joined #nixos
<vaibhavsagar> ij: I hope not, do those patches apply cleanly on release-18.03?
<vaibhavsagar> leo60228: what is the output of `nix-channel --list`?
<ij> vaibhavsagar, I'll try and see.
<leo60228> nix-channel --list: nixpkgs https://nixos.org/channels/nixos-unstable
<leo60228> sudo nix-channel --list: nixos-18.03 https://nixos.org/channels/nixos-18.03
<vaibhavsagar> did you do `nix-channel --update`?
<vaibhavsagar> or `sudo nix-channel --update`
<ixxie> Any Dell XPS / other laptop users having right-click issues since 18.03pre->18.09pre? Im having this https://github.com/NixOS/nixpkgs/issues/39675
<leo60228> yes, but i'll try again
<leo60228> nope
jperras has quit [Ping timeout: 264 seconds]
* srk gced .. 59640 store paths deleted, 161316.25 MiB freed
<electrocat> can i find the glibc headers somewhere in nixos?
<srk> pkgs.glibc.dev possibly?
<srk> yup
fendor has joined #nixos
<leo60228> how do i switch to an old generation without rebooting?
<ij> vaibhavsagar, Given that I did it correctly (git rebase --onto release-18.03 bump-vlc~3 bump-vlc), it didn't work and resulted in a conflict.
<vaibhavsagar> what was the conflict?
<vaibhavsagar> the reason I'm asking you to rebase is because all the dependencies should be compiled and cached for 18.03
<electrocat> srk: how would that work?
sigmundv__ has joined #nixos
<vaibhavsagar> electrocat: add pkgs.glibc.dev to your buildInputs
<srk> leo60228: nixos-rebuild switch --rollback
<electrocat> hm
<electrocat> i would like to have the headers in my ~/.nix-profile if possible
<srk> nix-env -iA nixos.glibc.dev ?
leo60228 has quit [Ping timeout: 260 seconds]
<srk> not sure if that makes sense, better to use nix-shell for development..
<vaibhavsagar> electrocat: you'd still have to set your LD_LIBRARY_PATH every time you wanted to use it, I don't think Nix does that for you
<ij> vaibhavsagar, https://clbin.com/1bLYo for "g rebase --onto release-18.03 nixpkgs/master HEAD"
<ij> no, that's not the right command, second! :D
<ij> vaibhavsagar, g rebase --onto release-18.03 bump-vlc~4 bump-vlc
<electrocat> i just need it for autocompletion you i really just need the header files
<vaibhavsagar> how do you expect your autocompletion to pick it up?
<electrocat> by putting the path in the config file
<electrocat> now it points to /usr/include, which obiously doesn't work with nixos
<vaibhavsagar> you can already do that
<vaibhavsagar> nix-build -E "with import <nixpkgs>; pkgs.glibc.dev"
<vaibhavsagar> nix-build -E "with import <nixpkgs> {}; pkgs.glibc.dev"
alex`` has quit [Ping timeout: 264 seconds]
<vaibhavsagar> that'll give you a path
<vaibhavsagar> that you can put in the config file
<vaibhavsagar> problem solved!
<electrocat> ah indeed
<electrocat> exactly what i needed
<electrocat> thanks
Rusty1_ has joined #nixos
alex`` has joined #nixos
<pstn> Does some maintainer want to feel good on a sunday? My PRs should be super unproblematic and easy merges 🙂https://github.com/NixOS/nixpkgs/pull/39672 https://github.com/NixOS/nixpkgs/pull/39674
<{^_^}> [nixpkgs] @jtojnar merged pull request #37915 → GIMP 2.10 → https://git.io/vxzDu
<{^_^}> [nixpkgs] @jtojnar pushed 11 commits to master: https://git.io/vpBkS
<{^_^}> → 6bf47e0d by @jtojnar: mypaint-brushes: init at 1.3.0
<{^_^}> → 3ebb162d by @jtojnar: gegl_0_4: init at 0.4.0
<{^_^}> → e375bd4a by @jtojnar: gdk_pixbuf: export moduleDir
symphorien has quit [Quit: WeeChat 2.1]
symphorien has joined #nixos
markus1189 has quit [Ping timeout: 240 seconds]
<fendor> when i want to package something from source and it needs to install a daemon, hence uses `sudo make install`... how do correctly package that?
blankhart has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Ping timeout: 256 seconds]
<jtojnar> fendor: by daemon do you mean systemd service?
ThatPako has joined #nixos
<ThatPako> what packages are xrdb and ls hidden in?
<vaibhavsagar> ThatPako: I would expect ls to be in pkgs.coreutils
<pstn> ls is normally a shell builtin, I think.
<ThatPako> Thanks, coreutils made it work
<ThatPako> now I just have to find xrdb
<ThatPako> there's an xrdb package, but I have access to that program without having that package installed so I'm a bit confused
<fendor> jtojnar, access daemon
<pstn> xrdb is in xrdb.
<jtojnar> fendor: not sure what that is
<pstn> Try it with xorg.xrdb
<ThatPako> yea, that works. Thanks!
<fendor> jtojnar, me neither :D
<jtojnar> fendor: but usually you just install to a --prefix=$out (instead of the GNU default /usr/local)
ThatPako has quit [Quit: Lost terminal]
<jtojnar> fendor: if something has FHS path hardcoded, you need to patch it
<jtojnar> and ideally, open an issue/PR upstream
<fendor> jtojnar, the installation wants to change ownership of the access daemon (the package is likwid), which is denied due to insufficient permissions
<ixxie> wasn't there a trick to find which package made a command?
liori has quit [Quit: leaving]
liori has joined #nixos
<fendor> jtojnar, did patch it, i think
<jtojnar> fendor: you cannot change ownership in a package, that needs to be done in a NixOS module
<jtojnar> well, the module would run the service under a user, no need to change ownership
symphorien has quit [Quit: WeeChat 2.1]
<fendor> ok, maybe i am just on the wrong path?
<jtojnar> what is the error?
andrewmiller1 has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/tests/predictable-interface-names: Refactor »: https://git.io/vpBLZ
<jtojnar> fendor: I would use makeFlags = [ "PREFIX=$(out)" "INSTALL_CHOWN=" ];
<fendor> what would that "INSTALL_CHOWN" do
<fendor> ?
<andrewmiller1> hi i'm making a database in a container and researched but to no avail. i know there's a config to turn off the read-only mode. but it's not obvious to me that the standard would be to turn off one of the main functions of nixos. i'm confused. does anybody know the proper way to run a database server when nixos is read only?
jrolfs_ has joined #nixos
<fendor> jtojnar, can you give me some feedback to my default.nix file? i think it could be simplified... https://hastebin.com/hobimuwena.bash
<fendor> my first try on nix expressions
orivej has joined #nixos
<jtojnar> fendor: you can use postPatch = ''patchShebangs directory'';
markus1189 has joined #nixos
<jtojnar> and compiler is included by default
<jtojnar> fendor: and you can also omit the trivial buildPhase and installPhase, these are default in stdenv
<fendor> what does the postPatch do exactly? Also where can i look up the functionality that stdenv provides by default?
<jtojnar> actually, they are wrong, buildPhase = ''
<jtojnar> runHooks preBuild
<jtojnar> make ${makeFlags}
<jtojnar> runHooks postBuild
<jtojnar> '';
<jtojnar> would be more accurate
<fendor> what is the purpose of the hooks?
<jtojnar> fendor: so you could extend the default phases from generic builder
<jtojnar> it is quite verbose
<fendor> is there a documentation of this command, too?
jrolfs_ has quit [Ping timeout: 248 seconds]
<jtojnar> and unless you override it, a phase will run a hook pre${phaseName} before and post${phaseName} after
<fendor> jtojnar, thanks. So, the way to go would probably be to extend generic builder?
<jtojnar> fendor: you can also read nix pills, where they start from a trivial builder and progressively make it more generic, if you want to better understand the design
<jtojnar> !pills
<fendor> already looked over that, just a bit much without practice ^^
<kreetx> how does one add an environment variable to a systemd service?
<kreetx> I guess setting it in the ExecStart string would work, but perhaps there is a more conventional way?
<jtojnar> kreetx: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.env
<kreetx> jtojnar: thanks!
<kreetx> was trying to use the search, but started with "systemd.services" and it looked like what I was looking for was not there. But it was..
symphorien has joined #nixos
<jtojnar> fendor: maybe it setting the sticky bit is the issue https://github.com/RRZE-HPC/likwid/blob/432e996d588f5297572fc490405828ed171bb7a1/Makefile#L286
<jtojnar> fendor: that is not permitted for security reasons (you need to use security.wrappers in NixOS module)
<fendor> jtojnar, yeah, i need to set the msr group, that is a potential security hazard
zybell has quit [Ping timeout: 265 seconds]
<jtojnar> fendor: patching the number four out should probably fix it
nD5Xjz has joined #nixos
<fendor> number four?
<jtojnar> in 4755
symphorien has quit [Quit: WeeChat 2.1]
ambro718 has quit [Quit: Konversation terminated!]
ixxie has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @dywedir opened pull request #39677 → tiled: 1.1.4 -> 1.1.5 → https://git.io/vpBtV
hph^ has quit [Ping timeout: 240 seconds]
<fendor> ok, ill try
<andrewmiller1> everytime i start the server, it get shuts down because it's trying to output it's logging into the read-only store. i can't find any documentation on how to set up databases on nixos. is the nixos module i'm using bugged? or am i supposed to do something that i'm not doing?
ixxie has joined #nixos
<infinisil> andrewmiller1: Well what are you using? What's your config?
<ixxie> jtojnar: thanks for that tip! Worked like a charm :)
<ixxie> weird new defaults
<jtojnar> ixxie: If I missed it in the release notes (and I did on first reading), I would probably be debugging it still
<ixxie> jtojnar: I don't read release notes, but now I think I really should xD
<ixxie> or at least check them when debugging
<fendor> jtojnar, removing the four did not work, altough now the error message has changed
<ixxie> is there a way to get an overview of what versions my explicitly specified packages are in in any particular generation? It would be good to be able to view when version upgrades happen and stuff
<jtojnar> ixxie: maybe you could use https://github.com/Gabriel439/nix-diff and then filter it somehow
humanoyd has joined #nixos
<infinisil> andrewmiller1: And what's the error exactly?
<infinisil> andrewmiller1: Oh and paste the output of running `nix-info` here too
<jtojnar> fendor: I do not see anything wrong
<ixxie> jtojnar: interesting idea; it could also be nice to have the diff of the configuration side by side to that but NixOS doesn't keep those does it?
<ixxie> I mean I have my dotfiles in a repo but its not automatically the case for everybody
Synthetica has quit [Quit: Connection closed for inactivity]
<jtojnar> fendor: maybe try adding V = 1; to the derivation
<fendor> just `V = 1;`?
<jtojnar> fendor, oh, right you are running it manually, add the makeFlags after make command
<fendor> what does that do?
<fendor> oh, sure
<jtojnar> fendor: if you add an attribute to the package, it will be passed to the builder as an environment variable
<jtojnar> and makefile becomes verbose with V=1 in the environment
<fendor> error message does not change, when running manually
<andrewmiller1> infinisil: added :)
<jtojnar> well, when running it manually, it should not even let you install
<jtojnar> into nix store
<jtojnar> fendor: what is your expression now?
<fendor> jtojnar, yeah, thats why i changed prefix to `./install`. https://hastebin.com/luwudozaca.bash
<fendor> i would not know how i can patch the makefile... would i need to patch it in installPhase? or is there a patchphase?
<jtojnar> fendor: oh, right, you are cd-ing into a relative path repeatedly
<jtojnar> the makefile assumes an absolute path
<fendor> oh, dammit :D
<jtojnar> fendor: it works on the previous lines because each statement is executed independently
<jtojnar> but the if is a single statement
<fendor> jtojnar, ok, then the manual installation works fine
<fendor> but the manual execution fails
hph^ has joined #nixos
<jtojnar> well, you probably need a nixos module to set setuid
<{^_^}> [nixpkgs] @viric merged pull request #39672 → gnunet: Add gnunet_git. → https://git.io/vpBJS
<{^_^}> [nixpkgs] @viric pushed 2 commits to master: https://git.io/vpBqA
<{^_^}> → 49003e88 by Philipp Steinpaß: gnunet: Add gnunet_git.
<{^_^}> → 613e1485 by @viric: Merge pull request #39672 from pstn/gnunet-git
<infinisil> andrewmiller1: Hmm, does neo4j work outside of containers?
<fendor> jtojnar, doesnt sound trivial
<jtojnar> fendor: you will want to have a module for the service anyway
<fendor> ok?
<fendor> is that covered in the nix manual?
astrofog has joined #nixos
symphorien has joined #nixos
jperras has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « instead: 3.2.0 -> 3.2.1 »: https://git.io/vpBmn
<andrewmiller1> infinisil: no. i tried wheel, sudo su, and sudo -i. all the same input and output
<andrewmiller1> and by wheel, i instead mean my normal user without using sudo
<bhipple[m]> What's the best way to copy between single-user installs? It looks like nix-copy-closure looks for a socket and a nix daemon on the remote store end.
<infinisil> andrewmiller1: I mean actually with your own nixos system, not in a container. Like adding services.neo4j.enable = true; to your configuration.nix
<andrewmiller1> infinisil: correct
Izorkin has quit [Read error: No route to host]
Izorkin has joined #nixos
<infinisil> andrewmiller1: And the error with nix-info (error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system) is also there outside the container?
<bhipple[m]> I've come up with setting the src machine up as a binary cache with nix-serve, and the remote machine pulling from it; but if I'd like to push instead of pull pkgs is there a good way to do it?
jperras has quit [Ping timeout: 240 seconds]
astrofog has quit [Quit: Quite]
<vaibhavsagar> bhipple[m]: have you seen `nix copy --help`?
<vaibhavsagar> it looks like that has more features than nix-copy-closure
<bhipple[m]> nix copy immediately kills the process and just prints the pid, even with `-vvvvv`, but I haven't debugged why.
<{^_^}> [nixpkgs] @roosemberth closed pull request #37020 → init Limesuite, SoapySDR → https://git.io/vxIwJ
<bhipple[m]> I'm digging through the src code to try to determine if these bottom out in the same lib store functions under the hood and just have different front-ends (I think they do)
<{^_^}> [nixpkgs] @pSub merged pull request #39677 → tiled: 1.1.4 -> 1.1.5 → https://git.io/vpBtV
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpBmK
<{^_^}> → e55677bf by @dywedir: tiled: 1.1.4 -> 1.1.5
<{^_^}> → 8d6d1363 by @pSub: Merge pull request #39677 from dywedir/tiled
<bhipple[m]> I'm also in an environment where all ssh is done with Kerberos instead of keys or username:pw; it looks like I'll also have to make some patches for that. (If there's any prior art here let me know!)
humanoyd has quit [Ping timeout: 240 seconds]
hph^ has quit [Ping timeout: 264 seconds]
jrolfs_ has joined #nixos
<ixxie> andrewmiller1: I'm curious what you are setting up with the Graph DB; I am gonna be working with Arango in the near future
<ixxie> also in a container although unfortunately not with Nix
<andrewmiller1> infinisil: added
mfiano has left #nixos ["WeeChat 2.0.1"]
<andrewmiller1> ixxie: managing my finances and personal productivity system
<gchristensen> how do finances fit a graph db?
<infinisil> andrewmiller1: That wasn't what I asked for
<andrewmiller1> ixxie: tasks, projects, reminders, reference files, contacts, email, journals.. i'll add my whole life bit by bit when possible
<infinisil> 16:51:13 <infinisil> andrewmiller1: And the error with nix-info (error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system) is also there outside the container?
<andrewmiller1> infinisil: yes
<ixxie> andrewmiller1: thats awesome so you are using a graph DB as a personal organizer! Are you developing it into an application or is this just for fun?
<andrewmiller1> infinisil: no. sorry! the answer is no
<infinisil> andrewmiller1: Alright, but neo4j isn't working either in your host system, right?
<andrewmiller1> infinisil: correct
xcmw has joined #nixos
<infinisil> I suspect the neo4j module might have been used by very few people so nobody noticed it breaking
<infinisil> It certainly shouldn't be it's trying to use /nix/store/... as a data directory
<infinisil> Maybe an update broke the module
<andrewmiller1> it's data directory is still var. it just also uses store..share too for some reason
pic1234 has quit [Remote host closed the connection]
<infinisil> Can you file an issue for this and ping the people that touched the module before?
<andrewmiller1> infinisil: sure :) how do i ping people?
<MichaelRaskin> You want an arbitrary graph DB?
<MichaelRaskin> Use Apache Jena (with Joseki if needed)
<infinisil> andrewmiller1: Just something like @dtzWill on github, here's the neo4j module, which also shows the people that previously touched it: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/neo4j.nix
<andrewmiller1> MichaelRaskin: i want to seamlessly use my same set up essentially to develop software
<MichaelRaskin> Ah I see
<andrewmiller1> infinisil: Ah thanks. is it appropriate to ping all people who've touched the module?
i-am-the-slime has joined #nixos
<infinisil> andrewmiller1: Some people only touch stuff for treewide modifications, so often they don't know anything about the module
<infinisil> You can look at the history and decide with common sense who seems to be somebody using the module: https://github.com/NixOS/nixpkgs/commits/master/nixos/modules/services/databases/neo4j.nix
ixxie has quit [Quit: Lost terminal]
asuryawanshi has quit [Ping timeout: 248 seconds]
civodul has joined #nixos
<infinisil> I'd just ping offlinehacker, Hinidu and dtzWill in this case
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
jacob__ has joined #nixos
zybell_ has joined #nixos
asuryawanshi has joined #nixos
jperras has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
asuryawanshi has joined #nixos
jperras has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dezgeg merged pull request #39633 → chromium: skia patch appears to be still needed with 66 on aarch64 → https://git.io/vp4TC
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/vpBOa
<{^_^}> → a07881c8 by @Ekleog: chromium: skia patch appears to be still needed with 66 on aarch64
<{^_^}> → 905b03bc by @Ekleog: chromium: fix build on aarch64
asuryawanshi has quit [Ping timeout: 264 seconds]
<ryantrinkle> now that nix-push is gone, how can i sign things and push them to S3? it looks like nix copy doesn't support --key-file
<dtz> Yes file an issue please! I use it a little but in a pinned version haha so guess it broke at some point.
hakujin has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #39678 → awscli: 1.14.50 -> 1.15.10; fix build → https://git.io/vpBO7
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
rosa has joined #nixos
asuryawanshi has joined #nixos
rosa has quit [Quit: rosa]
daveo has joined #nixos
<srhb> ryantrinkle: iirc you don't need to anymore as the nix daemon will sign all paths as they are built, if configured with a secret key file.
asuryawanshi has quit [Ping timeout: 265 seconds]
<srhb> ryantrinkle: You can use nix sign-paths to catch ones that aren't yet signed
<ryantrinkle> srhb: ah, ok; how can i check whether a given path is signed?
<srhb> ryantrinkle: Uh, good question! Maybe just sign everything, nix sign-paths --all
<srhb> ryantrinkle: Aside from querying the sqlite file I don't rightly know how to check :P
<ryantrinkle> is the format of this stuff the same? nix copy doesn't seem to be making narinfo files
<ryantrinkle> oh, this doesn't seem to at all do the same thing :-/
<ryantrinkle> i was using nix-push to build loads of NARs to put on S3 for nixcache.reflex-frp.org
<srhb> Ah, okay. No, I think normally nix-serve generates those on the fly.
m0rphism has quit [Ping timeout: 256 seconds]
<ryantrinkle> yeah, that's insanely slow though
<srhb> But I haven't used it in a while.
<srhb> Yeah
<ryantrinkle> i was doing that back in the day
<gchristensen> you could get nix1 ... :/
<ryantrinkle> gchristensen: i suppose i could
<ryantrinkle> nix 2.0 really does not seem like an upgrade so far, lol
<srhb> No, lots of holes here and there.
<gchristensen> my impression is it just had to be done or it may never happen
<gchristensen> ryantrinkle: maybe open an issue?
[Leary] has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #39679 → buildbot: 1.1.0 -> 1.1.1, fix build → https://git.io/vpB3H
logzet has quit [Remote host closed the connection]
<srhb> It probably wouldn't be hard to wrap something around dump-path, but meh...
asuryawanshi has joined #nixos
knupfer has joined #nixos
jperras has joined #nixos
<fadenb> Has anyone some overlay adding custom python packages lying around?
<fadenb> I tried to create one but fail as wrapPythonPrograms no longer adds a library to the path
<fadenb> before I just added it in my nixpkgs fork and it was working fine
Guest16581 has quit [Ping timeout: 240 seconds]
<ryantrinkle> with nix1: $ nix-repl
<ryantrinkle> error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
<ryantrinkle> various things seem to get that error
<ryantrinkle> (including nix-push)
<gchristensen> `nix repl`, or NIX_REMOTE=daemon nix-repl
hph^ has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
<ryantrinkle> gchristensen: ah, the latter works
drakonis has joined #nixos
ivanivan has joined #nixos
<ivanivan> I bake some vim-plugins into my Vim derivation on nixos, which works great for the most part,
<ivanivan> but I'm trying to figure out why /run/current-system/sw/share/vim-plugins/ is empty.
<ivanivan> A plugin in the store looks like /nix/store/xxx-vimplugin-foo/share/vim-plugins/foo/plugin/foo.vim
<ivanivan> but it doesn't get symlinked into my system profile's share/vim-plugins/ directory
<ivanivan> Anybody know why, or how I can make it link? Usually I don't need the link, but I want a stable reference to one of the plugins from ~/.vim/
<{^_^}> [nixpkgs] @dezgeg merged pull request #39669 → ldb: 1.1.27 → 1.1.31 → https://git.io/vp4xu
<{^_^}> [nixpkgs] @dezgeg pushed commit from @bbigras to master « ldb: 1.1.27 → 1.1.31 »: https://git.io/vpBs3
vcunat has joined #nixos
mkoenig_ has joined #nixos
m0rphism has joined #nixos
xeji has joined #nixos
mkoenig has quit [Ping timeout: 264 seconds]
<vaibhavsagar> can I change the permissions of a tmp directory to allow my tests to create subdirectories?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
<gchristensen> I'm not sure what this means, can you say more vaibhavsagar?
<vaibhavsagar> nvm, I think chmod 777 does what I want
<vaibhavsagar> I have a package that runs tests on its own git repo
<vaibhavsagar> so I've been having trouble running those tests with Nix, but I'm close to figuring it out
<{^_^}> [nixpkgs] @xeji merged pull request #39513 → qemu: 2.11.1 -> 2.12.0 → https://git.io/vpC4E
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/vpBsx
<{^_^}> → 3e3b39f1 by @xeji: qemu: 2.11.1 -> 2.12.0
<{^_^}> → 3d4aa7e9 by @dtzWill: qemu: workaround 'struct sysinfo' conflict musl <--> linux
<{^_^}> → 00610fe0 by @xeji: qemu-riscv: remove, obsolete with qemu 2.12
xcmw has quit [Client Quit]
xcmw has joined #nixos
vcunat has quit [Ping timeout: 256 seconds]
<infinisil> Oh my god seriously, now that I desperately need eclipse to work it suddenly breaks? -.-
<MichaelRaskin> On all three channels?
<infinisil> It might be a java update that's causing this, every project is giving me a build path error
<infinisil> Using unstable, so I guess I should try 18.03
jrolfs_ has quit [Ping timeout: 264 seconds]
rbrewer123 has joined #nixos
<rbrewer123> can anybody help me get an overlay to work with nixops?
thc202 has quit [Ping timeout: 256 seconds]
jrolfs_ has joined #nixos
<clever> Myrl-saki: pong
rosa has joined #nixos
<jbetz_> relocation error: /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libresolv.so.2: symbol __resolv_context_get_preinit, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
<jbetz_> on 18.03, unstable channel. anyone know what this is about?
<Orbstheorem[m]> Is there any way to use nix-build to make a static version of a package in nixpkgs? (I want to run it in another system).
<jbetz_> http://lpaste.net/4134574628548902912 <-- full output + nixos config
<clever> Orbstheorem[m]: sometimes its enough to call makeStaticLibraries on the stdenv before letting a package use it, sometimes it needs more work
<clever> Orbstheorem[m]: you can also use nix-bundle to just ship an entire nix store and a namespacing util
rosa has quit [Client Quit]
ivanivan has quit [Quit: WeeChat 2.0]
rosa has joined #nixos
rosa has quit [Client Quit]
ma27 has quit [Quit: WeeChat 2.0]
vcunat has joined #nixos
ma27 has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
johnw has joined #nixos
<elvishjerricco> clever: TIL about nix-bundle. That's super cool.
asuryawanshi has quit [Remote host closed the connection]
<clever> elvishjerricco: here is soemthing i did recently with it: https://github.com/input-output-hk/daedalus/blob/develop/installers/nix/nix-installer.nix#L4-L8
<clever> elvishjerricco: when the resulting bundle is ran, the installer script (line 90) gets ran in a namespace
jrolfs_ has joined #nixos
<clever> but i ran into performance issues, it has to untar ~300mb every time that happens
<clever> hence it being an installer script, not the real application
<clever> but for smaller nix packages, you can just put the full app there
kreetx has quit [Quit: leaving]
ixxie has joined #nixos
AGTT has joined #nixos
<elvishjerricco> clever: Whoa. I wonder how hard it would be to create portable nix binaries. Would be cool to just ship nix and use chroot stores with `nix run` to do everything
<clever> elvishjerricco: that is the rough plan i had when making nix-installer.nix
<{^_^}> [nixpkgs] @xeji closed pull request #35697 → hamlib: 1.2.15.3 -> 3.1 → https://git.io/vA6ki
<clever> elvishjerricco: it gives you a fully working shell with nix, and can optionally have other derivations in the initial config
mlieberman85 has joined #nixos
rihards has quit [Quit: rihards]
<clever> elvishjerricco: but due to problems with manifest.nix, it currently doesnt support nix-env -i
<clever> and due to namespace issues, it doesnt support garbage collection
jrolfs_ has quit [Ping timeout: 264 seconds]
<ixxie> how do I bump the kernel version in NixOS?
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #35705 → gdbm: 1.14 -> 1.14.1 → https://git.io/vA6IU
<sphalerite> ixxie: as in use a newer one or update the kernel in nixpkgs?
ndrei- has joined #nixos
<{^_^}> [nixpkgs] @bgamari opened pull request #39680 → nixos/acme: Fix broken post-stop script → https://git.io/vpBn2
<{^_^}> [nixpkgs] @xeji closed pull request #35706 → geos: 3.6.1 -> 3.6.2 → https://git.io/vA6II
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #35712 → freetds: 1.00.70 -> 1.00.80 → https://git.io/vA6L3
<ixxie> sphalerite: use a newer one
<ixxie> sphalerite: no config options for that?
<elvishjerricco> Is there any way to tell if you're in a `nix run` or not? I would like to have my bash prompt turn green in `nix run` environments.
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #35800 → libqrencode: 3.4.4 -> 4.0.0 → https://git.io/vA6OD
<sphalerite> ixxie: boot.kernelPackages = pkgs.linuxPackages_latest
<ixxie> cheers sphalerite ^^
<mlieberman85> nixos-container doesn't support the "-I" flag to add a path, and I need to call nixos-container via "sudo" and have no permission to push environment variables via sudo. Is there another option?
<sphalerite> elvishjerricco: hmm, doesn't look like it. Having a full store path in $PATH seemsl ike the only way to tell as far as I can see
<sphalerite> mlieberman85: can you do sudo env NIX_PATH=… nixos-container … ?
<mlieberman85> let me double check
jrolfs_ has quit [Ping timeout: 240 seconds]
jrolfs_ has joined #nixos
<elvishjerricco> sphalerite: Darn, yea `diff <(nix run nixpkgs.hello -c env) <(env)` doesn't show anything interesting :/
<sphalerite> elvishjerricco: doesn't seem hard to do though.
<sphalerite> as in, hard to add something like that to nix
ixxie has quit [Quit: Lost terminal]
<mlieberman85> oh right, yeah I only have access to nixos-container * in sudoers.
<mlieberman85> so can't run env
<sphalerite> mlieberman85: then I think you may be stuck, the only remaining option being to replace all the <foo> things in whatever you're building :/
jrolfs_ has quit [Ping timeout: 240 seconds]
<sphalerite> or to ask for more permissions :)
<mlieberman85> yeah. thanks. it's mostly a work around for a test. this nix module gets installed in our production servers into the path that everything has access to but on our CI machines there's no access. I think the simplest case is to just point to a non abstract path in the test.
rosa has joined #nixos
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #36623 → mpg123: 1.25.8 -> 1.25.10 → https://git.io/vApLv
MR[m]1 has left #nixos ["User left"]
raynold has quit [Quit: Connection closed for inactivity]
rosa has quit [Quit: rosa]
furon has joined #nixos
jperras has joined #nixos
boomshroom has joined #nixos
<boomshroom> nixos-aarch64
<boomshroom> Hello!
lwf has left #nixos ["Leaving"]
aarvar has quit [Ping timeout: 240 seconds]
<drakonis> hello friend
goibhniu has quit [Ping timeout: 276 seconds]
concatime has joined #nixos
<concatime> Hi guys (and girls). Is `clangd` available in NixOS?
<drakonis> well yes
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @jflanglois closed pull request #39358 → (hitch + nixos/services/hitch): (init at 1.4.8) → https://git.io/vp3eZ
ixxie has joined #nixos
<drakonis> nevermind, no
<drakonis> no clangd yet
<{^_^}> [nixpkgs] @jflanglois reopened pull request #39358 → (hitch + nixos/services/hitch): (init at 1.4.8) → https://git.io/vp3eZ
<drakonis> only the compiler is available
<concatime> But when I run `nix-shell -p clang --run 'which clangd'`, it works!
<ixxie> jtojnar: I noticed you are active in some fwupd / LVFS related issues; is there an advantage - besides convenience - to using that sort of thing over downloading a .exe and installing via USB?
<drakonis> hmm
<concatime> But when I installed clang from configuration.nix, it installed the wrapper of clang
<drakonis> check which clang version it installed
<drakonis> clangd wasn't available until clang5
<drakonis> hmm, for some reason, using nix-env will default to clang 6
<drakonis> nevermind, its defaulting to 5
<concatime> I think the wrapper does not provide `clangd`.
<drakonis> the wrapper does not, but a regular clang install does
<heatm1s3r> is there a go-to guide on doing development with nix-shell? When doing Python development I would like to replace virtualenv with nix-shell and I am not seeing an obvious convention for doing so.
<drakonis> the default install is the wrapper for clang 5
<drakonis> i assume it is due to clang-tools not being available for any versions higher or lower tha n5
<drakonis> than 5
<drakonis> heatm1s3r, the nixpkgs manual covers that
<concatime> But clangd is should be available in clang5
<{^_^}> [nixpkgs] @dotlambda merged pull request #37762 → pythonPackages.hdbscan: init at 0.8.12 → https://git.io/vxR6X
<{^_^}> [nixpkgs] @dotlambda pushed commit from @ixxie to master « pythonPackages.hdbscan: init at 0.8.12 (#37762) »: https://git.io/vpBCU
<drakonis> it is!
<drakonis> i just installed clang5 and it is showing up there
asuryawanshi has joined #nixos
<drakonis> that works
<simpson> heatm1s3r: The general strategy is to bring a bunch of stuff from pythonPackages into scope.
<drakonis> do remember to replace 27 with 36 where necessary
<simpson> Sometimes you can just do a nix-shell shebang for single-module scripts: https://github.com/matadorcloud/promqueen/blob/master/promq.py#L1-L3
<drakonis> i have no idea of what i'm seeing if this isn't clangd i'm running right now
<concatime> Ok, I will investigate and will come back when done.
nuncanada has quit [Quit: Leaving]
<drakonis> check which clang version you have installed by default, as versions below clang 5 don't have clangd
<sphalerite> elvishjerricco: http://ix.io/193h
justbeingglad has joined #nixos
<concatime> @drakonis In my configuration.nix (config.users.packages), If I add clang, or clang_6, there is no `clangd`.
justbeingglad has left #nixos [#nixos]
<concatime> But, If I add `llvmPackages.clang-unwrapped`, I get the `clangd`.
<drakonis> don't put clang_6
<drakonis> clang on its own gives clangd but clang_6 does not
<drakonis> because clang wrapper woop
<concatime> Yes it does when using nix-end: `nix-shell -p clang_6 --run 'clangd --version'`
<drakonis> this should be checked up
<concatime> *env
<drakonis> using nix-env doesn't give me clangd with clang_6 but clang does
<jtojnar> ixxie: I really have no idea, I only picked up fwupd because it was broken and gnome-software depended on it
<{^_^}> [nixpkgs] @Mic92 merged pull request #39597 → bundler: 1.14.6 -> 1.16.1 → https://git.io/vplx0
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/vpBC6
<{^_^}> → c56c0ac9 by @polynomial: bundler: 1.14.6 -> 1.16.1
<{^_^}> → 8c733b17 by @Mic92: Merge pull request #39597 from Mic92/bundler
<{^_^}> → 0a973b99 by @Mic92: vagrant: 2.0.2 -> 2.0.4
<jtojnar> ixxie: but I guess it is convenient, the correct blob will be chosen and downloaded automatically, beats crawling the terrible vendor websites
mmlb has quit [Ping timeout: 240 seconds]
jrolfs_ has quit [Ping timeout: 276 seconds]
bpa has joined #nixos
<ixxie> jtojnar: well, in my case its a laptop so just one website to hit; but I set it up anyway just to see if I could get my weird ACPI boot error to dissappear
<ixxie> but that appears to be a long standing bug with almost no noticable impact on usage so I think they just don't prioritize it
<ixxie> anyway I had just done the USB update so there was nothing left to get
<{^_^}> [nixpkgs] @pstn opened pull request #39681 → nixos/gnunet: create switch for package. → https://git.io/vpBCh
concatime has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #39340 → nixos/networkd: wait for udev to settle before starting networkd → https://git.io/vpOVq
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpBWt
<{^_^}> → 236703f9 by @xeji: nixos/systemd-networkd: wait for udev to settle
<{^_^}> → 1937b810 by @xeji: Merge pull request #39340 from xeji/interim-fix-39069
<{^_^}> [nixpkgs] @xeji merged pull request #36005 → rtaudio: 4.1.2 -> 5.0.0 → https://git.io/vAPXD
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpBW4
<{^_^}> → d37b43f4 by @ryantm: rtaudio: 4.1.2 -> 5.0.0
<{^_^}> → ef2b9b6b by @xeji: Merge pull request #36005 from ryantm/auto-update/rtaudio-4.1.2-to-5.0.0
griff_ has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
<dtz> does clangd work?? haha haven't poked at it
ixxie has joined #nixos
<dtz> NixOS module for clangd would be sweeeeet :P
<drakonis> to have a clangd module, it would be nice to clean up the clang packages
<drakonis> the 6.0 wrapper only pulls in the compiler
<infinisil> Whoa, an LSP backend for C/C++ :O
<drakonis> clang :o
<{^_^}> [nix] @shlevy pushed commit from @timsears to master « add tests for builtins.add »: https://git.io/vpBWj
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #38066 → calibre: remove unnecessary patch → https://git.io/vxw9q
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/vpBlL
<{^_^}> → cc1ab741 by @jluttine: calibre: remove unnecessary patch
<{^_^}> → 6cc732eb by @AndersonTorres: Merge pull request #38066 from jluttine/calibre-3.20.0
griff_ has quit [Ping timeout: 240 seconds]
paraseba has quit [Read error: Connection reset by peer]
fendor has quit [Ping timeout: 240 seconds]
<pemeunier> I'm having trouble packaging a python application, nix complains about not finding sip, even though I've added it to the propagatedBuildInputs. Other packages are found correctly, though. Any idea?
<pemeunier> (my experience with the nix+python ecosystem is almost zero)
<lejonet> pemeunier: is it a python library that the application uses perhaps?
oida has quit [Remote host closed the connection]
hph^ has quit [Ping timeout: 240 seconds]
mlieberman85 has quit [Quit: Page closed]
oida has joined #nixos
pie__ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39636 → [wip] netbsd: cleanups → https://git.io/vp4qt
<{^_^}> [nixpkgs] @matthewbauer pushed 15 commits to master: https://git.io/vpB8G
<{^_^}> → a026242e by @matthewbauer: netbsd: remove broken attributes
blankhart has joined #nixos
<{^_^}> → 4539f1f2 by @matthewbauer: netbsd: install db.h to compat
<{^_^}> → e521bada by @matthewbauer: netbsd: propagate compat
ndrei- has quit [Ping timeout: 256 seconds]
<ixxie> pemeunier: can you share the code in a gist?
<ixxie> ideally also the error
paraseba has joined #nixos
jesper has joined #nixos
hph^ has joined #nixos
knupfer has quit [Remote host closed the connection]
mkoenig has joined #nixos
<daveo> How do I install the development library for sqllite?
<sphalerite> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite> basically, nix-shell -p sqlite3
mkoenig_ has quit [Ping timeout: 264 seconds]
<daveo> (The equivalent of libsqlite-dev in ubuntu)
<boomshroom> sphalerite: That's much easier than typing an explanation manually.
<sphalerite> boomshroom: that's why we have it ;)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39634 → Replace netcat-openbsd with libressl → https://git.io/vp4IP
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/vpB4J
<{^_^}> → 99b8d106 by @matthewbauer: netcat-gnu: move to pkgs/tools/networking/netcat
<{^_^}> → 949bb988 by @matthewbauer: libressl: build netcat
<{^_^}> → 3c3b8223 by @matthewbauer: netcat-openbsd: remove
<sphalerite> !factoids
<{^_^}> Have a helpful Nix factoid? Send a PR! https://github.com/grahamc/ofborg/blob/released/factoids.toml
<sphalerite> boomshroom: ^
<daveo> [dw@shapeshift:~]$ nix-shell -p sqlite3
<daveo> error: undefined variable 'sqlite3' at (string):1:94
<daveo> wait got it
<sphalerite> daveo: my bad, it's just sqlite, not sqlite3
<daveo> was nix-shell -p sqlite
<boomshroom> daveo: What language are you using?
<daveo> ruby
<daveo> using the mailcatcher gem
<daveo> gem install mailcatcher
<sphalerite> daveo: mailcatcher is in nixpkgs
coot has joined #nixos
<daveo> well sweet
<daveo> and it installed after the nix-shell -p sqlite
<daveo> that will probably also solve problems I had when trying to install the ffi gem
<boomshroom> daveo: Installing with `nix-env -iA nixos.mailcatcher` should work regardless of nix-shell.
<daveo> mailcatcher and ffi are installed now
<daveo> sweet
<daveo> going to see if another project I was working on can benefit from this as well
<boomshroom> daveo: Are you trying to use mailcatcher in a ruby project, or run it as a binary?
<daveo> so what is nix-shell -p?
<daveo> binary
<daveo> but I should be able to install the gem and run the binary for it
<boomshroom> daveo: nix-shell -p gives you a temporary environment that can access the programs listed.
<daveo> I have not been able to do that without adding the gem bin directory listed in `gem env` to my path
<symphorien> daveo: I may be mistaken, but if you gem install mailcatcher, the resulting binary will depend on /nix/store/...sqlite3.so but will not put a gc root on it, and you may thus garbage collect sqlite3.so, effectively breaking mailcatcher
<daveo> it has been a bit of a pain and I never have had to do that before
<boomshroom> daveo: A good rule of thumb with Nix is that if it's not in nixpkgs, it's better to write a derivation than to use the language's package manager.
<symphorien> so I think you should install mailcatcher with nix if possible
<boomshroom> daveo: In your case, the hard work is already done so you just need to install the existing package.
<daveo> mailcatcher is working with the gem install
<sphalerite> it might stop working in the future though, that's the problem
<sphalerite> s/might/probably will/
<boomshroom> daveo: It won't work after a garbage collection.
<symphorien> daveo: close the nix-shell, run nix-collect-garbage and it will likely break
<daveo> so I'm, for the first time, feeling a bit uneasy here
<daveo> having nix as something that absolutely has to replace npm, rubygems or gradle(?) seems a bit off
<daveo> help me out here
<sphalerite> those make assumptions that nix breaks. If you want to use them, stick with a traditional distro
<boomshroom> daveo: Honestly, even before Nix, I'd never install binaries outside of the system package manager.
<daveo> what languages do you all mostly develop in?
<symphorien> daveo: there are tools like yarn2nix to replace yarn (and npm) when you want to keep the binary
phenoble has joined #nixos
<symphorien> there is probably a gem2nix as well
hph^ has quit [Ping timeout: 240 seconds]
<boomshroom> daveo: I mostly use Rust and Haskell. Both are very easy to integrate with Nix, automatically or manually.
<symphorien> gradle I doubt that though
<andrewmiller1> ixxie: you'll have to let me know how you're graph db goes :)
<boomshroom> daveo: The real question is why are you building mailcatcher when it's already been built for you?
<daveo> is that because Rust and Haskell are special or should any language integrate with Nix
<daveo> mailcatcher is not the only thing I need
<daveo> for other projects I may use another Ruby library with no nix derivation written yet for it
thc202 has joined #nixos
<symphorien> daveo: https://nixos.org/nixpkgs/manual/#chap-language-support see this section for how to integrate common languages with nix
<boomshroom> daveo: It's because they both tools writen to generate Nix packages from existing projects: cabal2nix, stack2nix, and cargo2nix. If you've used ArchLinux, writing custom Nix expresions is pretty close to writing PKGBUILDs and isn't that hard when you get the hang of it.
<Judson> Maven has support. Does Gradle not?
<Judson> Did nix-shell --add-roots stop working?
rosa has joined #nixos
<symphorien> apparently there is a tool called bundix which generates a nix expression for a gem https://nixos.org/nixpkgs/manual/#sec-language-ruby
<phenoble> Hi everyone, I was recommended to consider Nix as a package manager but I am not sure whether it fits. Question: can you have Nix work in a "system-wide scope"? That is, without any "sealed environments", without using nix-shell to setup anything for you?
<Judson> bundix is definitely what you want to use.
<avn> daveo: is a `bundix` for ruby stuff
<Judson> phenoble, that's it's primary purpose
<daveo> well if cabal2nix, cargo2nix, etc make cabal and cargo work fine that is promising. I supposed npm2nix and gem2nix solve problems for npm and rubygems respectively as long as they are solid
<boomshroom> phenoble: Not if you're a developper. If you're just installing binaries to run, then you can, but you'd be missing most of the power it provides.
<Judson> daveo, afaik you want bundix over gem2nix usually.
<daveo> sweet
<daveo> let me check it out.
<phenoble> Judson: oh, wonderful. So it could, say, live in peaceful coexistence with an existing package-manager.
<andrewmiller1> phenoble: nix sets up a nix store. the stuff in the nix store is read-only. you mannge the data in the /var area, which is the only other part of your /nix directory. now to answer your question: anything outside the nix store is exactly like any other distribution
<Judson> phenoble, what's your use case?
<{^_^}> [nixpkgs] @xeji closed pull request #36573 → nano: 2.9.3 -> 2.9.4 → https://git.io/vAxWY
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #39682 → nixpkgs: setup self-referential symlink → https://git.io/vpB4N
<sphalerite> daveo: it varies. In all cases, you'll need to work a little differently (typically, use nix expression generators and nix-shell rather than the language package manager directly). I'd say the Haskell experience is decidedly *better* than without nix.
<MichaelRaskin> I did use NixOS using only systemPackages for some time
<simpson> phenoble: Yes, but often that leads to sadness, since existing package managers are typically not that great. What are you planning to build?
<Judson> Yes, from what I understand it lives peacefully. I've heard of little inconveniences if the /nix/store directory isn't set up correctly. I can't say I understand those well.
rosa has quit [Client Quit]
<phenoble> boomshroom: The main use-case I have in mind is to manage a(n ever growing) list of applications to be built from github repositories, managing their dependencies, and installing them in some meaningful ("local") directory.
<phenoble> @Judson
<sphalerite> daveo: but 90% of tutorials on the internet probably won't work verbatim
<MichaelRaskin> phenoble: that seems completely fine use of Nix
<phenoble> MichaelRaskin: excellent, thank you.
<simpson> phenoble: Is it cool if that local directory is just a symlink into the Nix store?
<simpson> 'Cause then you can cheat quite a bit!
<phenoble> My main motivation would be to synchronize my work environment between my workplace and my home system. I keep refining my tools at home, and I'd like to use them with minimal effort in a changing environment at work.
<andrewmiller1> phenoble: nix is a language. nixpkgs is run by nix. nixos is build with the spirit of the language
<boomshroom> phenoble: That's a great way to use Nix. The systemPackages attribute of NixOS does exactly that, provided you give instructions on how to build each package that isn't already provided.
<daveo> so if I'm working with other peoples projects they are unlikely at this point to have integrated nix into their npm projects or ruby projects, right? In that case things like bundix, gem2nix, yarn2nix, npm2nix provide maybe not an ideal solution, but a workable one. Otherwise, Nix gives you another (better?) way to manage dependencies?
<MichaelRaskin> I do recommend to a) skim Nix and Nixpkgs manuals in advance b) at least if you find some exact model, once you have it — spend a bit of time to make sure you use multi-user Nix setup with daemona and full sandboxing
<simpson> phenoble: The easy way is to have a shell.nix which describes your tools, and use nix-shell in all places.
<andrewmiller1> phenoble: so you can use nix in applications. it doesn't have to be what we like to call pure
<manveru> daveo: i work with other people that only use bundler/yarn, so i use bundix and yarn2nix to manage the dependencies and they can work as usual
<daveo> Judson: thanks
<phenoble> simpson: I'd very much like to avoid having any form indirection. I use xmonad/tux/emacs and many many other smaller tools all working together. I cannot imagine how this should work using some shell I'd have to start first to interact with any of it.
blankhart has quit [Ping timeout: 260 seconds]
rosa has joined #nixos
<daveo> manveru: That is great.
<{^_^}> [nixpkgs] @matthewbauer opened pull request #39683 → libOnly: considered harmful → https://git.io/vpBBU
<manveru> for yarn2nix, you don't need to keep a separate lockfile even, the yarn.lock can be used for that... for bundler you need the gemset.nix since Gemfile.lock doesn't store any checksums for gems
<MichaelRaskin> phenoble: you can build a sealed environment with Nix, then symlink it to a fixed place and just add it to $PATH
<manveru> but bundix caches everything, so rerunning `bundix -l` usually only takes a second
<simpson> phenoble: Eventually you may come to have *all* of that in Nix. I totally understand your trepidation though.
<phenoble> boomshroom: I have an Ubuntu system at home, and will soon have a Debian system at work. I will not be able (or, well, even willing - at home) to use NixOS
<Judson> Related to phenoble's case: is there a way to use modules for per-user config? I imagine replacing a dotfiles directory.
<andrewmiller1> Judson: of course
<phenoble> MichaelRaskin: but I don't want a sealed environment ^^
<Judson> andrewmiller1, are there examples of that in practice?
<boomshroom> phenoble: The same kind of setup is possible with a hosted installation, but with slightly more setup.
<{^_^}> [nixpkgs] @xeji merged pull request #35361 → monkeysphere: wrap the monkeysphere executable with the necessary crypto libraries … → https://git.io/vAg9P
<{^_^}> [nixpkgs] @matthewbauer pushed to master « libressl: fix eval »: https://git.io/vpBBq
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpBBL
<{^_^}> → 8c5da271 by @sconybeare: monkeysphere: wrap the monkeysphere executable with the necessary crypto libraries for ssh-proxycommand
<{^_^}> → 5e06ec7a by @xeji: Merge pull request #35361 from sconybeare/master
<MichaelRaskin> phenoble: I think what you don't want is something you need to re-initialize (like nix-shell)
<MichaelRaskin> But you can have a fixed place ~/nix-tools or whatever and add ~/nix-tools/bin to $PATH
<manveru> daveo: another tip i have for your is to use direnv.net :)
<Judson> I think I've looked at that a little bit. My first blush was that it wanted to be completely in controll, symphorien?
<daveo> manveru: not sure I know what that is
<MichaelRaskin> ~/nix-tools will be a symlink to the output of buildEnv (which constructs an environment), but you will just have some tools in $PATH
<boomshroom> phenoble: In this case, you'd set up a user profile and link a folder like ~/.nix-profile to the latest generation. Then you add ~/.nix-profile/bin to your path.
<manveru> daveo: that way you can put `use nix` in your .envrc, and everytime you enter the directory, your nix-shell is setup (but using your normal shell)
<phenoble> boomshroom: When you say hosted installation, you mean to have some "defined environment" stored remotely, which one would make useable wherever one happens to be?
<Judson> daveo, I envy you the new discovery of direnv!
<daveo> manveru: well that is awesome
<boomshroom> phenoble: I don't know what the word should be, I really meant a non-NixOS system.
<phenoble> MichaelRaskin: I think that is correct. Though I wouldn't mind having to (automatically?) run some command at, say, my workplace whenever I log on, first thing in the morning.
<Judson> Between direnv and nix-shell, you can get something like RVM but for any dev environment - including "this project needs postgres, that one needs MariaDB"
[Leary] has joined #nixos
<phenoble> MichaelRaskin: Having a place, accessible from the "outside", where binaries can live and $PATH can point to sounds exactly what I think I want.
<daveo> phenoble: why no NixOS home? I am absolutely loving it...
<daveo> Judson: sounds awesome
<MichaelRaskin> daveo: because learning to configure hardware in a new setting?
<daveo> so the .envrc goes in each individual project directory?
<MichaelRaskin> I can absolutely understand the lack of desire to do this
<manveru> daveo: yeah
<daveo> manveru: nice
<phenoble> daveo: Well, before me having read that question of yours just now - I have not spent a minute thinking about it yet, to be honest. I am actually not all that unhappy with my ubuntu system at home. So I' unsure about the benefit/cost ratio here.
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<manveru> daveo: i usually have it my global .gitignore so it doesn't bother people
xy2_ has quit [Ping timeout: 276 seconds]
<MichaelRaskin> This is a more complicated thing than you need, but just as an upper bound or something
<MichaelRaskin> Then I nix-build this and ask to put a link to result in a fixed location mentioned in $PATH
<phenoble> boomshroom: ok. So I understand that NixOS + Nix is (rather?) different from Any-other-OS + Nix (how so?)?
<MichaelRaskin> phenoble: in NixOS your entire system configuration is a Nix package
<daveo> phenoble: up to you. personally I was looking for a setup I could automatically provision and destroy as needed and have anywhere.
hph^ has joined #nixos
<MichaelRaskin> This, in particular, gives safer upgrades and simple rollbacks
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
<symphorien> phenoble: also with pure nix, you can't start services, have setuid binaries and so on
rosa has quit [Quit: rosa]
<boomshroom> phenoble: If you want more specifics, nix-env maintains a profile stored in /nix/var/nix/profiles/per-user/${USERNAME}/. In that directory are symlinks called ${PROFILE}-${GENERATION} where ${PROFILE} is the profile name and ${GENERATION} is the generation number. It also gives a ${PROFILE} symlink that points directly at the current generation. Typically, ~/.nix-profile points at the
<boomshroom> /nix/var/nix/profiles/per-user/${PROFILE}. You can set ${PROFILE} to be whatever you want, but by default it's just "profile".
<phenoble> symphorien: does that mean there is no systemd in NixOS?
<{^_^}> [nixpkgs] @Ma27 opened pull request #39684 → notary: fix build → https://git.io/vpBBC
<MichaelRaskin> phenoble: there is
<symphorien> by pure nix I meant nix without nixos
<boomshroom> phenoble: The main difference is that NixOS handles setting all this up for you where as other systems require you to set it up manually.
doyougnu has joined #nixos
<MichaelRaskin> But the system package built as NixOS includes the configs for systemd etc
rosa has joined #nixos
seanparsons has joined #nixos
hakujin has quit [Ping timeout: 248 seconds]
<phenoble> daveo: I am hoping to get to where I can do just that for a finite set of applications, packages and files - but independent from the linux distribution.
<MichaelRaskin> phenoble: note that in Nix-on-other-Linux you will need to add a few things to you environment
<daveo> phenoble: even gobolinux?
<phenoble> MichaelRaskin: can I do that without sudo privilege?
<MichaelRaskin> That part sure
<phenoble> ok
<andrewmiller1> phenoble: you need sudo to make /nix and to change the owner of that directory to your user
<MichaelRaskin> You will need to use sudo to setup Nix itself
tsmeets has quit [Quit: leaving]
<symphorien> or have user namespaces enabled but this is more cumbersome
<MichaelRaskin> Ideally you will (eventually) want to use nix-daemon running as root and setting up build sandboxes
<phenoble> MichaelRaskin: I have sudo for the system package manager, so I can install whatever is in the upstream repositories. But I cannot add new repositories.
<boomshroom> phenoble: For initial setup, you're going to run into one big problem, creating /nix. If you don't have permission to do that, then you need to use a nonstandard store (and build all packages manually) or setup a chroot, namespace, or some other virtual environment.
<daveo> phenoble: that is cool idea. I would like to be able to do it with non-Linux OS's. Ansible, Puppet, Chef, etc. are the solutions I guess for now
<MichaelRaskin> But I guess using an environment that you need to enter is what you want to avoid…
<daveo> phenoble: and nixops/nix?
<{^_^}> [nixpkgs] @ikervagyok opened pull request #39685 → wine-{Unstable,Staging}: 3.5 -> 3.7 → https://git.io/vpBB2
<phenoble> boomshroom: interesting, thank you for the infomration on nix-env
<andrewmiller1> daveo: nix needs symbolic links
<boomshroom> daveo: Nix even works on macOS and some BSDs.
rosa has quit [Client Quit]
<MichaelRaskin> phenoble: if you cannot create /nix it will be annoying in any case
<phenoble> boomshroom: what does "and build all packages manually" mean? What is the goal of building them?
<MichaelRaskin> Not manually, rebuilding them locally
<MichaelRaskin> Binary packages require the Nix store to be /nix/store
<phenoble> MichaelRaskin: I assume the problem is not that some directory on root is not present, is it?
<MichaelRaskin> Well, the binary packages that are actually provided by Hydra and uploaded to cache.nixos.org
<ixxie> andrewmiller1: sure thing! ditto for you :)
<boomshroom> phenoble: well /nix is some directory on root that wouldn't be present.
<daveo> andrewmiller1: which os's still have no way to symlink? can windows 7 and older do symlinks with Cygwin?
<phenoble> daveo: I thought about ansible, but did not yet dig deeper into it to see whether it is suitable
<phenoble> daveo: thank you for the references to the other packages
<MichaelRaskin> If you can negotiate getting /nix/ directory owned by you, then it is fine
jacob__ has quit [Quit: Lost terminal]
<MichaelRaskin> Every Nix package has its unique installation path, and the prefix is fixed at the build time
rosa has joined #nixos
<daveo> phenoble: you seem to be interested in configuration management/provisioning. Those keywords may help
<MichaelRaskin> So if you cannot have /nix, you need to do a local build of everything (including GCC, glibc etc.) with a different prefix
<phenoble> MichaelRaskin: really. So why can't Nix abstract away the absolute path of that directory, and let me define it? Consider me disappointed.
<phenoble> daveo: absolutely, thank you. I am (still kindof) new to this world (I guess).
<sphalerite> nix without root access is such a common topic, we should probably have an FAQ entry and factoid for it
<boomshroom> phenoble: It does, but hydra only builds binary packages with the /nix prefix.
<MichaelRaskin> phenoble: there are too many places where paths get hardcoded
<MichaelRaskin> During the build
<sphalerite> which isn't nix's fault FWIW :p
thc202 has quit [Ping timeout: 256 seconds]
<MichaelRaskin> A typical C++ program hardcodes the path to its data files into the binary
<simpson> phenoble: It's parameterized at *build* time. You can absolutely do this with /home/phenoble or whatever, but you'll be unhappy because *everything* must be recompiled if it has store paths.
rosa has quit [Client Quit]
<phenoble> boomshroom: It sounds like this is by design.
<phenoble> MichaelRaskin: bad design.
<MichaelRaskin> Look, Nix is for packaging real software
<andrewmiller1> daveo: you'd have to do your own research for windows. i tried and believe i came to the conclusion that although there's been somewhat recent development from microsoft for symbolic links, windows doesn't allow symlinks. but i'd imagine eventually they will so maybe things have changed. you might also want to look at ubuntu for windows or whatever it's called. from the microsoft store. but if you want to know what being locked
<andrewmiller1> operating system
<MichaelRaskin> You say most software is bad design
frank87 has quit [Read error: Connection reset by peer]
<MichaelRaskin> True, but …
<phenoble> simpson: ah, so I would have to build Nix to have paths into my home directory built into it - and then everything is dandy?
<MichaelRaskin> But you will need to build everything for yourself
<phenoble> Then - why would it be more work to maintain a non-root nix install compared to a root nix install?
<boomshroom> phenoble: Yes, but you won't be able to use the binary cache. Everything will still work, but will take 1000 times longer.
<MichaelRaskin> Because we use normal compiler to compile the upstream code
frank87 has joined #nixos
<simpson> phenoble: It might take a few days to build stuff. Or a few weeks. I don't know; I've never had the patience to let it go for more than a couple hours.
<zybell_> andrewmiller1:windows has support for symlinks since windows 3.0
<MichaelRaskin> So the path hardcoding happens for every actual piece of software
<andrewmiller1> zybell_: oh?
<daveo> simpson: sounds like my experience last time I tried Gentoo
<zybell_> .pif *are* symlinks
<phenoble> MichaelRaskin: well, linux has lots of tools that provide abstraction and indirection. ld comes to mind, $PATH, etc.
<andrewmiller1> zybell_: by any chance do you know if nix can work on windows?
<rszibele[m]> yeah windows has symlink support
<ZeDestructor> daveo: windows can do symlinks, but only on ntfs, and requires using cmd
<boomshroom> daveo: That's why we have Hydra. Nix is technically a source-based package manager, we just check is someone has already built the stuff before trying ourselves.
<MichaelRaskin> phenoble: tell us more how ld doesn't hardcode lookup paths
<phenoble> simpson: Why should building take so long? What exactly is being built?
<rszibele[m]> you can create them with the mklink command
<MichaelRaskin> Everything?
<MichaelRaskin> glibc, gcc…
<boomshroom> phenoble: EVERYTHING. Including the compiler.
<simpson> phenoble: Everything. glibc, xlib, Firefox...
<MichaelRaskin> They never said they want Firefox from Nix
<daveo> boomshroom: I bumped into hydra before I started using NixOS. I like it and want to try running one later.
<phenoble> boomshroom: aah, so Nix provides an entire system environment?
<ZeDestructor> Also Hardlinks and directory links (cause that's a different thing on windows)
<MichaelRaskin> Yes, and that is non-negotiable
<phenoble> boomshroom: ... and one might as well just use NixOS then. Now I get it ^^
<andrewmiller1> boomshroom: including the nix language, or only the nixpkgs repo?
<MichaelRaskin> phenoble: well, with Nix you can mix-and-match, and you can use hardware configuration tools of your distribution
<boomshroom> andrewmiller1: Any package that isn't available in a binary cache will be built. This includes heavilly customised packages, packages that aren't in nixpkgs, and packages in a custom store.
<phenoble> MichaelRaskin: well, using major and minor revisions, and these symlinking facilities - there -is- some form of flexibility.
<{^_^}> [nixpkgs] @knedlsepp closed pull request #27649 → python3: Add C++ compiler support for distutils (on non gcc systems) → https://git.io/v7OJQ
<MichaelRaskin> Some, yes. Not much, not enough.
<schoppenhauer> hi. since the last update of gajim-0.16.8 it doesn't work anymore, with the error message "NameError: name 'common' is not defined" in line 236 in gajim.py
<schoppenhauer> rollback does not fix the problem.
<schoppenhauer> uninstalling and reinstalling does not so, as well
<phenoble> Well, so, ... since I've come here, I think I've learnt that Nix is not the right tool for me.
<zybell_> The hardest problem for nix on windows is too few bytes in environment. Nix needs more env space than other progs. Idk how windows is configured now,that most of that is in reg.
<phenoble> But this sure is an awesome channel. Thank you all!
blankhart has joined #nixos
<MichaelRaskin> phenoble: yeah, unless you are ready to run everything in a user-namespace chroot, you are out of luck
<MichaelRaskin> Sorry.
<daveo> after nix-sh -p sqlite now all my gem installs are pretty much working. Glad I asked and learned about bundix and using nix-shell / direnv though. This sounds awesome
hph^ has quit [Ping timeout: 248 seconds]
<schoppenhauer> how can I force-reinstall gajim?
<drakonis> andrewmiller1, windows has symlinking now, but it requires admin privs
<daveo> one question I still have is how to set up the path for my gem binaries best. I can manually add the path to the directory to my environment but I bet this is a solved problem with an easy solution.
<andrewmiller1> drakonis: oh cool
<Ralith> what do you mean by "force-reinstall"?
i-am-the-slime has quit [Ping timeout: 265 seconds]
<drakonis> it had symlinking for some time now
<drakonis> but it barely saw usage
doyougnu has quit [Ping timeout: 248 seconds]
<daveo> phenoble: yeah. NixOS is from the future. My opinion. Thanks!
<rszibele[m]> Is there any easy way to create an automated NixOS install? Something like booting from the usb and it automatically installs based on a configuration.nix.
krey has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<krey> samueldr:
<srhb> rszibele[m]: It's fairly easy to add a systemd oneshot job to the iso that just does whatever you like.
<boomshroom> rszibele[m]: Setting up partitions is the only thing I can think of that isn't creating configuration.nix and running the installer.
jperras has quit [Ping timeout: 264 seconds]
<samueldr> hi krey
<krey> samueldr: o/
<phenoble> daveo: Can you recommend an article/tutorial/video to learn more? Nix(OS) might not fix my problems today, but I am interested in the future ^^
doyougnu has joined #nixos
<andrewmiller1> schoppenhauer: do you have a single user or multi user install?
<andrewmiller1> schoppenhauer: sudo nix-channel --update && sudo nix-env --upgrade --always && sudo rm /nix/var/nix/gcroots/auto/* && sudo nix-collect-garbage --delete-old && sudo nix-env -iA nixos.gajim
<andrewmiller1> what i missed a copy
<krey> samueldr: what's the benefit of the nixpkgs.overlays based method you describe?
<rszibele[m]> hmm if I anyhow have to partition it then I might as well manually do it. I have like 2 old mini computers that would run nicely on NixOS.
<andrewmiller1> schoppenhauer: sudo nix-env -e gajim && sudo nix-channel --update && sudo nix-env --upgrade --always && sudo rm /nix/var/nix/gcroots/auto/* && sudo nix-collect-garbage --delete-old && sudo nix-env -iA nixos.gajim
<samueldr> krey: your `nixpkgs.overlays` will match what's in `<nixpkgs-overlays>`
xcmw has joined #nixos
<samueldr> as you wrote "There is a configuration option nixpkgs.overlays. Overlays set here will not be automatically applied by nix tools"
<samueldr> by using that one weird trick (nixers hates him) the nix tools seem to pick it up appropriately (?)
<krey> haha
doyougnu has quit [Read error: Connection reset by peer]
<samueldr> I can `nix-env` (as my user) the system's overlays without touching `.config/nixpkgs/overlays.nix`.
jperras has joined #nixos
<MichaelRaskin> phenoble: maybe nix pills
<krey> I only have the NIX_PATH set and everything works for me
<srhb> rszibele[m]: You can just write a script to do the partitioning for you.
<phenoble> MichaelRaskin: hah, perfect
<krey> e.g. nixos-rebuild and nix-shell
<krey> I'm not sure what the incremental value of setting nixpkgs.overlays is
<samueldr> well, it makes it so that the NIX_PATH is set by the nixos configuration, that's probably a matter of taste
<phenoble> MichaelRaskin: sure reads like you would get in for much more than just "package management" though
<daveo> phenoble: I'm not sure of what your problems are. But you sound like you are looking more to be able to configure/provision any other environment. As such you may be more interested in starting with something like Ansible or SaltStack (made in Python), Chef and Puppet (made in Ruby) or what have you. Those are the current 'big' configuration management tools I can think of.
<schoppenhauer> andrewmiller1: ok I will try that.
<boomshroom> phenoble: Nix is fundamentally a build tool like Make, except it can build your entire system just like an ordinary C project.
<MichaelRaskin> phenoble: I do help a person use Nix where the OS is Ubuntu and Nix is used only to install some things not adequately provided by Ubuntu repos
<daveo> phenoble: the reason I say that is because it may take more time or patience to work with something more emerging
<krey> what do you mean? i set nix.nixPath in my config too. but that seems kind of orthogonal
<samueldr> I'm not sure! it's probably because of the way it made sense to me when looking at overlays
<daveo> phenoble: for learning nix you may ask people here. To me it seems more promising.
<krey> samueldr: lpaste.net/365388
<{^_^}> [nixpkgs] @matthewbauer opened pull request #39686 → all-packages: move aliases to aliases.nix → https://git.io/vpBR8
<phenoble> Thank you all. Sure learnt something. I will have a look at Ansible, SaltStack and the like first.
<daveo> phenoble: I have liked the 'Nix Pills' series
sigmundv__ has joined #nixos
<daveo> phenoble: I came to nix after trying those tools
<samueldr> krey: a matter of taste, maybe, I find adding things to NIX_PATH as strings to feel weird, meanwhile setting it as a configuration with the nixos options feels "more right"
<daveo> phenoble: :)
<boomshroom> daveo: I often hang out here just to chat with cool people. :P
<phenoble> daveo: well, might just meet again here some time then =)
<MichaelRaskin> Hmmmm
<daveo> boomshroom: I often hang here to fix my borked EFI
<phenoble> daveo: But as it goes, there are no shortcuts eh
<MichaelRaskin> phenoble: I think I know a solution which technically satisfies your requirement (but is a bit horrible)
griff_ has joined #nixos
<phenoble> MichaelRaskin: that sounds both wonderful and horrible at the same time
<MichaelRaskin> Are user namespaces enabled?
<krey> samueldr: I totally agree
<phenoble> MichaelRaskin: mmhn, I don't know
<krey> but unfortunately, you still need to set it with strings, haha
<daveo> phenoble: I'd say if it looks like a shortcut somebody probably did a lot of work somewhere. Understanding that may be the next way forward
<rszibele[m]> yeah, the latest iso fails to install on efi systems but theres a good comment on the github issue that solves it by manually adding it.
<phenoble> MichaelRaskin: but I'd doubt it somewhat
<MichaelRaskin> basically whether unshare command works
<MichaelRaskin> I don't remember Ubuntu defaults
<zybell_> rszibele[m] you could mke it so that the usb stick by boot constructs a measurement(MAC,HDD Size ...) in a file(on USB),then uses md5 of that file to check for command file with that md5 as name.On first boot that wont exist,->shutdown.Now after collected measures of all machines,you go to system designer,that stores commands. When you boot now,the commands exist and will be executed,you will get install on partitions you want.
<samueldr> yeah, once, but imagine one scenario: I want to set `nixpkgs.overlays` in multiple configuration files; I think this way it simplifies it
<samueldr> (as nixpkgs.overlays is a list that gets appended, it's an entirely plausible scenario)
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
<samueldr> (scenario which I think is why I did it this way)
<phenoble> daveo: true. There are no limits to reinventing wheels.
<phenoble> MichaelRaskin: I'll be on a debian system at work soon
<daveo> phenoble: not sure I get the reinventing wheels part. but ok
<phenoble> daveo: Sorry, I wasn't clear enough. I meant to merely comment on what you said by equating "not using somebody else's hard work" to fix a problem, with reinventing wheels.
<daveo> rszibele[m]: Not sure if that was a response to my 'borked EFI' comment. My EFI got borked because my BIOS sucks
<krey> samueldr: hmm, OK. as a simple user with a single machine, this would not have occurred to me, but I see the appeal now
mahalel_1 has joined #nixos
nckx has joined #nixos
<rszibele[m]> zybell_: that sounds like a pretty cool solution, thanks!
<MichaelRaskin> Right, Debian disables USER_NS by default
jperras has quit [Quit: WeeChat 2.1]
<rszibele[m]> daveo: Oh I see. Yeah it was a response to that comment.
doyougnu has joined #nixos
<krey> samueldr: thanks for explaining
<daveo> phenoble: right. if somebody did a great job with an implementation it may be worth it to study it. I think I was talking more about the invention of sophisticated things. Handling dependencies is not a trivial problem. I'm not saying the invention of the wheel was trivial but ...
<samueldr> you're welcome krey, I had to think about why I did that :)
jperras has joined #nixos
<daveo> phenoble: things can also become 'trivial' when a paradigm shift is made by somebody who thinks about things a different way. That can be a tremendous advance. I'm out of words now...
<schoppenhauer> andrewmiller1: ok, apparently, the gajim package is flawed somehow
<andrewmiller1> schoppenhauer: what is on the line of code where the error is
<phenoble> daveo: Yea, me too. I am not a native english speaker, but I understood the phrase of "reinvention of wheels" as needless effort spent into reinventing anything, trivial or not.
<daveo> boomshroom: yeah this chat has seemed pretty lively today and definitely it has been nice. Thanks for helping fix my computer before as well as Sphalerite. Bummer that the BIOS does that when I fiddle with it and I've learned my lesson there.
<phenoble> daveo: I agree though, but do have to get up tomorrow morning. Good night!
<boomshroom> daveo: You managed to get it to work? Nice! It was no problem.
<boomshroom> phenoble: Good night! I'll probably be having lunch soon.
<daveo> boomshroom: yeah. I just had to do a nix-install. There was a bit more to it
<schoppenhauer> andrewmiller1: ah I see, it is trying to tell me that the database file is corrupted, but it can't, because "common" is not defined
phenoble has quit [Quit: WeeChat 1.9.1]
<schoppenhauer> andrewmiller1: yay, gajim works again. it was just the database.
<andrewmiller1> schoppenhauer: good job :)
<daveo> phenoble: I am really interested in your experience and whether you solve your problem. I have a major need to provision dev boxes and other things at work/home and would like to see how you do. Seems like the technology is many times here but not easy for everybody to use yet.
<andrewmiller1> daveo: check out disnixos? https://github.com/svanderburg/disnixos
<andrewmiller1> you probably already know that mb
<daveo> haven't yet tried it
<daveo> iPXE?
<Myrl-saki> The NixOS logo is a lambda snowflake???
<daveo> I love that
<Myrl-saki> 2 years of using NixOS
<Myrl-saki> And I never realized that.
<Myrl-saki> WTF?
<ixxie> lol
<boomshroom> Myrl-saki: It took me a while to notice that aswell. :P
<ixxie> that logo was actually designed during the competition for the Haskell logo
<ixxie> it wasn't selected for that obviously, but then permission was requested to coopt it for NixOS
<daveo> my favorite part is you kind of can do snowflake. but it is entirely reproducible like cattle.
<ixxie> next time someone asks for resources, they can be pointed to the nixos.wiki
<Myrl-saki> Errr
<ixxie> still kinda up and coming but getting quite usable
<Myrl-saki> I think I get why
coot has quit [Quit: coot]
ixxie has quit [Quit: Lost terminal]
blankhart has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #39688 → [release-18.03] slurm: 17.11.3 -> 17.11.5 (Fix CVE-2018-7033) → https://git.io/vpB0z
<{^_^}> [nixpkgs] @xeji merged pull request #39678 → awscli: 1.14.50 -> 1.15.10; fix build → https://git.io/vpBO7
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpB02
<{^_^}> → 0e5eafc1 by @Ma27: awscli: 1.14.50 -> 1.15.10; fix build
<{^_^}> → ff3fe105 by @xeji: Merge pull request #39678 from Ma27/fix-awscli
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rosa has joined #nixos
sellout- has quit [Ping timeout: 255 seconds]
sellout-1 has joined #nixos
rosa has quit [Read error: Connection reset by peer]
regulus_ has quit [Remote host closed the connection]
rosa has joined #nixos
jhb563 has joined #nixos
rosa has quit [Client Quit]
jhb563 has quit [Client Quit]
jperras has quit [Quit: WeeChat 2.1]
vcunat has quit [Quit: Leaving.]
MP2E has joined #nixos
simukis has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/tests/hibernate: Fix netcat flags »: https://git.io/vpBEk
daveo has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
emph has joined #nixos
blankhart has joined #nixos
<{^_^}> [nixpkgs] @dtzWill reopened pull request #37814 → util-linux: 2.31.1 -> 2.32 → https://git.io/vx0LM
hiratara has quit [Ping timeout: 255 seconds]
obadz has quit [Ping timeout: 260 seconds]
hiratara has joined #nixos
obadz has joined #nixos
Guest16581 has joined #nixos
xcmw has joined #nixos
badi has joined #nixos
rbrewer123 has quit [Quit: Page closed]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AGTT> clever and everyone: I managed to compile on aarch64. In 'Makefile' I added -O0 and removed the -O3 from below it: 'GLOBAL_CXXFLAGS += -O0 -std=c++14 -g -Wall -include config.h -v -fverbose-asm'. Please also see my (AGTT) comment at https://aur.archlinux.org/packages/nix/?comments=all . With -O3, g++ crashed. I used the precompiled store from https://nixos.org/releases/nix/nix-2.0.1/ so I didn't get a chance to try compiling binutils with
<AGTT> nix yet. 'Eisfreak7' also seems to have compiled for armv7h on there, so I added armv7h to the supported arches...
bpa has quit [Remote host closed the connection]
spear2 has joined #nixos
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @xeji merged pull request #39652 → makemkv: 1.10.8 -> 1.12.2, switch from qt4 to qt5 → https://git.io/vp407
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpBES
<{^_^}> → ba1b2ef2 by @ajs124: makemkv: 1.10.8 -> 1.12.2, switch from qt4 to qt5
<{^_^}> → 1c380fd6 by @xeji: Merge pull request #39652 from ajs124/makemkv_1_12_qt5
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
silver has quit [Read error: Connection reset by peer]
emph has quit [Ping timeout: 268 seconds]
goibhniu has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
Jetien has joined #nixos
boxscape has joined #nixos
<boxscape> how can I start nix-shell with a particular haskell package installed?
<clever> boxscape: nix-shell -p haskellPackages.yaml
<clever> but it will only have the binaries, not the libraries
griff_ has joined #nixos
griff_ has quit [Client Quit]
<boxscape> okay... how can I run it so I can import the libraries in haskell programs?
<clever> nix-shell -p 'haskellPackages.ghcWithPackages (ps: [ ps.yaml ])' i believe
<boxscape> yeah that works, thanks!
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #39408 → cddlib: 0.94h -> 0.94i, add cdd_both_reps binary → https://git.io/vpZl5
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpBuC
<{^_^}> → cdfa85c5 by Timo Kaufmann: cddlib: 0.94h -> 0.94i, add cdd_both_reps binary
<{^_^}> → d917b5ad by @7c6f434c: Merge pull request #39408 from timokau/cddlib-094i
<drakonis> hmm, i need to use an prerelease python version
<drakonis> gotta get python 3.7
phreedom has joined #nixos
<boomshroom> drakonis: How comfortable are you with Nix expressions?
<drakonis> hmm, the most i've done was update an expression
<drakonis> gotta use an updated module
<boomshroom> drakonis: It should be possible to make a derivation that overrides the src and version attributes of python3 with the source for 3.7.
<drakonis> hmm, doesn't seem like i need the updated module but i still want to learn how to do that
Ariakenom has quit [Quit: Leaving]
<boomshroom> drakonis: Most official nixpkgs come with an overrideAttrs function that replaces the derivation's attributes like src, version, and name using a function passed in that takes the old attribute set and returns a set with the attributes you want changed.
<boxscape> is there a way I can give a haskellPackages.developPackage package an extra haskell library when I call it in my nix-shell, so I can import it in ghci?
<boomshroom> Example: python3.overrideAttrs (old: { src = newsrc; })
<boxscape> er, I meant when I call it in shell.nix
emph has joined #nixos
hamishmack has joined #nixos
dkibi has quit [Ping timeout: 276 seconds]
hamishmack has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @rvl opened pull request #39691 → [WIP] NixOS: Add networking.rini module → https://git.io/vpBzW
superusercode1 has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
hamishmack has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
jrolfs_ has quit [Ping timeout: 260 seconds]
[Leary] has quit [Remote host closed the connection]
emph has quit [Ping timeout: 264 seconds]
Jetien has quit [Ping timeout: 240 seconds]
dkibi has joined #nixos
doyougnu has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/ce0d9d638de (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
emph has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « rl-1809: add netcat note »: https://git.io/vpBgJ
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #39515 → Add top-level/overrides.nix for package overrides → https://git.io/vpCuO
Guest16581 has quit [Ping timeout: 264 seconds]
tkral has quit [Ping timeout: 276 seconds]
devlinzed[m] has left #nixos ["User left"]
mkoenig has quit [Ping timeout: 248 seconds]
jackdk has joined #nixos
mkoenig has joined #nixos
Adluc has quit [Quit: ZNC - http://znc.in]
srk has quit [Quit: ZNC - http://znc.in]
mkoenig has quit [Ping timeout: 248 seconds]
mkoenig has joined #nixos
goibhniu has quit [Ping timeout: 260 seconds]
tkral has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #39692 → tempita: 0.5.2 -> 0.5.3dev47414a7, Python 3 support → https://git.io/vpBg9
AGTT has left #nixos [#nixos]
emph has quit [Ping timeout: 264 seconds]