gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
dsiypl4 has quit [Ping timeout: 245 seconds]
dermetfan has quit [Ping timeout: 245 seconds]
griff_ has joined #nixos
mkoenig has quit [Remote host closed the connection]
andrewrk has joined #nixos
<andrewrk> that thing happened again where I ran out of space on /boot during `nixos-rebuild switch` and I forgot what to do
mkoenig has joined #nixos
<drakonis> ah yes
<drakonis> is your boot on your root partition or on a separate partition?
<clever> andrewrk: grub or systemd?
justanotheruser has joined #nixos
<andrewrk> systemd, uefi
<andrewrk> drakonis, separate
<clever> grub has an option to limit how many generations go into /boot/
<clever> systemd doesnt
<drakonis> well, that's a problem
mkoenig has quit [Remote host closed the connection]
<Synthetica> `env QT_QPA_PLATFORM=wayland konsole` should Just Work ™️ , right?
<andrewrk> I think I just need to garbage collect old roots
mkoenig has joined #nixos
<Synthetica> Or am I missing something?
<clever> andrewrk: you will need to manually delete some of the older initrd's, and GC some older nixos profiles (nix-collect-garbage --delete-older-than` and then you can switch
<{^_^}> [nixpkgs] @dtzWill opened pull request #55020 → mpfr: 4.0.1 -> 4.0.2 → https://git.io/fhyHy
<clever> andrewrk: you can also use nix-env --profile /nix/var/nix/profiles/system --delete-generations, to manually delete just certain ones
<andrewrk> cool
<{^_^}> [nixpkgs] @dtzWill opened pull request #55021 → inkscape: 0.92.3 -> 0.92.4 → https://git.io/fhyHS
<andrewrk> wow I have so many GiB free now
<andrewrk> if I remember correctly, I can manually wipe all of these, and then a rebuild switch will fix it? https://clbin.com/sgUZL
<andrewrk> any reason nix-collect-garbage can't do that automatically?
<gchristensen> after you delete some genertions, nixos-rebuild switch will delete them
<andrewrk> oh, perfect. so it was just garbage collection that was the issue then
justanotheruser has quit [Excess Flood]
<clever> gchristensen: this also reminds me, systemd needs the generation limit
<andrewrk> hmm no looks like I need to manually delete files. I keep getting "No space left on device" from nixos-rebuild switch
<clever> gchristensen: and, why cant both bootloaders, look at how much free space there is, what kernels are missing, and then compute backwards (from newest generation) which will fit?
<clever> andrewrk: yeah, it only deletes old files, after copying the new files in
<gchristensen> that is a great idea
<clever> which is why i mentioned manually deleting a few old initrd;s
<andrewrk> ahh
<gchristensen> especially great, b/c I can only fit like 10 generations
<clever> gchristensen: i make my /boot/ 1gig or more, and put an entire nixos on it!
<gchristensen> anyone here in CET?
<gchristensen> (awake)
<gchristensen> each of my generations takes 20MB :X
<clever> this puts an entire nixos livecd into the /boot/, and adds a grub option
<clever> it cost ~300mb
<clever> but you now have the ability to boot the install media at any time
<andrewrk> that's clever
<clever> i originally used it to move my /nix to its own dataset in zfs
<clever> because it was chewing up space on / every time it made a snapshot
<drakonis> clever: its good as heck and i'll take it
alex`` has quit [Ping timeout: 245 seconds]
<elvishjerricco> clever: "and, why cant both bootloaders, look at how much free space there is, what kernels are missing, and then compute backwards (from newest generation) which will fit?"
<elvishjerricco> What's the context here? I don't understand this question.
<clever> elvishjerricco: nixos-rebuild switch failing, due to /boot/ being full
<clever> elvishjerricco: so, you need to compute which files have to be copied, then copy them starting from the most recent generation, but check for free space at each generation, and dont copy what wont fit
<andrewrk> clever, I did `nix-collect-garbage -d` and `sudo rm /boot/efi/nixos/*` and it's still running out of room on a rebuild-switch
<elvishjerricco> clever: Ah, that's a good idea. I'd also issue a warning if any don't fit
<clever> andrewrk: `sudo ncdu /boot/` where is all the space going?
<clever> elvishjerricco: yeah
<elvishjerricco> andrewrk: sudo that nix-collect-garbage. Your user can't delete root's old system generations
<andrewrk> oh
<andrewrk> yeah that did something
<andrewrk> oh my god I have so much free space
eadwu has joined #nixos
<andrewrk> I can fit, like, 1 more LLVM debug build on here
<clever> lol
<clever> 6103 store paths deleted, 64986.73 MiB freed
<clever> a recent GC i did on my nas
<elvishjerricco> sidenote: This kind of stuff is one of the reasons I put /boot on ZFS :P
<clever> without -d
<clever> the nas i mentioned above, has 2.5tb of free space
<clever> so i rarely need to gc
<andrewrk> 35160 store paths deleted, 50696.39 MiB freed
<andrewrk> this is after 20 GiB freed from non-sudo
<clever> also, the nas above, has snapshots on /
<clever> and /nix is part of /
<clever> i deleted 500gig worth of snapshots today
<elvishjerricco> It's good to run nix-collect-garbage automatically periodically. A while ago, I started running it nightly, keeping 30d of generations, in order to dogfood the GC problems I was creating for users of Nix code I write
<andrewrk> nixos is such a great developer OS
<clever> elvishjerricco: ive found min-free based GC has a number of IFD related bugs
<elvishjerricco> clever: That's why we made the deriver expression a build input to callCabal2nix expressions. Isn't referenced by runtime closures, but `keep-outputs = true` will make sure they stick around and don't get rebuilt. Not the case for IFD generally, so you have to add some kind of reference to the expression's path in the build script
<clever> elvishjerricco: ah
<elvishjerricco> clever: You said there were potential issues with booting from ZFS with grub, didn't you? Or was that someone else...
<gchristensen> oh cool
<clever> elvishjerricco: yeah, a number of them
<clever> The sha512, skein, and edonr checksum algorithms require enabling the appropriate features on the pool. These algorithms are not supported by GRUB and should not be set on the bootfs filesystem when using GRUB to boot the system. Please see zpool-features(5) for
<clever> elvishjerricco: for one, certain checksum algo's arent supported, so if you set those, grub cant read it at all
<elvishjerricco> clever: Crazy workaround idea for EFI systems: No ordinary boot loader. Make a boot loader out of the Linux kernel with EFI-stub, using actual drivers like ZFS and graphics. Chainload later linux kernels.
<clever> elvishjerricco: also, grub has trouble if a directory has too many children
* clever eyes /nix/store/
<gchristensen> elvishjerricco: omg
<clever> gchristensen: ive had that idea already, to get ssh enabled bootloaders, for servers
<clever> gchristensen: how else are we to rollback a headless machine?
<gchristensen> ah, right!
<elvishjerricco> ajs124: Was about to ask if this already existed :P
<gchristensen> nixos-native bootloader, just provides the options in /nix/var/nix/profiles/...
<ajs124> Also google's NERF is basically this, but as server firmware, iirc.
argent0 has quit [Ping timeout: 240 seconds]
<drakonis> linux as the firmware
<drakonis> its fabulous and a smidge dangerous
nspin_ has quit [Quit: Page closed]
<elvishjerricco> Hm. Putting it in the firmware is a bit much, and petiboot seems specific to kexec. Would be nice to have something that just chainloads with EFI, as a normal EFI application
nikola_i has joined #nixos
<drakonis> its a way to get rid of bad efi it seems
<gchristensen> rust can complie to an efi program now
<elvishjerricco> gchristensen: That's cool. Redox as a bootloader :P
<elvishjerricco> drakonis: Looks like linuxboot can be used as a normal EFI application. But does it boot kernels via chainloading, or via kexec?
shibboleth has joined #nixos
<elvishjerricco> Asking because it seems like the easiest way to boot other OSes like Windows.
<Synthetica> gchristensen: Still need someone in CET?
<gchristensen> Synthetica: 12:00 CET -- is that 2hrs ago, or 10hrs from now?
<Synthetica> Noon is 10 hours from now, midnight was 2 hrs ago
<gchristensen> and 12:00 is midnight or noon?
<Synthetica> 12:00 is noon, because 24 hour time (in most european countries)
<Synthetica> 00:00 is midnight
<gchristensen> aye. surprisingly, a dutch person told me 12:00 was 2hrs ago!
<Synthetica> Wat
<gchristensen> I think you're right though.
<Synthetica> (only in written text tho, in spoken word i'd also say "12 o'clock" (but in dutch :P))
eadwu has quit [Quit: WeeChat 2.3]
<clever> i would say noon or 12 noon
<clever> but with the complications of timezones, i tend to give most times as relative
<clever> so, 9 hours ago
<clever> figure out the absolute value yourself :P
<gchristensen> yeah. the specific problem here is https://nlnet.nl/propose/ says 12:00 CET, and my contact with NLNet said it closed 2hrs ago
sondr3 has quit [Ping timeout: 246 seconds]
<gchristensen> so a big conflict here
eadwu has joined #nixos
thc202 has quit [Ping timeout: 244 seconds]
<ajs124> gchristensen, they should have used unix timestamp (with epoch)
shibboleth has quit [Quit: shibboleth]
<gchristensen> :)
<gchristensen> or gone forward or backward 1 hou
<ajs124> If I want a deadline to end at the end of a day,
<ajs124> I always go for 23:59
<Synthetica> ajs124: Yep, makes things a lot easier
sigmundv_ has quit [Quit: Leaving]
<Synthetica> But I'd expect that they'd automatically close such a thing, so unless you should have 10 hours
halfbit has quit [Ping timeout: 240 seconds]
<clever> ajs124: its $CURRENT_YEAR, just put javascript countdowns on your site!
<Synthetica> livestampjs :D
<ajs124> clever, s i t e? Are we not talking about Fax here? :P
sigmundv_ has joined #nixos
<gchristensen> (you mean the thing you send / receive at hellofax.com?)
<jackdk> ajs124: I have seen log books that write the first and the final hour as 0001-0100 and 2300-2359 just to be absolutely clear
<{^_^}> [nixpkgs] @matthewbauer pushed to master « cc-wrapper: set priority to 10 »: https://git.io/fhyQq
ryantrinkle has quit [Ping timeout: 250 seconds]
<gchristensen> poor soul who has to record an event at 23:60:00
<gchristensen> oops, 23:59:60 I guess...
<{^_^}> [nixpkgs] @aanderse opened pull request #55022 → WIP: redmine: 3.4.6 -> 3.4.8 (backport) → https://git.io/fhyQ3
<{^_^}> [nixpkgs] @matthewbauer opened pull request #55023 → [wip] netbsd cross compiling → https://git.io/fhyQs
<{^_^}> [nixpkgs] @telotortium opened pull request #55024 → airsonic: Add virtualHost option to set up nginx virtual host → https://git.io/fhyQZ
<ajs124> http://www.leapsecond.com/time-nuts.htm if you want to talk to people that have strong opinions on... time
<clever> gchristensen: another option, but a bit more tricky to do securely, have ipxe as your real bootloader, which will chainload a file over https
<clever> gchristensen: if it times out, or is configured for normal use, chainload grub, and boot normally
<clever> but, now you can chainload a netboot image
praetorg_ has joined #nixos
praetorg has quit [Ping timeout: 272 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
aleph- has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhyQE
tdbgamer has joined #nixos
halfbit has joined #nixos
marsam has joined #nixos
bfrog has joined #nixos
halfbit has quit [Ping timeout: 240 seconds]
silver has quit [Read error: Connection reset by peer]
maximiliantagher has quit [Remote host closed the connection]
ng0 has quit [Quit: Alexa, when is the end of world?]
fresheyeball has quit [Quit: WeeChat 2.2]
maximiliantagher has joined #nixos
aleph- has joined #nixos
maximiliantagher has quit [Ping timeout: 268 seconds]
bfrog has quit [Ping timeout: 240 seconds]
n0qqe has joined #nixos
jluttine has quit [Ping timeout: 250 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
noqqe has quit [Ping timeout: 250 seconds]
n0qqe is now known as noqqe
Supersonic has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
drakonis has quit [Quit: WeeChat 2.3]
sigmundv_ has quit [Ping timeout: 245 seconds]
jtojnar has quit [Quit: jtojnar]
marsam has quit [Ping timeout: 272 seconds]
nimblepoultry has joined #nixos
nimblepoultry has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
MP2E has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 245 seconds]
maximiliantagher has joined #nixos
nikola_i has quit [Ping timeout: 244 seconds]
nikola_i has joined #nixos
carlosdagos has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #55026 → thunderbird: clean up, make flags closer to default, official branding → https://git.io/fhyQx
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #38943 → [WIP] thunderbird: pass less non-standard flags → https://git.io/vpen8
<{^_^}> [nixpkgs] @bendlas pushed to master « i2p: 0.9.37 -> 0.9.38 »: https://git.io/fhy7e
aleph- has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bendlas pushed to release-18.09 « i2p: 0.9.35 -> 0.9.38 »: https://git.io/fhy7v
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #36449 → thunderbird: enable official branding → https://git.io/vAbpi
cryptomonad has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55027 → WIP: social-auth-app-django: init at 3.1.0 → https://git.io/fhy7T
snajpa has quit [Ping timeout: 268 seconds]
aither has quit [Ping timeout: 245 seconds]
<CMCDragonkai> Would it be nice to have `nix-build` flag to skip checkPhase?
snajpa has joined #nixos
<teto> looking for some rust help for https://github.com/NixOS/nixpkgs/pull/54948 to help solve ""error: no matching package named crossbeam-channel found""
<{^_^}> #54948 (by teto, 1 day ago, open): LanguageCLient-neovim: virttext support
eadwu has quit [Quit: WeeChat 2.3]
Wharncliffe has joined #nixos
anton_ has quit [Remote host closed the connection]
anton_ has joined #nixos
aither has joined #nixos
<{^_^}> [hydra] @grahamc pushed to fix-build « tests: disable sandbox »: https://git.io/fhy73
gagbo has quit [Ping timeout: 240 seconds]
<{^_^}> [hydra] @grahamc opened pull request #634 → tests: disable sandbox → https://git.io/fhy7s
Synthetica has quit [Quit: Connection closed for inactivity]
rwe has quit [Remote host closed the connection]
rwe has joined #nixos
goibhniu1 has joined #nixos
goibhniu has quit [Ping timeout: 240 seconds]
rwe has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/77e29cd5fa3 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 250 seconds]
Wharncliffe has quit [Quit: Lost terminal]
aither has quit [Ping timeout: 246 seconds]
snajpa has quit [Ping timeout: 240 seconds]
lassulus_ has joined #nixos
maximiliantagher has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
snajpa has joined #nixos
noonien has quit [Quit: Connection closed for inactivity]
counting1ort has joined #nixos
nikola_i has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55028 → WIP: pythonPackages.django-jsonfield: init at 1.0.1 → https://git.io/fhy70
aither has joined #nixos
griff_ has quit [Quit: griff_]
countingsort has quit [Ping timeout: 250 seconds]
snajpa has quit [Ping timeout: 250 seconds]
snajpa has joined #nixos
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55029 → pythonPackages.django-sql-explorer: init at 1.1.2 → https://git.io/fhy7u
ottidmes has joined #nixos
<ottidmes> teto: you need to change https://github.com/NixOS/nixpkgs/blob/894292f4f1c81820dd4d8fe00155d8f72501badf/pkgs/misc/vim-plugins/overrides.nix#L50 as well, just change it to a probably wrong hash and it should find the dependency
<ottidmes> ,tofu teto
<{^_^}> teto: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
xok has joined #nixos
<ottidmes> teto: i.e. you have to change the cargoSha256 attribute, otherwise it will lockdown the dependencies as they were
pie__ has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « nixops: 1.6 -> 1.6.1 »: https://git.io/fhy7g
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.09 « nixops: 1.6 -> 1.6.1 »: https://git.io/fhy72
pie___ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55030 → WIP: pythonPackages.django-storages: init at 1.7.1 → https://git.io/fhy7V
_praetorg_ has joined #nixos
praetorg_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dtzWill merged pull request #55012 → harfbuzz: 2.3.0 -> 2.3.1 → https://git.io/fhyV5
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhy7K
<{^_^}> [nixpkgs] @dtzWill merged pull request #55019 → mesa: 18.3.2 -> 18.3.3 → https://git.io/fhyHn
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhy7X
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55031 → pythonPackages.django-webpack-loader: init at 0.2.4 → https://git.io/fhy7M
ericsagnes has quit [Ping timeout: 268 seconds]
praetorg_ has joined #nixos
_praetorg_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55032 → pythonPackages.django-proxy: init at 1.1.0 → https://git.io/fhy79
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55033 → WIP: pythonPackages.django-debug-toolbar: init at 1.11 → https://git.io/fhy77
ericsagnes has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
rwe has joined #nixos
maximiliantagher has quit [Ping timeout: 250 seconds]
xok has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #55034 → pythonPackages.bumpversion: init at 0.5.3 → https://git.io/fhy7F
srid_ has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 268 seconds]
fusion809 has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
Soo_Slow has joined #nixos
<teto> ottidmes: holy cow, I was certain I had adjusted the sha. ty that fixed it :)
Soo_Slow has quit [Read error: Connection reset by peer]
Soo_Slow has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
vk3wtf has quit [Ping timeout: 250 seconds]
sinner has joined #nixos
sinner is now known as Guest47920
<dtz> \o/
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/10dbdd30d19 (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Soo_Slow has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
PeterHK has joined #nixos
<PeterHK> im having issue with stupid MS python pakage `collision between `/nix/store/vwxrdazjg2z2v0z2m5njlvysxv3bhg07-python3.7-azure-common-1.1.16/lib/python3.7/site-packages/azure/__init__.py' and `/nix/store/vx993ylcavaphrwz483zp1m01js6wjga-python3.7-azure-keyvault-1.1.0/lib/python3.7/site-packages/azure/__init__.py'`
<PeterHK> i tried `postInstall = '' echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py '';` but no luck
xok has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
sinner has joined #nixos
Guest47920 has quit [Ping timeout: 246 seconds]
<ottidmes> peterHK: "Python 2 namespace packages may provide __init__.py that collide. In that case python.buildEnv should be used with ignoreCollisions = true."
sinner is now known as Guest56418
<ottidmes> peterHK: here is an example of that workaround being used in nix-shell: nix-shell -p gobjectIntrospection gtk3 '(python27.buildEnv.override { extraLibs = with python27Packages; [ matplotlib pygobject3 ]; ignoreCollisions = true; })'
<ottidmes> peterHK: I have to go now, good luck!
<PeterHK> thanks
ottidmes has left #nixos ["WeeChat 2.2"]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fhy50
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.3]
maximiliantagher has joined #nixos
palo1 has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<eyjhb> Don't know if this is just me, but I cannot get systemd to create the sections for "wantedBy" at all, so I get the error message when I enable my services.. - https://termbin.com/1lw1
<PeterHK> awesome thanks that worked :) `requiredPythonPackages = (tkNixpkgs.python37.withPackages (import ./pythonDeps.nix { pkgs = myNixpkgs; })).override { ignoreCollisions = true; };`
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
hcfe^ has quit []
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
garbas has quit [Ping timeout: 250 seconds]
jackdk has quit [Ping timeout: 250 seconds]
fusion809 has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
elgoosy has joined #nixos
random_yanek has quit [Ping timeout: 250 seconds]
rawreraw has joined #nixos
vk3wtf has joined #nixos
maximiliantagher has joined #nixos
brejoc has joined #nixos
Mateon3 has joined #nixos
hyper_ch2 has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
maximiliantagher has quit [Ping timeout: 244 seconds]
griff_ has joined #nixos
random_yanek has joined #nixos
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<PeterHK> i am trying to have requiredPackages separate so i can easy include it to container build later (container.nix for container build + shell.nix for local dev) `pythonWithPackages = (myNixpkgs.python37.withPackages (python-packages: with python-packages; (requiredPythonPackages ++ devPythonPackages)) ).override { ignoreCollisions = true; };`
<PeterHK> but i can not have it symbols and it does not work with strings
rauno has joined #nixos
jtcs has quit [Ping timeout: 250 seconds]
freeman42x has quit [Ping timeout: 252 seconds]
reinhardt has joined #nixos
Ariakenom has joined #nixos
vk3wtf has quit [Ping timeout: 264 seconds]
elgoosy has quit [Remote host closed the connection]
Soo_Slow has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
fusion809 has quit [Ping timeout: 250 seconds]
PeterHK has quit [Ping timeout: 256 seconds]
griff_ has quit [Quit: griff_]
srid_ has quit [Quit: Connection closed for inactivity]
maximiliantagher has quit [Ping timeout: 250 seconds]
chrisbarrett has joined #nixos
PeterHK has joined #nixos
<chrisbarrett> hey peeps. I'm looking for a good way to pass configuration into my nixos and home-manager setup. Right now I have a hack where I put an attrset into an overlay, which my various modules can then take a depedency on. Is there a better way?
<chrisbarrett> I feel like that `config` parameter that gets plumbed around looks like the right thing, but I've had trouble figuring out how to extend it with my own attributes.
<elvishjerricco> chrisbarrett: This section of the manual might help: https://nixos.org/nixos/manual/index.html#sec-writing-modules
<elvishjerricco> chrisbarrett: You can create your own options and set them, which will make their values available via `config`
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos
<chrisbarrett> thanks elvishjerricco. :D I'll give it a go.
o1lo01ol1o has joined #nixos
brejoc has joined #nixos
rawreraw has quit [Client Quit]
rawreraw has joined #nixos
<chrisbarrett> it does look quite heavyweight. just to motivate this, say you've got some modules that need to know a user's home directory. Is that the mechanism you'd go for to pass that around?
<chrisbarrett> ignoring builtins.getEnv
o1lo01ol1o has quit [Ping timeout: 250 seconds]
rawreraw has quit [Client Quit]
<{^_^}> [hydra] @edolstra merged pull request #634 → tests: disable sandbox → https://git.io/fhy7s
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fhydB
<infinisil> chrisbarrett: Yeah declaring options is the way to go
<chrisbarrett> cool, thanks!
Makaveli7 has joined #nixos
<infinisil> You could also declare an option as an attrset though, which allows you to be able to use multiple such settings with a single option
<infinisil> But then you don't have the benefit of type checking them all
<chrisbarrett> that makes sense. I guess you'd still get errors about missing attributes, which would still point to the problem.
<infinisil> Yeah
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 1000 commits to staging-next: https://git.io/fhydz
maximiliantagher has quit [Ping timeout: 240 seconds]
<q6AA4FD> any emacs or other IDE-like system users here- how do you reconcile developing with nix-shell and having your IDE integrate with your development environment?
<q6AA4FD> to be more specific, if i provide for the depends of a project with a default.nix file + cabal or whatever, then a ghc session i run through emacs will not have access to the libraries i'm using, and maybe not to the same version of ghc that i'm using in my specific build
<{^_^}> [nixpkgs] @vbgl merged pull request #55018 → pyre: 0.0.18 -> 0.0.20 → https://git.io/fhy9e
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « pyre: 0.0.18 -> 0.0.20 »: https://git.io/fhydK
orivej has joined #nixos
<wedens> q6AA4FD: direnv is the answer
<wedens> q6AA4FD: it provides you the same environment as nix-shell
<wedens> q6AA4FD: there is emacs-direnv that does that for a buffer
<{^_^}> [nixpkgs] @uri-canva opened pull request #55035 → bazel-deps: 2018-11-01 -> 2019-02-01 → https://git.io/fhydy
jrddunbr has quit [Read error: Connection reset by peer]
vonfry has joined #nixos
<vonfry> If I use a custom package to make a development env without version and install this package globally, will nix-env update all packages in it automatically?
<{^_^}> [nixpkgs] @vcunat pushed 562 commits to staging: https://git.io/fhydd
<sphalerite> vonfry: simply put, no
<sphalerite> ,imperative
<{^_^}> nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
<petersjt014> anyone here have access to the build server? aarch64 needs to compile a shiny new llvm and has been failing at it for ~2 days.
<petersjt014> something like a 3x timeout period would prob do it
<q6AA4FD> wedens: that's a good idea, i'll look into it.
<q6AA4FD> wedens: thanks*
<petersjt014> yaaaaay im helping :D
<Ralith> q6AA4FD: +1 to direnv, the emacs mode is a bit of an ugly hack but it works well in practice ime
<petersjt014> this echos my armv6l frustrations perfectly too
<Ralith> and it is very pleasant for shell use besides
<vonfry> {^_^}: sphalerite: Thanks.
<petersjt014> I ran timeout 14d nixos-rebuild --fast, wasn't enough :|
<petersjt014> gonna look into doin it on a vm prob
<clever> petersjt014: --fast just skips pre-building nix first
<{^_^}> [nixpkgs] @pSub pushed to update-calibre « calibre: 3.38.1 -> 3.39.0 »: https://git.io/fhyFe
<petersjt014> I tried a lot of stuff, 'fast' just looked appropriate
<{^_^}> [nixpkgs] @pSub opened pull request #55036 → calibre: 3.38.1 -> 3.39.0 → https://git.io/fhyFf
redj has quit [Read error: Connection reset by peer]
redj has joined #nixos
ubert has joined #nixos
maximiliantagher has joined #nixos
Mateon1 has quit [Quit: Mateon1]
Mateon1 has joined #nixos
timor has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
ThatDocsLady has joined #nixos
__monty__ has joined #nixos
gagbo has joined #nixos
vonfry has quit [Quit: WeeChat 2.3]
alter-schjetne has joined #nixos
schjetne has quit [Ping timeout: 250 seconds]
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
thc202 has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<PeterHK> anyone managing django app with nix? i ported all deps over but now see a lot of errors in tests :(
Jetien has joined #nixos
<chrisbarrett> elvishjerricco: infinisil: thanks for the pointers, got those options definitions working. works like a charm!
alter-schjetne has quit [Ping timeout: 272 seconds]
dejanr has joined #nixos
o1lo01ol1o has joined #nixos
<dejanr> hey all, i am working on nix project, and running nix-build for project expression, just exists with 0 exit code and show's nix store location, any way to debug why is this happening and how to get more insight?
<clever> dejanr: your source hasnt changed, so its using a cached build
<dejanr> clever: if i garbage collect builds, it just checks out our nixpkgs layer, switches out to new fetchgit branch, and exists with status code 0 again
<symphorien> did you change the sha ?
<symphorien> (in fetchgit)
<dejanr> we use nixpkgs overlay for some shared expressions
<clever> dejanr: the result symlink nix-build produced is a GC root, so it will never garbage collect the build
<dejanr> yes i used nix-prefetch-git to update nixpkgs overlay
chrisbarrett has quit [Quit: chrisbarrett]
<clever> dejanr: you would have to remove the result symlink first
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<dejanr> ok
<dejanr> will try thanks
<clever> but that wont really fix the problem
<clever> nix will just remake the path again, with the same source and same output
<dejanr> clever: now it builds the project, thanks a lot!
<clever> it is likely building the same version you just deleted, so no real change
griff_ has joined #nixos
alex`` has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
realrokka has quit [Ping timeout: 245 seconds]
PeterHK has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 245 seconds]
schjetne has joined #nixos
<{^_^}> [nixpkgs] @4z3 opened pull request #55037 → urlwatch: 2.15 -> 2.16 → https://git.io/fhybv
Guanin has joined #nixos
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @4z3 opened pull request #55038 → maintainers.tv: update email address → https://git.io/fhybk
Makaveli7 has quit [Quit: Leaving]
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @abhi18av opened pull request #55039 → Added myself as a maintainer → https://git.io/fhybn
<{^_^}> [nixpkgs] @bjornfor pushed to master « moreutils: unbreak 'ts -r' »: https://git.io/fhybC
timor has quit [Remote host closed the connection]
ritik has joined #nixos
timor has joined #nixos
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fhybz
<{^_^}> [nixpkgs] @tazjin opened pull request #55040 → Fix manual Makefile by including function doc generation → https://git.io/fhybg
<immae> Hi everyone, I recently enabled sandboxing in my nix install, and almost everything works fine, but now I’m trying to update channels (nix-channel --update) and it complains about a missing /usr/bin/bash (and the derivation he’s trying to build contains the /usr/bin/bash : https://paste.ee/p/ZKwfR ), how should I fix it?
maximiliantagher has joined #nixos
dermetfan has quit [Ping timeout: 250 seconds]
sigmundv_ has joined #nixos
maximiliantagher has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @johanot opened pull request #55041 → kube-router: 0.2.3 -> 0.2.5 → https://git.io/fhybK
ritik has quit [Remote host closed the connection]
rprije has quit [Ping timeout: 246 seconds]
<tilpner> Wait, calling nix-channel fails? Are you on NixOS or Nix-on-something-else?
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
<tilpner> With that PATH it has to be Nix-on-something-else
<tilpner> What's with "immaeNixpkgs"? Is that your channel name?
o1lo01ol1o has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
simukis has joined #nixos
<immae> nix-on-something-else
<immae> yes it’s my channel name that I’m trying to create
<immae> (it’s a freeze of a given version, to ensure reproductibility with nixops)
<immae> It works fine if I disable sandbox while running the update
<immae> (I can live with that, but if I can fix it correctly it’s even better :p )
carlosdagos has quit [Quit: Connection closed for inactivity]
alex`` has quit [Ping timeout: 240 seconds]
sinner has joined #nixos
sinner is now known as Guest12887
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.5.8 -> 1.5.9 »: https://git.io/fhyb5
Guest56418 has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
ng0 has joined #nixos
alex`` has quit [Ping timeout: 250 seconds]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
magnetophon has joined #nixos
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
orivej has quit [Quit: No Ping reply in 180 seconds.]
dejanr has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #55041 → kube-router: 0.2.3 -> 0.2.5 → https://git.io/fhybK
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhyNq
maximiliantagher has joined #nixos
<tilpner> immae: What's the value of (import <nix/config.nix>).shell?
<Taneb> Where's the source of nixos-rebuild located?
<tilpner> ,find nixox-rebuild.sh
<{^_^}> ,find is temporarily unimplemented
<immae> tilpner: /usr/bin/bash
<srhb> Taneb: nixos/modules/installer/tools iirc
<Taneb> srhb: thanks
thc202 has quit [Ping timeout: 250 seconds]
<Taneb> :)
thc202 has joined #nixos
<fengels> I'm having a really annoying issue.
<fengels> Quite frequently I seem to be unable to connect to certain pages whilst the rest of the internet is working fine.
<fengels> Didn't have this issue on any other distribution.
<tilpner> immae: Mine points into the store, and I'm not familiar enough with Nix-on-not-NixOS configuration to tell why it's set like that
maximiliantagher has quit [Ping timeout: 268 seconds]
<immae> tilpner: I guess I should edit my /usr/share/nix/corepkgs/config.nix which hardcodes some values?
<fengels> Also sometimes Firefox can't connect but chromium can and vice versa and at other times I can't even ping the URL
<tilpner> immae: You can look at the source of <nix> with "nix-instantiate --find-file nix". You could try editing nix.conf to add /usr/bin/bash to extra-sandbox-paths
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}Preview: 2.1.12 -> 2.2.0a1 »: https://git.io/fhyNn
<tilpner> immae: But this seems like a problem that would affect other people as well, so maybe wait for someone familiar with Nix-on-not-NixOS, or file an issue
<immae> ok thanks tilpner (I don’t want to edit extra-sandbox-paths), I’ll try to see and understand how it works
<tilpner> immae: How long have you had Nix installed on that machine? I don't know if Nix can self-update into non-store locations
<immae> I don’t know, and yes I should probably update nix :)
<immae> It’s 2.1.3
<tilpner> Might be worth trying, but I'm just guessing
<immae> Yes, the thing is, I don’t want to rebuild everything today, so I’m trying to do it (maybe too) carefully
<immae> (I first want to freeze, then update :p )
<immae> But thanks for the hint, I found a path I didn’t know of yet
<tilpner> Just have your server build everything for you, no need to do that locally
<immae> What do you mean?
<tilpner> You can instantiate an expression locally, copy the derivations to a server with Nix installed, build it there, and copy the outputs back
<tilpner> Build a neat wrapper for that, and it can be convenient if you don't want your laptop fans to spin for hours
<symphorien> this can be made transparent this way https://nixos.wiki/wiki/Distributed_build
<tilpner> Ah, right. I didn't use that because I wanted to have control over whether things are copied back
<immae> Well, it’s not th ebuild time that is a problem, it’s that it has a lot of things that changed, and I prefer to be available when I upgrade them
<immae> So I’d like to freeze the channel for now, and upgrade when I’m available
<tilpner> Updating Nix shouldn't break anything
<immae> oh?
<immae> Isn’t nix a dependency of all nixpkgs?
<tilpner> I don't think so
<tilpner> If you manage to upgrade Nix without deleting your store, I don't see why it would rebuild anything, as long as your inputs stay the same
Ariakenom has quit [Ping timeout: 250 seconds]
<immae> So that means that all the sha's are independent of the nix version, right?
<tilpner> (Note that 2.2 has a bug with nix-shell as root)
<tilpner> Yes, they should be
<immae> Ok
<immae> I wasn’t aware of that
<symphorien> tilpner: which bug ?
<sphalerite> ^
<sphalerite> tilpner: also, still haven't had any more mysterious shutdowns
<tilpner> Ugh, Github, how can I search for issues I commented on
<tilpner> nix#2646
<{^_^}> https://github.com/NixOS/nix/issues/2646 (by mpickering, 1 week ago, open): Regression: error: restoring parent mount namespace: Invalid argument
<tilpner> ^ symphorien, sphalerite
<immae> tilpner: nix upgrade ongoing
<immae> 🤞
<tilpner> sphalerite: Yay. :/
<sphalerite> tilpner: pcommenter:tilpner
<sphalerite> - p
i1nfusion has quit [Remote host closed the connection]
<tilpner> Ah, nice
i1nfusion has joined #nixos
<{^_^}> [hydra] @grahamc pushed 0 commits to fix-build: https://git.io/fhyNK
<tilpner> O.o
i1nfusion has quit [Remote host closed the connection]
<tilpner> Did you just push an empty branch, gchristensen?
<gchristensen> that usually means the branch was deleted
i1nfusion has joined #nixos
<tilpner> Oh, right, that makes more sense
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
init_6 has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/10dbdd30d19 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<immae> tilpner: do you know if I can specify inside a configuration.nix file which paths I want to use? (both for nixpkgs and "nixos" services/modules)
<immae> (in my case, <immaeNixpkgs> only)
<tilpner> immae: You can use nix.nixPath, but it might not be what you want
<immae> That will override every NIX_PATH right?
<tilpner> Well, yes, at least after a reboot
<tilpner> But not immediately, and it doesn't take effect for the current build
<immae> ok
<tilpner> It takes a giant workaround to be able to specify the nixpkgs to use for a configuration within that configuration
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<immae> Ok, I realize that maybe I’m asking the wrong question since I’m building through nixops: I could just edit NIX_PATH and build with nixops, and put whatever I want there, but I’d prefer to use immaeNixpkgs rather than nixpkgs (because I want this for nixops specifically and not for everything)
<immae> (note: I upgraded nix and it didn’t try to rebuild everything \o/)
<tilpner> Because it takes a re-login, I try to keep my changes to NIX_PATH as few as possible
dermetfan has joined #nixos
<tilpner> While I tried nixops, I overlayed it with a wrapper that always set NIX_PATH to a specific value
<tilpner> Maybe that would work for you
<immae> ok
<immae> Yes
<immae> I already have a wrapper to extract password files, so I can add that
<tilpner> makeWrapper ${super.nixops}/bin/nixops $out/bin/nixops --set NIX_PATH /cfg
<immae> Thanks
<immae> I’ll do with it
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
Ariakenom has joined #nixos
timor has quit [Quit: Leaving]
silver has joined #nixos
genesis has quit [Remote host closed the connection]
Judson1 has quit [Ping timeout: 268 seconds]
Guest76638 has quit [Ping timeout: 268 seconds]
Judson1 has joined #nixos
genesis has joined #nixos
xok has quit [Quit: Leaving.]
Judson has joined #nixos
Judson is now known as Guest52746
Ariakenom has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed 7 commits to master: https://git.io/fhyAW
<{^_^}> [nixpkgs] @peti merged pull request #53978 → GHCJS: Fix 8.4 and add 8.6 → https://git.io/fhcEV
ub has joined #nixos
ubert has quit [Ping timeout: 268 seconds]
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #54969 → zoom-us: 2.6.149990.1216 -> 2.7.162522.0121 → https://git.io/fhDOt
<{^_^}> [nixpkgs] @danbst pushed commit from @dtzWill to master « zoom-us: 2.6.149990.1216 -> 2.7.162522.0121 (#54969) »: https://git.io/fhyAE
rawreraw has quit [Ping timeout: 240 seconds]
<azazel> mmm... i've enabled a borgbackup job using the config.service.borgbackup and now systemd fails to run the job with something like "Failed at step NAMESPACE spawning" and "Failed to set up mount namespacing: No such file or directory"... any clue?
Ariakenom has joined #nixos
<sphalerite> Anybody else heading to FOSDEM? (cc etu)
schjetne has quit [Read error: Connection reset by peer]
schjetne has joined #nixos
dejanr has joined #nixos
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to release-18.09: https://git.io/fhyAP
<{^_^}> [nixpkgs] @Ekleog merged pull request #55022 → redmine: 3.4.6 -> 3.4.8 (backport) → https://git.io/fhyQ3
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #nixos
shibboleth has quit [Client Quit]
<{^_^}> [nixpkgs] @markuskowa opened pull request #55042 → NixOS/auto-upgrade: add git to service path → https://git.io/fhyAS
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54934 → python.pkgs.keras-preprocessing: 1.0.5 -> 1.0.8 → https://git.io/fhMIx
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhyA9
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhyAH
<{^_^}> [nixpkgs] @markuskowa merged pull request #55038 → maintainers.tv: update email address → https://git.io/fhybk
<Taneb> How can I find out what the run-time closure of a derivation is?
<gchristensen> you have to build it to know
<Taneb> Yes
<gchristensen> from there, nix-store --query --requisites /nix/store/hash-my-program
<Taneb> gchristensen: thanks :)
<gchristensen> (informationally: derivation is a .drv file, in this case you're wanting to know the closure of the store path)
<Taneb> That makes sense, thank you
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #54909 → wrap-gapps-hook.sh: only wrap links when required → https://git.io/fh1zA
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fhyAN
<{^_^}> [nixpkgs] @dotlambda merged pull request #54974 → Backport fixes to Dask and Distributed to release-18.09 → https://git.io/fhDCD
<{^_^}> [nixpkgs] @dotlambda pushed 7 commits to release-18.09: https://git.io/fhyAA
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #55043 → coqPackages_8_9: disable a few packages that do not build → https://git.io/fhyxk
maximiliantagher has joined #nixos
<tilpner> Taneb: If your store path is in a cache, the .narinfos can be consulted to get the runtime closure as well, without having it built/downloaded locally
<{^_^}> [nixpkgs] @markuskowa opened pull request #55044 → molden: 5.8.2 -> 5.9 → https://git.io/fhyxl
<Taneb> tilpner: thanks, but in this case it was something I was working on locally
<Taneb> I was trying to make sure a dynamic library was sticking around (it was!)
ottidmes has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #48726 → weblate: init at 3.2.1 → https://git.io/fxoWm
rawreraw has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #55046 → cmake: disable package registry → https://git.io/fhyx4
jak[m]1 has joined #nixos
rawreraw has joined #nixos
<ottidmes> fengels: maybe a unstable DNS? What is your network configuration like?
rawreraw has quit [Client Quit]
<{^_^}> [nixpkgs] @flokli opened pull request #55047 → neo4j: 3.4.10 -> 3.5.2 → https://git.io/fhyxE
rawreraw has joined #nixos
rwe has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FlorianFranzen closed pull request #54982 → cmake: disable package registry → https://git.io/fhDr8
rwe has joined #nixos
<fengels> I simply use Networkmanager and copied over the connection files from my previous distro
<ottidmes> fengels: was the switch from your previous distro recent? I ask, because maybe a kernel upgrade did something to your network drivers (they did to mine)
<fengels> ottidmes: it was recent yes, I have 4.19.19 on NixOS and recently had 4.19 and 4.20 on arch an Gentoo
rawreraw has quit [Quit: WeeChat 2.3]
Guanin has quit [Remote host closed the connection]
<ottidmes> fengels: and its using the same driver as it did on your other OSes: lspci -v | grep -C 10 -i ethernet
<ottidmes> fengels: I assumed cabled network, might be wireless, considering you copied over connection files
<fengels> It's WiFi but yes both were using iwlwifi
<fengels> ottidmes: there's also never any error messages in dmesg
<symphorien> a firmware issue, maybe ?
<ottidmes> fengels: maybe try and reset all stored connections and try adding the one you are using now manually, maybe there is something in the configuration of the connections that conflicts with how NetworkManager is configured in NixOS or some such?
sigmundv_ has quit [Ping timeout: 246 seconds]
maximiliantagher has quit [Ping timeout: 268 seconds]
<fengels> Firmware isn't automatically installed?
<ottidmes> fengels: ow, and you said you could not ping some URLs, could you still ping IPs at that point, I guess so considering you mentioned the rest of the internet seemed to work fine, so it feels like a DNS issue
sigmundv_ has joined #nixos
<ottidmes> fengels: not per se, could be you need to enable the unfree firmware
dermetfan has quit [Quit: WeeChat 2.3]
<symphorien> fengels: https://nixos.org/nixos/options.html#hardware.firmware
brejoc has joined #nixos
Makaveli7 has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
<fengels> ottidmes: I'll try that
<fengels> ottidmes: that doesn't seem to have fixed it. My current network was also setup manually so that wouldn't be the issue.
<ottidmes> fengels: if the errors occur if you wake up from sleep mode by any chance, than it actually might be related to the same problem I had, but I would expect you to have them on Arch and Gentoo as well
<fengels> ottidmes: it always happens regardless of waking or fresh boot
<ottidmes> fengels: you could also try and modify /etc/resolv.conf and change the DNS servers to those of Google/Cloudflare
<ottidmes> fengels: I edit it like this, to work around the readonly limitation: sudo cp /etc/resolv.conf{,~} && sudo mv /etc/resolv.conf{~,} && sudo nano /etc/resolv.conf
<ottidmes> fengels: or maybe just try and figure out what the actual problem is, that of DNS, no new connections, no connection at all, any more info helps
<{^_^}> [nixpkgs] @flokli opened pull request #55049 → odpic: 2.4.2 -> 3.1.0 → https://git.io/fhypT
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
<fengels> ottidmes: I tried setting the DNS server I'll have to find a new problematic page because the previous started loading again before changing DNS
<gchristensen> "ERROR:x11_input_method_context_impl_gtk.cc(144)] Not implemented reached in virtual void"
<{^_^}> [nixpkgs] @aanderse opened pull request #55050 → nixos/redmine: add an extraEnv option, enable automatic log rotation → https://git.io/fhyp3
reinhardt has quit [Quit: Leaving]
orivej has quit [Ping timeout: 245 seconds]
bfrog has joined #nixos
<fengels> ottidmes: seems to be DNS related since I can access the pages by IP
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ottidmes> fengels: if you have such an error, try and test with `dig @8.8.8.8 google.com` and try the same with your ISP provided DNS, or your gateway (like 192.168.0.1) and see what the results are
endformationage has joined #nixos
init_6 has quit [Ping timeout: 250 seconds]
<fengels> ottidmes: weird dig gives me no error but chromium returns with dns_probe_finished_nxdomain
brejoc has joined #nixos
<fengels> ottidmes: and that's with the default DNS
ryantrinkle has joined #nixos
<__monty__> Have you tried an alternative browser to see if it's just chromium?
<fengels> ottidmes: with 1.1.1.1 as DNS chromium and Firefox seem to behave fine again
<fengels> __monty__: yeah it's both browsers, it's hard to find pages to test on because magically a page loads sometimes for a while
<__monty__> Do you do local dns caching?
cantstanya has quit [Remote host closed the connection]
<fengels> __monty__: that's nscd right? If so then it says it's running
<__monty__> I'm not sure how much dns caching that does? I know it's necessary for avahi.
cantstanya has joined #nixos
<__monty__> Haven't the faintest as to your issue though.
<Taneb> If I want to have a python library link a .so dynamic C library, what's the best way to make sure that people using the library can find it?
<fengels> __monty__ I'll just figure out how to set DNS globally with Networkmanager ans that will be a good enough workaround
<symphorien> Taneb: hardcode its path in the python file which opens the library
<fengels> __monty__: ottidmes: funny thing is I can't even connect to my router
<__monty__> fengels: But you can ping the wider internet? Very weird.
<__monty__> Also impossible, no?
jabranham has joined #nixos
<fengels> I can ping my router through IP but not name
<fengels> And 192.168.2.1 in the browser redirects to speedport.ip which then my browser can't resolve
<fengels> Ping also fails at resolving but dig can find the correct ip of everything
o1lo01ol1o has joined #nixos
<ottidmes> fengels: https://serverfault.com/questions/813158/dig-works-but-ping-does-not-resolve-host this answer and the comments underneath it seem to indicate that it might be the issue that one of your other DNS servers is failing, try and only have one DNS server listed in resolv.conf, e.g. 1.1.1.1 since that one seemed to work for you
Guanin has joined #nixos
fusion809 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2481296277f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<fengels> ottidmes: how come my phone is able to resolve everything correctly and it used to work on previous distributions?
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
brejoc has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « checkstyle: 8.16 -> 8.17 »: https://git.io/fhyha
<__monty__> Does nixos use systemd-networkd? Cause then you shouldn't edit resolv.conf manually afaik?
<ottidmes> __monty__: networkmanager is being used by fengels so systemd-networkd is not used afaik
<fengels> Is there anything I perhaps should be using instead of Networkmanager nowadays on a laptop.
<fengels> It's just the one I'm used.
<__monty__> NM's fine.
<ottidmes> fengels: its indeed got to be a software issue, but its hard to pin point those issues, could be just a matter of the kernel being configured differently on NixOS or some other piece of software
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ub has quit [Quit: Leaving]
brejoc has joined #nixos
ubert has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #55047 → neo4j: 3.4.10 -> 3.5.2 → https://git.io/fhyxE
<{^_^}> [nixpkgs] @alyssais pushed 3 commits to master: https://git.io/fhyhd
<{^_^}> [nixpkgs] @pSub pushed to update-gtk-doc « gtk-doc: 1.28 -> 1.29 »: https://git.io/fhyhF
sigmundv_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @pSub opened pull request #55051 → gtk-doc: 1.28 -> 1.29 → https://git.io/fhyhx
<{^_^}> [nixpkgs] @smaret opened pull request #55052 → gildas: 20190101_b -> 20190201_a → https://git.io/fhyhp
<fengels> monty: ottidmes thanks to both of you for helping me
erasmas has joined #nixos
<immae> Does anyone use nixops in "multi-user" environment? (i.e., several people may deploy to the same server from different locations) I read somewhere that it’s not supported (i.e. one nixops state expects to be the only one touching that), how do you handle this situation?
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Serus> so joepie91 has been selling this to me, and I'm pretty sold so far
<Serus> But I still have a few questions
<simpson> We have a few answers.
<Serus> I want to setup a server that solely exists for logging, and all other servers I setup would connect to that server via syslog-ng, is such a usecase easily supported in nixos?
<simpson> I've never done anything like that, but it sounds plausible. What kinds of problems have you experienced with this on other distros?
<Serus> Not necessarily a problem with that exact usecase, but keeping servers in sync in terms of configuration has been entirely manual so far
<Serus> And I like the servers to do that work for me, which is where I was sold on this
<joepie91> that sounds like the kind of case where you'd use NixOps
<joepie91> you can directly reference the machine names of other machines afaik (as they are added to the hosts file), but in my setup I use an internal tinc VPN so I have the internal IPs of each machine separately declared in a file
<joepie91> ah, judging from my note the /etc/hosts stuff doesn't work :)
<joepie91> it's in the manual though afaik...
<gchristensen> what is the story behind the name "cryto"?
<joepie91> gchristensen: none; fairly randomly picked like a decade ago
<joepie91> sounded neat
<joepie91> did not realize the name collisions :P
xtatiKgriD has quit [Quit: Lost terminal]
<gchristensen> ah, I was sort of expecting something about it being a jokey take on broken crypto
<joepie91> heh, nah
<joepie91> you overestimate my naming cleverness :D
<simpson> Serus: Bare metal, cloud, etc.?
<Serus> bare metal
<gchristensen> joepie91: I should have known, given your avatar is coffee, pie, and 91.
<joepie91> hehe
o1lo01ol1o has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
<simpson> Serus: I haven't found tools I like more than git and ssh for bare-metal management. If nixops or disnix work on bare-metal though then that might be worth trying.
<joepie91> simpson: nixops does; you can point it at any existing NixOS installation with SSH access and it'll take it over
<joepie91> (this is a bit sparsely documented but it definitely works)
<joepie91> this is how all my stuff is set up in fact :P
<simpson> Admittedly this is more because of NixOS' power than because of problems with other tools; were this Debian or Ubuntu, something like Puppet or Terraform might be worth the time investment. But Nix is more reliable than those.
<simpson> joepie91: Oh, cool.
<joepie91> simpson: on the first connection it'll also set up a key specific to that server, and will roll its public part into the deployment, so that for future deployments you don't need your 'seed' key (read: normal SSH keypair) anymore
<joepie91> the keypair is then just a NixOps resource
<joepie91> so a typical deployment on a VPS provider or a dedicated server provider or w/e is to place an order, load a custom ISO (or maybe nixos-infect), set up a really barebones system with SSH access through your keypair, and then run the initial deployment; and then you're done
ryantrinkle has quit [Ping timeout: 240 seconds]
<Serus> How hard is it to write your own nixops packages?
Makaveli7 has quit [Quit: Leaving]
<joepie91> Serus: NixOps doesn't have its own packages; it's just orchestration automation around a NixOS-based configuration really
<Serus> For both existing packages, and custom software
<joepie91> so you have a bit of wrapper code (also written in Nix, the language) that defines the machines that exist, and the value of each machine is a NixOS configuratioin
<joepie91> configuration*
<joepie91> and so it can use everything that's in nixpkgs, the default package set for NixOS
<joepie91> and any custom Nix packages
<Serus> right
<joepie91> writing *NixOS* packages varies strongly in difficulty
<simpson> Serus: I wrote two Nix derivations last night while half-asleep. One of them was a Node application, which meant that I added a line to a JSON file and waited 30min to scrape npm. The other was standard autoconf and took maybe 5min.
<joepie91> the writing of packages itself is fairly easy, but a) the documentation for 'standard library' functions etc. is still very incomplete, and b) if applications vomit state all over your system it can be hard to contain them into a stateless, isolated package
<joepie91> Node applications are indeed very easy, it's basically an automated process; same for a few other languages that have their own registry system and for which conversion tools exist
<simpson> You will get very familiar with http://nixos.org/nixpkgs/manual/
<Serus> For example I have some highly customized configs for some software, like ssh, and nixos doesn't seem provide nearly enough customizability as far as I can see
<joepie91> but if you look at eg. KDE or GNOME stuff it tends to involve a loooooot of hacks to keep it from shitting state everywhere :P
<joepie91> Serus: oh, for that almost every service just has an 'extraConfig' option or so
<joepie91> you paste your custom configuration lines in there and that's it
<Serus> and it overwrites them?
<simpson> Adding new functionality to existing NixOS service modules is straightforward and a great way for beginners to get into writing Nix.
<ajs124> Serus, run-time or compile-time configuration?
lfish has joined #nixos
<joepie91> Serus: generally appends, unless that doesn't make sense for a particular application in which case it'll usually overwrite (this is usually in the option description)
Makaveli7 has joined #nixos
<Serus> ajs124: config file values
<joepie91> Serus: I can also heartily +1 what simpson said :)
<Serus> idk what ssh does in case there's a value with the same key later in the config
<simpson> Usually the extra config lines are merged in. It's a common pattern that if multiple modules define the same thing, then the values will get merged somehow. (You can know for sure by reading the option types in the manual or source code.)
<ajs124> while we're on the topic of adding options to nixos ssh modules, I'd really appreciate some comments on https://github.com/NixOS/nixpkgs/pull/53024
<{^_^}> #53024 (by ajs124, 4 weeks ago, open): sshd: Add user options for ForceCommand and ChrootDirectory
<joepie91> Serus: anyway, a key thing to keep in mind is that everything is code; which means that each service/application interprets and translates configuration options in whatever way is most sensible for that particular service/application, it's not decided by Nix how that translation occurs
<lfish> hello. Ruby bundle is working correctly only once in a project, if you change the Gemfile and `bundle install` again then it tries to write to nix store. By the way, gem install works just fine. Any ideas about what might be happening?
<joepie91> you'll see the same in how Nix elsewhere; Nix is more like a language runtime that happens to produce builds
<joepie91> all the heavy lifting in terms of build and configuration logic is defined in the package set itself, in whatever way makes most sense for a given case
<joepie91> in how Nix works elsewhere*
<dmj`> Has anyone launched an Ec2 instance into an already defined VPC with nixops before?
<Taneb> immae: setting up a multi-user nixops environment is something I'd like to know too
<joepie91> Taneb: as in, multiple people can deploy from different systems?
<Taneb> joepie91: yeah
<joepie91> Taneb: so how NixOps works right now is that it has an on-disk state database, and that contains all the necessary state to do a deployment correctly; there's no replication mechanism for that that guarantees things won't go out of sync or conflict
<joepie91> Taneb: so the only certainly-safe option at the moment is to have everybody run the deployment from the same central machine
<dmj`> Taneb: that's exactly what my setup is, I have two different access key ids
<immae> joepie91: yes, but I’d like to avoid that
<Taneb> joepie91: that's rather unsatisfying
<dmj`> Taneb: nixops export > state.json, nixops import < state.json
<joepie91> Taneb: I agree :)
<dmj`> Taneb: commit the json file to your git repo
<Serus> does nixos have a license restriction for packages?
<Serus> Like no non-free software
<joepie91> Serus: packaging proprietary software in nixpkgs is something that's a little frowned upon though not forbidden (and there's an 'unfree' flag and you do need to set a flag to make unfree software installations possible)
<immae> For now, I’ll synchronise with my mate before each deploy, but if I can find an automated way, it would be better
<joepie91> Serus: but you don't need to rely on just what nixpkgs provides; you can easily specify custom packages locally
<joepie91> even specific to your NixOps configuratioin for example
<joepie91> configuration*
<Serus> Is there like an "AUR" for nixos?
<Serus> Cause I want to package onlyoffice
<qyliss^work> NUR!
schjetne has quit [Ping timeout: 250 seconds]
hyper_ch2 has quit [Quit: Page closed]
<Taneb> Serus: wikipedia suggests onlyoffice's desktop version is AGPL
<Serus> I have it running on my nextcloud setup
<Serus> on an arch server
<Taneb> Ah, right
<joepie91> Serus: keep in mind that you don't *need* to publish a package to use it yourself; it's not the "define remote repositories and install only from that" model that most distros follow in some fashion
<Serus> it did require me to make some changes to it to get it to run, but a nix package would be cool
dejanr has quit [Ping timeout: 250 seconds]
<joepie91> Serus: it is 100% possible to package the thing directly from within your nixops config and never publish it anywhere
<gchristensen> I do this withlots of software, myself
<joepie91> since 'packaging' just involves writing Nix code
ryantrinkle has joined #nixos
<gchristensen> for example, here I package the prometheus surfboard exporter https://github.com/grahamc/network/blob/master/lord-nibbler/router.nix#L4-L25 and then "install" (use) it https://github.com/grahamc/network/blob/master/lord-nibbler/router.nix#L499-L513 in the same file
<qyliss^work> Is the server not also AGPL? https://github.com/ONLYOFFICE/server
<laas> what package includes the pkgconfig file for openssl?
<gchristensen> openssl.dev probably, laas
<Serus> qyliss^work: oh, looks like it
<tilpner> ,locate openssl.pc
<{^_^}> Found in packages: openssl.dev, libressl.dev, openssl_1_1.dev, libressl_2_6.dev, libressl_2_8.dev, openssl-chacha.dev
<laas> thanks
<laas> I searched for openssl but couldn't find it
<gchristensen> what are you trying to do?
<gchristensen> usually, just referencing openssl will do the trick
<laas> well it's for rust
<Serus> only thing I'm missing in onlyoffice is documentation and syslog support
<gchristensen> ah
<Serus> unless the syslog support is there, which is a better argument for documentation
<joepie91> Serus: but yeah, I feel like your underlying question is "are there limits to what software I can reasonably get running on NixOS" - to which the answer is "no, not really, unless it's so poorly designed that you need to implement a lot of hacks to get it to behave without spewing all over the system"
griff__ has joined #nixos
<joepie91> licensing is certainly not a problem
<{^_^}> [nixpkgs] @pSub pushed to master « pfstools: port to qt5 (#33248) »: https://git.io/fhyj5
<joepie91> hell, there are some package definitions in nixpkgs for proprietary games that don't even include a link to the source; just a "please add the installer to your store first" note and then it uses that
sigmundv_ has quit [Ping timeout: 245 seconds]
<joepie91> so long as you can *somehow* define a way for Nix to get at the 'source', whether it be as a local file or over HTTP or whatever, it will work
<tilpner> Serus: There definitely is software I gave up on packaging just because it would be such a pain to patch everything just right
<joepie91> (for the record, I feel like it's mostly desktop software that's problematic to package; server software seems to mostly behave)
<joepie91> (in my experience anyway)
<laas> how do I install the openssl.dev package? I can't find it anywhere
griff_ has quit [Ping timeout: 246 seconds]
griff__ is now known as griff_
<qyliss^work> laas: how are you using Rust?
<symphorien> ,libraries laas
<{^_^}> laas: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<simpson> Serus: As an example of a package which does not play nicely with Nix's isolation, Steam does not work on NixOS as-is at all, and must be placed into a fake FHS-compatible user environment.
<laas> qyliss^work: I'm just using rustup directly
<laas> carnix didn't work
<laas> symphorien: I realize that but I first want to find the package lol
<joepie91> oh, Rust
<joepie91> uh, one sec
<ottidmes> laas: just add pkgconfig and openssl to buildInputs like you would for any other package, if you use rustPlatform.buildRustPackage at least.
maximiliantagher has joined #nixos
<joepie91> that's my shell.nix for a Rust project
<joepie91> I don't recall why I did it that way but it should work
<laas> thanks
<ottidmes> laas: here is an example of what I have used: https://github.com/msteen/nix-update-fetch/blob/master/default.nix just replace ncurses for your openssl dependency, note that since I needed to use some of the latest Rust features, I did have to add RUSTC_BOOTSTRAP = 1; and I had to build it using nixos-unstable
jevonearth has quit [Quit: Leaving.]
<ottidmes> laas: since some packages used edition = 2018 which is only supported in the latest stable rustc on nixos-unstable
jevonearth_ has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #55053 → mkDerivation: cleaner handling of the `name` argument → https://git.io/fhSet
<Serus> simpson: well, I want to use nixos for servers anyway, no need to run steam on a server
<joepie91> laas: btw, for installing Rust, I can strongly recommend Mozilla's nixpkgs overlay :) which provides all the same packages as rustup, but integrated into your Nix config
jevonearth_ has quit [Client Quit]
<tilpner> And you already have mozillas overlay setup if you have the nur installed
Ariakenom has quit [Ping timeout: 250 seconds]
<tilpner> E.g. nur.repos.mozilla.rustChannels.beta.rust
sigmundv_ has joined #nixos
<ottidmes> I like the mozilla overlay for its dev tools, but I do try to keep it all working with the stable rustc release on nixos-unstable, so packages can actually be put into Nixpkgs
<joepie91> ottidmes: good thing we have nix-shell then ;)
<laas> tilpner: nur?
<tilpner> ,nur
orivej has joined #nixos
<tilpner> :/
<tilpner> ,NUR
<{^_^}> Nix User Repository: User contributed nix packages, https://github.com/nix-community/NUR
dsiypl4 has joined #nixos
<ottidmes> joepie91: I do indeed use nix-shell to put those dev tools to use, but what did you mean by it? its not like nix-shell solves the "keep things working under the constraints of what is in Nixpkgs right now"
griff__ has joined #nixos
<joepie91> ottidmes: as in, you can test anything you build by instantiating a nix-shell with nixpkgs Rust and seeing if it still works/compiles
noonien has joined #nixos
sicklorkin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @akru opened pull request #55054 → parity: 2.2.7 -> 2.2.8 → https://git.io/fhSel
griff_ has quit [Ping timeout: 245 seconds]
griff__ is now known as griff_
<ottidmes> joepie91: I actually use nix-shell only for development, and nix-build to test if it works under Nixpkgs, because I know from many stories here on the IRC, nix-shell != nix-build in terms of making sure things build
<joepie91> ottidmes: hm. that sounds like a bug in nix-shell...
knupfer has joined #nixos
<Taneb> Hmm, what if there was a sort of nixops serivce running on one machine, and to use nixops people on other machines could via the network use that service...
<ottidmes> joepie91: things like lack of sandboxing, poisoning caused by the environment, anyway, its just as simple and effective to test with nix-build for release kind of builds
<{^_^}> [nixpkgs] @pSub pushed to update-gtk-doc « gtk-doc: 1.28 -> 1.29 »: https://git.io/fhSeV
<{^_^}> [nixpkgs] @alyssais merged pull request #55005 → racket: remove x86_64-darwin from platforms → https://git.io/fhylQ
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fhSew
<noonien> hello folks
<noonien> is there a default password for aditional users?
<noonien> i've skipped setting a root password, and i want to sudo, or change my users' password
<noonien> and i'm being asked for a password i didn't set
<ottidmes> noonien: by default it uses an invalid password, i.e. you cannot login with root without setting a password for it
<noonien> oh
phreedom has quit [Remote host closed the connection]
<noonien> so my only option is to boot the live cd
griff__ has joined #nixos
<ottidmes> noonien: you can fix it by going into the installer, mount your stuff and edit /mnt/etc/shadow
<noonien> i see
phreedom has joined #nixos
<noonien> can i set a password for my user, from within the live cd?
<symphorien> editing /etc/shadow won't work unless you have mutable users though
<noonien> or, do i have to chroot?
<symphorien> there is nixos-enter for that
<noonien> are users mutable by default?
<gchristensen> yeah
griff_ has quit [Ping timeout: 240 seconds]
griff__ is now known as griff_
Jetien has quit [Ping timeout: 245 seconds]
<noonien> then yes, my users are mutable
<gchristensen> sometimes, turning off mutable users leads people to accidentally locking themselves out ;)
<noonien> hmm, what does it mean to have immutable users?
<noonien> is it only /etc/shadow that gets locked down?
<noonien> awesome, thanks!
<ottidmes> noonien: that they are configured through your NixOS config
<gchristensen> it means you can't add users or use passwd
<ottidmes> noonien: maybe a better name for it would have been declerative users
seku has joined #nixos
<noonien> nice, from its name, i thought it would reset my $HOME on boot as well
schjetne has joined #nixos
<gchristensen> heh
Synthetica has joined #nixos
<noonien> but i prefer my users to be "immutable" in this regard
maximiliantagher has quit [Ping timeout: 268 seconds]
<gchristensen> me too
<Synthetica> How do I install extra QT platform plugins?
<Synthetica> Specifically: for wayland
magnetophon has quit [Ping timeout: 244 seconds]
elgoosy has joined #nixos
schjetne has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @MasseGuillaume opened pull request #55055 → coursier: 1.0.1 -> 1.1.0-M10 → https://git.io/fhSe7
<fengels> Synthetica: I think that's qt5.qwayland
<noonien> symphorien: hmm, what is nix-enter?
<noonien> i can't find a package for it
<noonien> is it available on the livecd?
<symphorien> nixos-enter a wrapper around chroot which will bind mount a number of things
<symphorien> it is available in the livecd 'only'
<noonien> oh, good
<symphorien> it is designed to chroot from the livecd to an existing nixos
<noonien> hmm, hopefully it works with zfs on top of luks
<noonien> if not, i'll just have to do it normally
<noonien> i can't even reboot without a root password atm, hehe
Soft has quit [Quit: WeeChat 2.1-dev]
<symphorien> systemctl reboot should not ask you a password if you are physically logged in
<{^_^}> [nixpkgs] @etu merged pull request #55037 → urlwatch: 2.15 -> 2.16 → https://git.io/fhybv
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhSeb
<noonien> it does not work: http://vpaste.net/qvRL3
<noonien> i'm not root btw
<ajs124> you can always reboot by writing to /proc/sysrq-trigger
magnetophon has joined #nixos
<noonien> oh, forgot about sysrq+REISUB
<Synthetica> fengels: can I just put that in system packages?
Makaveli7 has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
seku has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
tertl3 has joined #nixos
<mpickering> Can you use nix run as a script interpreter like you can with nix-shell?
agander has joined #nixos
<fengels> Synthetica: Just tried and that doesn't seem to exist, I'm not sure where the Wayland plugin is hidden then
ThatDocsLady has quit [Ping timeout: 252 seconds]
rcshm has joined #nixos
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-next: https://git.io/fhSvC
kisonecat has joined #nixos
<noonien> where do you guys mount your external drives?
<noonien> under what path?
<gchristensen> I just mount them to /mnt
<noonien> on ubuntu, it usually happened in /media/user/label
<noonien> on the nixos livecd, with plasma, i saw they got mounted in /run/media/user/label
<gchristensen> seems reasonable, mine don't get automounted
<noonien> what DE are you running?
<gchristensen> I use i3
thibm has joined #nixos
<slabity> Is it possible to have multiple Nix stores on a single machine? I'd like to put a read-only one on an SD card that I can move between systems
agander has quit [Ping timeout: 250 seconds]
johnnyfive has quit [Quit: I quit now.]
<makefu> slabity: what the nixos iso is using is overlayfs, so you an have a "lower" store which contains read-only packages and a write-store on top of it.
<samueldr> using udisksctl mount will mount disks like a DE would, under /media/$USER/something
dermetfan has joined #nixos
<samueldr> (also gives the right access rights if needed, etc)
<samueldr> no need to sudo to use it
maximiliantagher has quit [Ping timeout: 240 seconds]
aleph- has joined #nixos
<noonien> samueldr: oh, awesome!
<noonien> didn't know about udiskctl
iqubic has joined #nixos
<noonien> i want to mount an ext4 to be accessible by my user without sudo-ing
<samueldr> and if udisksctl mounting to /run/media/$USER/ is annoying to you, it's possible to avoid it https://gitlab.com/samueldr/nixos-configuration/blob/b756b2a2126a562b08e514c03b1987efc421feb6/profiles/desktop.nix#L208-231
<noonien> no, the mount point is OK, thanks!
q6AA4FD has joined #nixos
lassulus_ has joined #nixos
<samueldr> the first part makes it mount simply to /media/$volume_name, the scond part is a bind mount, and *somehow* most tools show /Volumes instead of /media, don't know why they would
dermetfan has quit [Client Quit]
lassulus has quit [Ping timeout: 268 seconds]
dermetfan has joined #nixos
lassulus_ is now known as lassulus
Ariakenom has joined #nixos
cyphase has quit [Ping timeout: 268 seconds]
<slabity> makefu: Thanks. I'll look into that.
orivej has quit [Ping timeout: 240 seconds]
<noonien> samueldr: nice configs, they seem pretty comprehensive!
<gchristensen> samueldr: are you macosing your system?
<samueldr> not really, mostly stretching the bounds of what can and cannot be done https://stuff.samueldr.com/screenshots/2019/02/20190201124842.png
<thibm> slabity: you can mount bind the store, but take care of NIX_IGNORE_SYMLINK_STORE (look at man pages of any nix tool). And that may not be a good idea to do at runtime
<gchristensen> wheres everything else, samueldr? :o
bfrog has quit [Ping timeout: 250 seconds]
kisonecat has quit [Quit: leaving]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/2481296277f (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
orivej has joined #nixos
alex`` has joined #nixos
<samueldr> what "everything" else?
<samueldr> :D
<samueldr> hidden under the rug
<samueldr> my linux kernel is basically behaving like a rootkit and simply omits reporting some paths
<gchristensen> oh gobohide
<samueldr> otherwise called the gobohide patches borrowed from gobolinux
<gchristensen> *stare*
<samueldr> to be fair, there really isn't a /home/, my home really is under /Users/
shibboleth has quit [Remote host closed the connection]
<gchristensen> imagine this: a nixos bootloader which let you specify a nixos config on github, and it nixos-rebuild-switch'd to it
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
<gchristensen> chromebook-style
<samueldr> I also considered /Documents and Settings/
<samueldr> but without the C: beforehand it's less powerful
* samueldr is thinking about remounting everything under /C:/
<samueldr> udisks would need to be patched to mount drives with D:++ names
<gchristensen> nixos hackers are the best/worst :P
<noonien> i've been running nixos in a VM for a few days, just switched to it on my local machine
bfrog has joined #nixos
<noonien> when i get some time, i'll probably try to find a way to embed secrets in my nixos config stored on github
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 268 seconds]
<noonien> for user/hostnames, wifi passwords, maybe even ssh keys, even though that might not be such a good idea to guard with just a passphrase
lassulus_ is now known as lassulus
<noonien> i really like how LUKS does encryption, i'll probably end up just tar-gz-ing then just AES-GCM with an argon2id generated key from a passphrase
ZeDestructor has quit [Quit: o.O]
ubert has quit [Quit: Leaving]
ubert has joined #nixos
<gchristensen> btw, Soong?
<noonien> yeah :D
orivej has quit [Ping timeout: 272 seconds]
<gchristensen> nice, I also chat with your progeny in another channel :)
shabius has quit [Quit: Leaving]
maximiliantagher has joined #nixos
ubert has quit [Client Quit]
<noonien> hehe, they have a mind of their own
<samueldr> Data, Lore or one of the augmented humans?
<noonien> careful, one is really mischievous
<gchristensen> commander data, in #sparkfun :P
<noonien> all of them, by design
<noonien> hehe
<noonien> oh, TIL about sparkfun
<noonien> didn't know they have an irc channel
ZeDestructor has joined #nixos
bfrog has quit [Quit: WeeChat 2.3]
<gchristensen> :)
<aleph-> Hmm, anybody see why is failing? Got the correct sha256 but the queried url just 404's.
<gchristensen> I think fetchPypi probably takes name not pname
<gchristensen> no?
appleclusters has joined #nixos
<thibm> I'm trying to write a derivation for a proprietary software. I'm actually doing the installation inside a FHS-compatible sandbox (with buildFHSUserEnv) and that works well!
<thibm> The problem is that at some point it tries to writes to /var/empty/.somestuff and that does not work. So far it's still good, but afterwards it tries to read those files again and fails.
<gchristensen> nothing should ever write to /var/empty
<thibm> I know
<thibm> It looks like /var/empty is the $HOME (and not /homeless-shelter), and I don't find any relevant reference to /var/empty in nixpkgs
reinhardt has joined #nixos
<thibm> I tried to overwrite HOME environment variable, it did not work
<thibm> Of course I cannot modify the software. I'm not sure where this /var/empty comes from so I cannot fix it. Does anyone have any idea?
<noonien> does anyone have an example of a polybar instalation? (i'm interested in the config options)
<LnL> homeless-shelter is HOME inside a build while /var/empty is probably the home directory of the build user
<gchristensen> hmm maybe instead of the software, run `env` and see if it is in there anywhere?
<ajs124> thibm, how did you set HOME? I had a similar problem (I think) and setting HOME fixed it.
<thibm> LnL: it's really happening during the build
fresheyeball has joined #nixos
<fresheyeball> so I installed that new graphics card
<thibm> ajs124: I tried in the derivation itself (like any env var), in the installPhase, etc
<fresheyeball> and this is a nixos success story worth sharing
<fresheyeball> I pulled out the old card
<fresheyeball> popped in the new
<fresheyeball> booted
<ajs124> thibm, ignore the rest of this project, but https://github.com/ajs124/NixDroid/blob/master/default.nix#L27 is exactly that, I think.
<fresheyeball> and was 4k gaming instantly with no changes
<fresheyeball> time to power off to 4k gaming was roughly 10 minutes
<gchristensen> nice!
thibm has quit [Quit: WeeChat 2.2]
thibm_ has joined #nixos
<thibm_> (sorry, bad internet right here)
johnw_ has joined #nixos
<fresheyeball> I have drivers set to `["nvidia"]` in my configuration.nix, and it just worked
<LnL> thibm: yeah so whatever is causing this probably uses getpwnam instead of the HOME environment variable
<fresheyeball> nvtools also saw the new card and had configured it correctly
<fresheyeball> I MADE NO CHANGES
<aleph-> gchristensen: Nope it takes pname
<thibm_> LnL: I see
<fresheyeball> I think the hardward experience of nixos needs more visibity
<{^_^}> [nixpkgs] @apeyroux opened pull request #55056 → grammalecte: 0.6.1 -> 0.6.5 → https://git.io/fhSf8
<fresheyeball> Nix really nails this in a way other OSs just dont
<fresheyeball> and it's rarely mentioned
<thibm_> fresheyeball: agreed. Found it randomly (and it breaks some stuff)
<LnL> thibm_: which is a bit unfortunate since unlike HOME you can't override
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<thibm_> :/
<fresheyeball> I am running nixos on my wacom tablet as well, and it's objectively done a better job than windows or osx
dermetfan has quit [Quit: WeeChat 2.3]
<thibm_> The software is like using the home as a temporary directory -_-
<gchristensen> "nixos on my wacom tablet" :'D I forgot about that!
<fresheyeball> I am very happy with it
pbb has joined #nixos
<fresheyeball> it was a bitch to get everything working, because it not well traveled ground
<fresheyeball> but the result is reasonable, and stable
johnw has quit [Ping timeout: 252 seconds]
<aleph-> Interesting
<ldlework> huh
thibm_ is now known as thibm
<fresheyeball> It goes from power off to I'm drawing, in under 5 minutes
<ldlework> 5 minutes?!
<fresheyeball> With windows I was waiting for it to update every time
<pbb> I just ran a rebuild on one of my servers running NixOS 18.09 that I hadn't updated in a few days, and was surprised to find that it rebuilt *everything* down to every config file that shouldn't have changed.
<fresheyeball> it recovers from suspend faster than it does on windows
<fresheyeball> but I have not measured yet
dermetfan has joined #nixos
<fresheyeball> So, at this point, it looks like we could run nix on basically any hardware on which we can run linux (excluding weird cpus ect)
<thibm> Is it possible to creates a dummy /var/empty folder inside the FHS-compatible sandbox? Like with extraBuildCommands from buildFHSUserEnv? I could just make this folder exists for the installation (inside the chroot)
<{^_^}> [nixops] @PsyanticY opened pull request #1087 → [WIP] HashiCorp Vault AppRole support. → https://git.io/fhSf0
<thibm> (I tried to do it in buildFHSUserEnv, does not seem to work)
<ajs124> thibm, if it's really getpwnam and you're motivated enough, you can override that with an LD_PRELOAD hook
<pbb> actually nix-collect-garbage seems to collect a lot that isn't garbage.
<pbb> a whole lot
<thibm> ajs124: sounds doable
<thibm> sounds easier to dump a /var/empty directory in the chroot though
<thibm> but thanks for the idea
cyphase has joined #nixos
<thibm> Is there a writeCBin equivalent to create a shared library ? :D
<devalot> Using NixOps on Ubuntu, getting error about missing the {kvm} feature. Where does Nix/NixOps pull this feature list from?
<symphorien> derivations can declare a requiredSystemFeature
<aleph-> Okay what in the frag is with fetchPypi
<infinisil> pbb: Then your definition of garbage doesn't match yours
<aleph-> Let me try a random other hash
<infinisil> Um, nix's *
<pbb> infinisil: actually changing "builtins.fetchGit" to just "fetchGit" for fetching my nixfiles fixed ot o.o
<symphorien> devalot: kvm is required by nixos tests and all that runs in a vm in nixpkgs
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> pbb: fetchGit uses ~/.cache/nix i think
<fresheyeball> devalot: hey man
<devalot> symphorien: I have kvm installed and working on this machine. How do I tell the nix install that this feature is present?
<infinisil> Oh
<dhess> Anyone around who's using nix-deploy?
<devalot> fresheyeball: Hey there!
<infinisil> pbb: what, builtins.fetchGit is different? O.o
<aleph-> Okay so pname was the issue
<aleph-> That was odd.
<infinisil> pbb: Can you double check that that fixed it? Those should be the same
<symphorien> devalot: maybe nix show-config ? but also /etc/nix/machines on the nixops machine
* devalot may just make my coworker use NixOS instead of Ubuntu ;)
<pbb> infinisil: yes. it also fixed a problem where my nixos-upgrade service was failing because it had collected the git derivation as garbage. I will check again.
<infinisil> Derivations do get deleted by default, unless you change that setting
<devalot> Which config option in Nix controls local features? I don't see anything in `man nix.conf'
<symphorien> see the release notes of the last version of nix
<symphorien> this changed
<pbb> wtf now that I changed it back to builtins.fetchGit it's behaving as I want it again
<pbb> I don't understand what was wrong before
<symphorien> builtins.fetchGit needs git in PATH
knupfer has quit [Ping timeout: 264 seconds]
<symphorien> it's a bit counterintuitive
<pbb> yeah but now this works too, even though git is not in my system profile
<devalot> symphorien: Ah, system-features
<pbb> ah, nevermind
<pbb> nixos-upgrade doesn't work
<pbb> but it did not collect things as garbage that I didn't want it to collect
Thra11 has joined #nixos
<{^_^}> #54946 (by m45t3r, 2 days ago, open): nixos-upgrade.service: error: executing 'git': No such file or directory
<fresheyeball> dhess: I have not used nix-deploy, but I am a nixops user
<fresheyeball> nix-deploy looks like it could replace nixops
<pbb> symphorien: thanks
<pbb> that's indeed my problem, but I am only seeing it with builtins.fetchGit.
<pbb> doesn't matter though
<dhess> fresheyeball: yeah that's why I'm looking into it.
<fresheyeball> both appear to be active projects
<WilliamHamilton[> has anyone installed the videodownload-helper companion app for firefox in nixos?
<fresheyeball> and I got respect for Awake for sure
<dhess> ditto
<infinisil> fresheyeball: does nix-deploy support having config from one machine depend on config of a different machine
<fresheyeball> infinisil: I think we would just do that with nix code
<fresheyeball> it deploys a configuration
<dhess> fresheyeball: nix-deploy doesn't have any concept of a "network," as far as I can tell, so you'd need to script that bit; i.e., a script to deploy to multiple machines in one go.
<fresheyeball> that is enough to have it deploy one config to one machine, and then pass that config to a function config -> config, and deploy to another machine
<dhess> fresheyeball: also it has no support for secrets.
<infinisil> fresheyeball: Yeah, I'm working on this actually :)
<dhess> those appear to be the main drawbacks.
<fresheyeball> infinisil: you are working on nix-deploy?
<infinisil> Nah
dckc has joined #nixos
<fresheyeball> infinisil: can you rephrase then?
<infinisil> On an extensions of nixos-rebuild that can efficiently interlink configurations between machines
rawreraw has joined #nixos
lfish has quit [Ping timeout: 256 seconds]
<infinisil> Like, depend on stuff in other machines
<dhess> it also lacks some additional "porcelain" that NixOps provides, like group rollback.
<infinisil> I switched to nixops because it can do that, but that's really slow
<{^_^}> [nixpkgs] @jtojnar merged pull request #50953 → rpm-ostree: 2018.5 → 2019.1 → https://git.io/fpRPl
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fhSfX
<dckc> I'd like to install ROracle from CRAN (https://cran.r-project.org/web/packages/ROracle/ ); it depends on Oracle's liboci, so the generic R package builder isn't working. Any suggestions? Should I use `nix-store --add-fixed` somehow?
<dhess> maybe I'll ask a different question: anyone around who's using something like Hashicorp Vault to deploy secrets to NixOS machines?
<fresheyeball> dhess: I will soon
<dhess> fresheyeball: oh interesting. Any plans to GitHub it, or at least blog about it?
<gchristensen> dhess: LnL
<dhess> gchristensen: which bit? :)
<LnL> hm?
o1lo01ol1o has joined #nixos
<fresheyeball> dhess: I have legions of shit I need to blog about
<gchristensen> didn't you do some vault stuff?
<fresheyeball> and no time
<dckc> details on ROracle "doesn't work": https://gist.github.com/dckc/11c82b37517a644a3d39f82303d53a90
<fresheyeball> so how about this
<fresheyeball> when I get it going I will message you dhess
<dhess> fresheyeball: just dump it in a GitHub repo then! :)
<dhess> fresheyeball: deal :D
<fresheyeball> dhess: there is vault as a service in options already
<fresheyeball> so it should be doable
<LnL> gchristensen: dhess: ah yeah, I have but nothing very complicated
<LnL> I've thought about making something like consul-template for nix tho
<dhess> LnL: yeah I would like something like that, ideally plug-in-able for NixOps' deployment.keys.
<LnL> I have written something to generate config files with secrets in a dedicated store only accessible by one user
<LnL> but for proper vault integration you need something that rotates those
<dhess> Right. Also I want something that absolutely does not go into any store.
<dhess> ideally these should be ephemeral keys being generated from a KMS master key or similar.
<LnL> it's basically a wrapper around something like this
<LnL> echo 'builtins.toFile "foo" "bar"' | nix-instantiate --store "local?store=$HOME/.secret/store&state=$HOME/.secret/var&log=$HOME/.secret/log" --read-write-mode --eval -
<LnL> that way you can use nix expressions instead of the weird go templating, while still keeping the content safe
griff_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @svalaskevicius opened pull request #55057 → Fix electron crash when using file chooser dialog → https://git.io/fhSfh
<dhess> hmm yeah I didn't consider using Nix for templating.
<dhess> I would probably look into using Dhall though
<noonien> what terminal emulators do you guys use?
<dhess> I'm trying to move more config to Dhall and then generate as much Nix from that as possible.
<gchristensen> sakura, noonien. it is pretty good.
<__monty__> noonien: I like terminology and kitty.
<thibm> ajs124: trying with the LD_PRELOAD trick ;) I'll see the result later (each install takes a lot of time…). Thanks for the help, I hope that will be the last step to get it works
<noonien> hmm, are there any packages for https://getstation.com/, i see a package for rambox, there might not be one, just asking
thibm has quit [Quit: WeeChat 2.2]
<tilpner> I don't see one, but this is a perfect opportunity for you to test #54693
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54693 (by tilpner, 5 days ago, open): appimageTools: init
timor has joined #nixos
ddellacosta has joined #nixos
<timor> Does the 'chrootenv.c' program, which is used for buildFHSUEnv, run as user, or as root?
<noonien> i'm confused by that issue, don't really know nix terminology good enough to understand it
<tilpner> You would want to use https://github.com/getstation/desktop-app-releases/releases/tag/1.36.0 instead of their website, for link stability
<noonien> however, i am giving appimage-run a test
<tilpner> :(
<noonien> or
<noonien> if there was a .nix package i could explore
<noonien> i thought there might be a way to make a derivation out of an .AppImage, i guess that's what the issue is talking about?
<tilpner> You don't need to bother with platform selection here, since there only is one AppImage available anyway
<ddellacosta> hi folks, can anyone suggest any pointers on where to start reading up on how to connect an old firewire interface via thunderbolt (if it's possible!) on linux?
<tilpner> And you don't need to provide meta for a private-use package either
<noonien> looks simple enough!
<noonien> pretty great way to start writing my first derivation :D
<tilpner> Well, no, not really. You see, appimageTools haven't been merged yet
<tilpner> You would have to copy them locally, use them to package station, then report back on that issue so appimageTools can get merged and you can delete your local copy
ddellacosta has quit [Quit: WeeChat 2.2]
dsiypl4 has quit [Ping timeout: 250 seconds]
sigmundv_ has quit [Ping timeout: 240 seconds]
<tilpner> But don't worry, I'll be here to help you with that, at least for a little while
magnetophon has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<tilpner> Have you discovered overlays yet?
dermetfan has quit [Ping timeout: 272 seconds]
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #55058 → ftgl: fix on darwin → https://git.io/fhSJc
wigust has joined #nixos
<noonien> gchristensen: sakura seems awesome! but from what i can tell, it doesn't support settings colors through Xresources, do you know if this is the case?
realrokka has joined #nixos
wigust- has quit [Ping timeout: 250 seconds]
<gchristensen> I think it does, but I dunno -- ... erm, I just use the standard colors of all the programs
<noonien> hehe, ok
wigust has quit [Ping timeout: 246 seconds]
wigust has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #55039 → Added myself as a maintainer → https://git.io/fhybn
<{^_^}> [nixpkgs] @veprbl pushed commit from @abhi18av to master « Added myself as a maintainer »: https://git.io/fhSJg
dsiypl4 has joined #nixos
johnnyfive has joined #nixos
MichaelRaskin has joined #nixos
<lejonet> Anyone have any good tutorial on how to use the type submodule?
maximiliantagher has quit [Remote host closed the connection]
griff_ has joined #nixos
<lejonet> strongswan-swanctl is whining at me bout it, but the nixos manual isn't really making me any wiser :/
griff__ has joined #nixos
griff_ has quit [Ping timeout: 246 seconds]
griff__ is now known as griff_
ddellacosta has quit [Quit: #linux]
ddellacosta has joined #nixos
<lejonet> solved, the suffix wasn't as optional as it claimed :P
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhSJX
<{^_^}> [nixpkgs] @dywedir merged pull request #54843 → cool-retro-term: 1.1.0 -> 1.1.1 → https://git.io/fhPKZ
nixy has quit [Quit: ZNC 1.6.5 - http://znc.in]
nixy has joined #nixos
fusion809 has quit [Remote host closed the connection]
PLPD-Bot has quit [Remote host closed the connection]
fusion809 has joined #nixos
olto has joined #nixos
<Guanin> Hi, is someone using `pass`? I'm trying to install pass and passExtension.pass-audit, but when adding both to my configuraion, nixos-rebuild fails with a collision between those derivations
orivej has joined #nixos
marcinja has joined #nixos
rawreraw has quit [Quit: WeeChat 2.3]
PLPD-Bot has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
fragamus has joined #nixos
<tilpner> Guanin: Try pass.withExtensions (e: [ e.pass-audit ])
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
Thra11 has quit [Ping timeout: 268 seconds]
<Guanin> There is still the same problem (although the syntax makes more sense that way)
<dmj`> AWS VPC is such a trap
<gchristensen> it is?
<Guanin> tilpner, maybe you want to have a look? http://termbin.com/x0g1
_kwstas has joined #nixos
<tilpner> Guanin: You replaced the other two with this, right?
schjetne has joined #nixos
<Guanin> Yes
<tilpner> Paste the relevant part of the file you wrote this in
<tilpner> Guanin: You have another pass at line 48
<Guanin> Thanks >.<
<Guanin> I probably wanted to switch earlier and forgot it
<Guanin> Works now, thanks :)
maximiliantagher has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tilpner> Guanin: Line 125 looks unsafe, prefer "cat ${toString ../password.txt}" if possible
schjetne has quit [Ping timeout: 268 seconds]
<Guanin> I'm switching to pass nonetheless, so I can make that one obsolete :)
<tilpner> Did you just make your repo world-public for a few minutes to show this?
<Guanin> More or less, yes
<Guanin> I noticed that I might have to be more carefull, as there are GPS coordinates in there >.<
<tilpner> Please assume I cloned it
<tilpner> (In case there are any actual passwords in there)
griff_ has quit [Ping timeout: 250 seconds]
<Guanin> There are, but protected with git-crypt
fragamus has joined #nixos
jacereda has joined #nixos
freedan42x has joined #nixos
<freedan42x> how to install package which is located on github?
<simpson> fetchFromGitHub, usually. What have you tried so far?
<freedan42x> umm, trying to install opengl
maximiliantagher has quit [Remote host closed the connection]
tertl3 has quit [Quit: Connection closed for inactivity]
doyougnu has joined #nixos
nfip^ has joined #nixos
nfip^ has quit [Max SendQ exceeded]
nfip^ has joined #nixos
nfip^ has quit [Max SendQ exceeded]
nfip^ has joined #nixos
nfip^ has quit [Max SendQ exceeded]
dermetfan has joined #nixos
nfip^ has joined #nixos
nfip^ has quit [Max SendQ exceeded]
reinhardt has quit [Quit: Leaving]
ma9e has joined #nixos
<ma9e> anyone know why gpg-agent is complaining about a missing Pinentry env var after the latest 18.09?
freedan42x has quit [Quit: Leaving]
<ma9e> editing ~/.gnupg/gpg-agent.conf doesn't seem to do anything
kurimi has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to update-calibre « calibre: 3.39.0 -> 3.39.1 »: https://git.io/fhSUm
ma9e has quit [Client Quit]
<iqubic> How does one go about installing Dejavu-sans?
Thra11 has joined #nixos
<kurimi> Hello!
<symphorien> I think it is already the default
isHavvy has joined #nixos
<dmj`> gchristensen: yes, it is very complicated
<gchristensen> it is basically as flexible as if you had a full network closet
Havvy has quit [Ping timeout: 245 seconds]
<dmj`> gchristensen: yea, exactly
<petersjt014> could someone with access to the build machine double(ish) the timeout for the aarch64 build (again?) It's getting closer but still timing out:
<dmj`> gchristensen: I don't think nixops covers the gamut of options though
<dmj`> gchristensen: which is not good since I need to deploy into someone elses vpc
<dmj`> gchristensen: but it doesn't allow that
<dmj`> gchristensen: so I have to go through and mimic all the rules
<gchristensen> it doesn't
<gchristensen> ouch
<dmj`> You can either create a vpc, or it will attempt to use the default one if it exists
<dmj`> but doesn't allow to specify an existing one
<gchristensen> pretty sure if you specify a subnet_id it'll "just work"?
<aminechikhaoui> yeah that's the state of most of the nixops resources :/ I just did the same for VPCs
olto has quit [Ping timeout: 245 seconds]
<dmj`> aminechikhaoui: you went through and mimicked an existing configuration? Or you just specified the subnet id ?
<iqubic> How does one go about installing the DejaVu-Sans font?
<dmj`> gchristensen: I still can't specify a security group that exists already
<gchristensen> specify the security group ID?
<gchristensen> should work
<aminechikhaoui> dmj` I meant most of nixops resources don't support importing a resource, so I didn't implement that when I added the VPC resources
<aminechikhaoui> in theory it should be possible
<dmj`> aminechikhaoui: thanks for implementing the vpc infra in nixops
<dmj`> aminechikhaoui: it should be possible to import resources from an existing vpc?
<aminechikhaoui> "in theory" :D just not implemented
<dmj`> heh :)
<gchristensen> but still
<gchristensen> yous hould be able to just specify th esgid
elgoosy has quit [Remote host closed the connection]
<dmj`> gchristensen: ok, so I'm querying the existing network setup with the awscli tool, I'll set deployment.ec2.subnetId and .securityGroupIds and try to deploy
<dmj`> gchristensen: keypair should be created by me iiuc
<thoughtpolice> This Sweet Incredibly Overdone Project, Brought To You By Nix: a RISC-V simulator -- https://b2.ls0f.pw/file/aseipp/rv32-sail/web/js/index.html
<thoughtpolice> It's hard to overstate how difficult it would have been to reliably put all the moving pieces here together without Nix.
jtcs has joined #nixos
jacereda has quit [Ping timeout: 240 seconds]
<gchristensen> WOW
kenshinC1 has joined #nixos
<thoughtpolice> Considering it's multiple pieces of different academic software with intertwined dependencies, two compiler ports, an array of demos and toolchain needs, etc. I cannot fathom doing things like this without Nix now.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thoughtpolice> Oh, and a code generator (or 3)
<gchristensen> this is yours, thoughtpolice?
<cransom> is my browser mining bitcoin now?
<gchristensen> thoughtpolice: what should I say about this, when sharing it with people?
<thoughtpolice> Yep
<thoughtpolice> I mean, it's mine, yes. Also you can say whatever you like! @stdlib if you need a name on the Tweetoverse
<gchristensen> yeah, but in terms of cool teaser words :)
<thoughtpolice> cransom: No, but you can run a benchmark from 1984 on an emulated CPU on an abstract instruction set inside a web browser that's compiled to real code at runtime that your operating system then runs on your own hardware.
<infinisil> thoughtpolice: Nice!
<thoughtpolice> It's not mining bitcoin, but it's about as energy efficient.
<kenshinC1> I'm trying to try our Rust, and I wanted to use Idea as an IDE. Looks like I need to give Idea a path where it can find rustc, cargo and the standard library. How can I do that without installing everything in my user environment, but ideally in a shell or something?
<infinisil> thoughtpolice: Are the Nix files online?
appleclusters has quit [Quit: Connection closed for inactivity]
<thoughtpolice> gchristensen: Ah, just something like -- "A full 32-bit RISC-V simulator, built and delivered to the browser, with Nix!" maybe? :)
<gchristensen> thanks!
<thoughtpolice> infinisil: Not yet, but that's not due to a technical limitation so much as an operational one.
<emily> thoughtpolice: wow this is so cool!
jacereda has joined #nixos
<thoughtpolice> Basically, I'm using GitHub's new Actions thingy to do some deployments, e.g. I want it to deploy that webpage, and a Docker container (buildLayeredImage is amazing btw, gchristensen!)
jacereda has left #nixos [#nixos]
<gchristensen> yay!
<thoughtpolice> So it has some credentials in there, right. Like it invokes a thing to copy a docker image to Docker Hub right now
<thoughtpolice> But I'm not super sure about how GitHub action's log permissions work, or whether the way I'm using skopeo might expose some of my keys
<thoughtpolice> So I'm basically just testing things atm before doing that.
<gagbo> very naive question : I've learned about guix recently, and I've been wondering ever since why Nix chose to use its own language for declarations. Were lisps not good enough ?
<thoughtpolice> (GitHub basically can encrypt some things and decrypt them on-demand for a few actions, like a Docker Hub upload -- but I end up passing those keys through a command line, not an environment variable, at the end of it -- so I don't know like, if a non-zero return code, or a 'set +x' will expose things, you know?)
jonreeve has joined #nixos
<gchristensen> gagbo: guix was forked from nixos / nix
<thoughtpolice> infinisil: But I might just rip out the Docker container thing for now and publish it. I still need to do the same thing for Cachix, unfortunately. But once I do it, ideally Nix projects can use GH actions to do cache uploads!
<gchristensen> gagbo: so your question about why Nix chose to make its own language is similar to why did any language choose to make their own instead of choose a lisp
<thoughtpolice> Cache uploads are really useful here since a lot of things have to be built...
<thoughtpolice> emily: Thanks! I'm surprised at how fast it came together, actually.
shabius has joined #nixos
<emily> gagbo: Nix has a fair number of properties that are nice for its use-case but not common in general
<emily> like the lazy evaluation semantics
endformationage has quit [Ping timeout: 250 seconds]
<thoughtpolice> The instruction decoder (generated from a Haskell program) and most of the execution engine worked first try, nearly. In fact the only reason the RISC-V upstream tests didn't pass the first time was because they violate C ABI rules which caused failures ;)
<jonreeve> Can anyone manage to install Clay successfully? Using, say, nix-env -iA `haskellPackages.clay`?
<dmj`> thoughtpolice: this is pretty sick, bravo
<infinisil> jonreeve: Better just post the problem you're having
<gagbo> fair enough gchristensen, it's just that the tooling is not the same, and I didn't mean it in a "why not Guile way ?" but more in a "why choose to have to work on addtional stuff ?" way
<gchristensen> gagbo: I understand
<gchristensen> gagbo: for a build system which carefully tracks dependencies as part of the language, I think a language of its own is very natural
<gchristensen> nix is quite unique in some important ways
drakonis has joined #nixos
<emily> if Nix had just embedded Lua or something it'd probably be a fair bit less usable, even if it didn't require hacking up the interpreter too much
<emily> not that the Nix language itself is... great
<emily> (but I don't think Scheme really solves many of its problems)
<gagbo> I guess I'll learn about those features as I use it, it's just hard on a starter :)
<emily> remember that it also doubles as a system configuration language
<emily> the lightweight notation for nested recursive data makes it way more suitable than your average programming language or data language for this
<jonreeve> infinisil: Here's the error it's getting: https://hastebin.com/enufutanoy.bash
<makefu> in the end, nix is a domain-specific language with the domain being software packaging and system configuration
<thoughtpolice> Well, that's its primary use. But actually it's also just really good at reliably describing dependencies between any two commands. (As long as those dependencies can be expressed with a file. And Everything Is A File(TM)*)
<thoughtpolice> * Not Everything Is A File
<infinisil> jonreeve: Yeah, Haskell packages sometimes need some fixing. It seems that nixpkgs has newer versions of these libraries, so we need to `doJailbreak` it, which removes the packages version constraints, and then hope for it to compile
<gagbo> I'll continue to play in vms until I understand how to make it work the way I want anyway, I was just wondering because I keep getting errors because of stupid mistakes I make (like each time I go into a new language)
<MichaelRaskin> gagbo: I would say that for a long time, and even now, Nix tries to deny it has to be a general-pure-functional-purpose programming language, too
<infinisil> jonreeve: Try `nix-env -iE 'pkgs: pkgs.haskell.lib.doJailbreak pkgs.haskellPackages.clay'`
<MichaelRaskin> Using any general purpose language would be a capitulation on that point
<rain1> the thing I d'nt really get about nix is how indirection is supposed to help
<rain1> same with guix
<rain1> instead of writing X directly you write some nix/scheme code that gets turned into X
<thoughtpolice> gagbo: I think in the end, Nix and Guix are simply two ways to one goal. The ideas behind them, in my mind, reflect a lot of the differences between Scheme and Haskell, actually. (Yes, Haskell is typed and Nix isn't, but that isn't so important here). In the Haskell world, lazy structures give rise to APIs that you define in a language like scheme using macros -- declarative ones
<jonreeve> infinisil: Hm I'm getting `error: attribute 'haskell' missing, at (string):1:7`
<thoughtpolice> Because declarative APIs, like the ones Nix and Guix have for, say, defining packages, fundamentally require the ability to kind of define your own DSLs and control structures.
<infinisil> jonreeve: What does `nix-shell -p nix-info --run nix-info` output? You can paste it in here directly
<MichaelRaskin> Unlike Haskell, here the complete purity and resulting calculation-action separation makes a lot of sense from the get-go…
<thoughtpolice> I think it's reasonable to fall into either camp and like either approach. If you have laziness, a lot of forms of macros become less useful. If you have macros, maybe laziness isn't as readily needed for you!
Dagger has quit [Excess Flood]
<gagbo> I don't know yet enough about 'languages theory' I guess; I'll just take your word for it :)
<thoughtpolice> I think spinning Nix and taking it the language to a well known, full blown programming language is an interesting point in the design space. Personally I don't know Scheme very well and I found Nix first (Guix has always been a smaller community, and Nix is already pretty small), and I'm a Haskell programmer, so -- well, that about says it.
Dagger has joined #nixos
eadwu has joined #nixos
eadwu has quit [Client Quit]
<infinisil> thoughtpolice: MichaelRaskin: gagbo:Btw, there's #nix-lang if you want a channel explicitly for nix as a language
digitalgrease has joined #nixos
eadwu has joined #nixos
<gagbo> I'm good for now, I'm still way too bad at installing nixOS in a VM, need to work on that :p
vk3wtf has joined #nixos
kenshinC1 has quit [Quit: WeeChat 2.2]
isHavvy has quit [Ping timeout: 244 seconds]
ddellacosta has quit [Ping timeout: 272 seconds]
Havvy has joined #nixos
<Judson1> Hm. I'm taking weechat for a test drive. Two initial negative impressions: I can't find all the default color aliases so that I can change them to work with my solarized terminal. And "don't edit the configs by hand" and home-manager seems like it might be a bad match.
<infinisil> jonreeve: Got it?
<{^_^}> [nixpkgs] @pSub merged pull request #55036 → calibre: 3.38.1 -> 3.39.1 → https://git.io/fhyFf
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/fhSTk
<{^_^}> [nixpkgs] @pSub pushed 0 commits to update-calibre: https://git.io/fhSTI
<dmj`> gchristensen: specifying the subnetId and securityGroupIds (one for theirs, the other to open 22), allows the instance to be deployed, but it just hangs on "Waiting for SSH...."
Havvy has quit [Ping timeout: 245 seconds]
<gagbo> judson1: http://anti.teamidiot.de/static/nei/*/Code/WeeChat/weechat-color-settings.png
Thra11 has quit [Ping timeout: 244 seconds]
<gagbo> I don't know if it covers everything, but I had bookmarked this the day I installed weechat
<gagbo> I don't know how fit home-manager is for me, I tend to modify my dotfiles a lot
<gagbo> I mostly use it to get the packages running and install a shell script which will finish hooking up my git repos for dotfiles and stuff
napping has joined #nixos
erasmas has quit [Quit: leaving]
Jetien has joined #nixos
kurimi has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #55055 → coursier: 1.0.1 -> 1.1.0-M10 → https://git.io/fhSe7
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @MasseGuillaume to master « coursier: 1.0.1 -> 1.1.0-M10 »: https://git.io/fhSTE
Havvy has joined #nixos
Jetien_ has joined #nixos
<eacameron> I'm on 18.09 and anytime I try to open a file browser (in any app, Chrome, gitkraken, etc) it crashes the app
<eacameron> Like "File -> Open" type things always crash the app
alex`` has quit [Ping timeout: 272 seconds]
<vaibhavsagar> eacameron: did you install something with `nix-env` that depends on Qt?
<eacameron> vaibhavsagar: hah...maybe? I install a lot of things. Is there an easy way to find out? Does Chrome depend on it?
Jetien has quit [Ping timeout: 240 seconds]
<{^_^}> #30011 (by vaibhavsagar, 1 year ago, closed): plasmashell crashing on NixOS 17.09
<vaibhavsagar> I prefer not to use `nix-env` for anything
<vaibhavsagar> if you're running NixOS this should actually be doable
<fresheyeball> vaibhavsagar: agreed
<vaibhavsagar> eacameron: it might be something else, but you might be able to get more info by running one of these applications from the terminal and looking at the output when it crashes
<eacameron> vaibhavsagar: I am. What is the alternative? adding things to `configuration.nix`? I like to use things from nixpkgs-unstable but I suppose I could pull them in there
<vaibhavsagar> eacameron: create a `shell.nix` and use `nixpkgs-unstable` in your expression
<vaibhavsagar> between `configuration.nix` and `nix-shell` there's almost no reason to use `nix-env`
<eacameron> vaibhavsagar: nix-shell nested is not very good... :(
<vaibhavsagar> not as bad as `nix-env` :)
<eacameron> I guess I could use environment.systemPackages to pull in drvs from nixpkgs-unstable
<vaibhavsagar> sure
<eacameron> But you think the issue is *unique* to nix-env?
<vaibhavsagar> no, I actually have no idea why this is happening
<vaibhavsagar> but I've personally experienced weird crashes related to my use of `nix-env`
<vaibhavsagar> so I don't use it anymore
<eacameron> hm, well I could be convinced not to ... heh
<fresheyeball> nix-env is imperative and does not accompany a git commitable artifact
<fresheyeball> you should avoid it on principle
<eacameron> I use nix-env in such a way that it is immutable.
<vaibhavsagar> what does that mean
<fresheyeball> if you need something now, and want to use <nixpkgs> do nix-shell -p instead
alex`` has joined #nixos
<eacameron> nix-env --remove-all -iA $(loaded-from-git-committed-file)
<vaibhavsagar> sounds like it should be easy for you to do that in `environment.systemPackages` then
<fresheyeball> eacameron: that is how I manage my user level packages
Havvy has quit [Ping timeout: 268 seconds]
<eacameron> Yeah I'm talking about user-level packages
<fresheyeball> vaibhavsagar: actually that is a good point
<eacameron> vaibhavsagar: yes my thoughts exactly :P
<fresheyeball> what is the actual advantage to having user level packages defined in .config/nixpkgs?
<fresheyeball> why not just have them imported in configuration.nix?
<eacameron> Yeah I could I just feel weird when root has stuff like chrome...
<eacameron> or minecraft... 😂
<vaibhavsagar> eacameron: did you read the github issue I linked
Havvy has joined #nixos
<fresheyeball> eacameron: can't we define packages on a per user basis in configuration.nix?
<eacameron> fresheyeball: can we?
<samueldr> eacameron: is your chrome installed from the 18.09 channel?
<eacameron> samueldr: no unstable
<samueldr> (sorry if I missed the answer)
<samueldr> right
* samueldr finds the relevant issue
<eacameron> ah...I guess "unstable" says it all
<samueldr> yes and no :/
<samueldr> here it's mixing 18.09 and unstable that's at the root of the issue, seemingly
<eacameron> but nix is pure... wah
<samueldr> #54278 the issue title seems irrelevant
<{^_^}> https://github.com/NixOS/nixpkgs/issues/54278 (by minijackson, 2 weeks ago, open): GnuCash segmentation fault
griff_ has joined #nixos
<samueldr> nix is pure, but the built artifacts can do impure things
<samueldr> similar to how Qt loads plugins, gdk_pixbuf loads plugins from "well known" pats
<samueldr> paths*
<samueldr> and apparently *something* is causing segfaults when mixing 18.09 2.36 gdk_pixbuf plugins with unstable 2.38 gdk_pixbuf
<fresheyeball> eacameron: https://nixos.org/nixos/options.html#users.users.%3Cname%3F%3E.packages
<fresheyeball> yes
<fresheyeball> yes we can set packages on a per user basis in configuration.nix
<eacameron> fresheyeball: 😍 converted!
<fresheyeball> really
<fresheyeball> damn
<fresheyeball> I am going to convert to
<eacameron> lol
<eacameron> samueldr: huh ew
Havvy has quit [Ping timeout: 244 seconds]
<samueldr> yeah :/
<eacameron> vaibhavsagar: Yeah I guess that's decent evidence... and fresheyeball converted me anyway
Havvy has joined #nixos
elibrokeit has quit [Remote host closed the connection]
<samueldr> eacameron: as far as chrome is concerned, it should be updated in stable too, haven't confirmed yet, will need to
<samueldr> and there it shouldn't have the same issue
blueredlight has joined #nixos
<eacameron> samueldr: I'll switch to that too.
elibrokeit has joined #nixos
<fresheyeball> oh wait
<fresheyeball> that is one thing
<fresheyeball> if it's done this way, we need to use `sudo` to edit user space packages
<eacameron> fresheyeball: yeah i'm fine with that.
<manveru> home-manager ftw :)
<eacameron> But my user can still host the module to configure it and then only admin has to do the switch (which of course I am one)
<eacameron> manveru: I've tried various attempts at that
<{^_^}> [nixpkgs] @veprbl merged pull request #55058 → ftgl: fix on darwin → https://git.io/fhSJc
<{^_^}> [nixpkgs] @veprbl pushed to master « ftgl: fix on darwin »: https://git.io/fhSTF
pepesza has quit [Ping timeout: 240 seconds]
pepesza has joined #nixos
<eacameron> Unrelated question. How do you delete old boot generations?
Synthetica has quit [Quit: Connection closed for inactivity]
simukis has quit [Quit: simukis]
simukis has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
shlevy has quit [Ping timeout: 246 seconds]
klntsky has joined #nixos
blueredlight has quit [Quit: Page closed]
Jetien_ has quit [Quit: Leaving]
<symphorien> remove the corresponding generations in /nix/var/nix/profiles and then rerun nixos-rebuild boot or switch
<eacameron> Can I just delete some .conf files from /boot/loader/entries?
<gchristensen> no
<symphorien> they will be copied again when you rebuild
<eacameron> I see.
<eacameron> So delete some of these system-n-link smlinks
<symphorien> yes
<gchristensen> and then nix-collect-garbage, and then nixos-rebuild boot
<eacameron> great this worked. I had apparently run out of space on the boot volume
justanotheruser has quit [Ping timeout: 246 seconds]
tiks has joined #nixos
endformationage has joined #nixos
<fresheyeball> eacameron: how are you managing allowUnfree for user packages now?
tiks has quit [Client Quit]
<eacameron> nixpkgs.config.allowUnfree in configuration.nix
<fresheyeball> eacameron: I am using a different nixpkgs hash to pin user level packages
<eacameron> `users....packages = (with (import (config.users...home + "/nixpkgs") {}); [ my-unstable-package ]);`
<fresheyeball> eacameron: I got it, I was passing allowUnfree = true
<fresheyeball> when I should have been passing config.allowUnfree = true
<fresheyeball> to my import
<Judson1> gagbo, thanks. That's helpful.
<eacameron> fresheyeball: oh I see
<Judson1> I've started messing with a setup that'll let me drop files I'm not ready to turn into module templates yet into a directory. The next step, I think, is going to be a little shell function or something to replace the home-manager link with a copy of the file.
<Judson1> But weechat is its own league wrt to configuration. I'm not sure it's where I want to be :/
<Judson1> And I'm sure it will be sad if I /set things and its configs are read-only.
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<gagbo> It's pretty weird yeah
<gagbo> having a compressed file for all plugins settings
Synthetica has joined #nixos
griff_ has quit [Quit: griff_]
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ has joined #nixos
lassulus_ is now known as lassulus
alex`` has quit [Read error: Connection reset by peer]
_kwstas has quit [Remote host closed the connection]
q6AA4FD has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #54593 → freeswitch: expose compilation option to enable postgres support → https://git.io/fhKOz
alex`` has joined #nixos
<{^_^}> [nixpkgs] @danbst pushed commit from @pmahoney to master « freeswitch: expose compilation option to enable postgres support (#54593) »: https://git.io/fhSk9
drakonis has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to staging: https://git.io/fhSk5
timor has quit [Remote host closed the connection]
rwe has quit [Remote host closed the connection]
timor has joined #nixos
maximiliantagher has joined #nixos
knupfer has joined #nixos
rwe has joined #nixos
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #53860 → pg_topn: 2.2.0 -> 2.2.2 → https://git.io/fhnzF
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/fhSkh
<gchristensen> error: a 'x86_64-linux' with features {} is required to build '/nix/store/bkzpx0sazf7f38acvzxkkg26mxnx5h76-append-initrd-secrets.drv', but I am a 'aarch64-linux' with features {benchmark, big-parallel, nixos-test} this error is SO NICE.
Havvy has quit [Ping timeout: 240 seconds]
<clever> gchristensen: :D
griff_ has joined #nixos
rwe has quit [Ping timeout: 245 seconds]
<clever> gchristensen: how up to date are you on the cross-compile stuff? i need both a cross and native compiler in the same stdenv
<gchristensen> notat all :)
shlevy has joined #nixos
jonreeve has quit [Ping timeout: 250 seconds]
maximiliantagher has quit [Read error: Connection reset by peer]
_kwstas has quit [Quit: _kwstas]
Havvy has joined #nixos
dermetfan has quit [Ping timeout: 250 seconds]
lord| has quit [Quit: WeeChat 2.3]
Makaveli7 has joined #nixos
Havvy has quit [Ping timeout: 240 seconds]
timor has quit [Remote host closed the connection]
lord| has joined #nixos
ryantrinkle has quit [Ping timeout: 246 seconds]
martinb_ has joined #nixos
<clever> gchristensen: dang!, haskellPackages.pipes-async fails to build on master
lassulus has quit [Ping timeout: 244 seconds]
rwe has joined #nixos
Havvy has joined #nixos
<clever> 8.6.3 is too new
balsoft has joined #nixos
lassulus has joined #nixos
balsoft has quit [Remote host closed the connection]
ddellacosta has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
<clever> haskell.packages.ghc862.pipes-async might work then
eadwu has quit [Quit: WeeChat 2.3]
lassulus has quit [Ping timeout: 245 seconds]
lassulus has joined #nixos
silver_ has joined #nixos
Havvy has quit [Ping timeout: 250 seconds]
silver has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @danbst opened pull request #55061 → all-packages.nix: remove `res.` (next stage super) → https://git.io/fhSIX
jonreeve has joined #nixos
balsoft has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #55042 → NixOS/auto-upgrade: add git to service path → https://git.io/fhyAS
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhSIM
dsiypl4_ has joined #nixos
<teeAyy> howdy, ive included tewi-font in my list of packages for home-manager to install, but it wont show up in xfontsel, is there any xserver settings i need to set to get the font?
dsiypl4 has quit [Ping timeout: 246 seconds]
<infinisil> teeAyy: I don't think home-manager has supports for fonts like nixos does, for now at least
<{^_^}> [nixpkgs] @dtzWill opened pull request #55062 → notmuch: 0.28 -> 0.28.1 → https://git.io/fhSIS
balsoft has quit [Ping timeout: 250 seconds]
<dckc> I'm trying to build ROracle, which needs some compiled libraries supplied by Oracle. I added them to the store with `nix-store --add` but now I don't know how to use them.
<dckc> how do I, for example, get them unpacked?
<dckc> what does cannot auto-call a function that has an argument without a default value ('stdenv') mean?
Havvy has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55063 → intel-media-driver: 18.3.0 -> 18.4.0 → https://git.io/fhSI7
<{^_^}> [nixpkgs] @flokli merged pull request #55062 → notmuch: 0.28 -> 0.28.1 → https://git.io/fhSIS
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhSI5
<dckc> oh... looks like it means I shouldn't start with { stdenv }: but rather: with import <nixpkgs> ..
<{^_^}> [nixpkgs] @danbst closed pull request #51527 → [WIP] all-packages.nix: Use pkgs ("self") instead of res (next stage super) → https://git.io/fpPxT
<clever> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
__monty__ has quit [Quit: leaving]
lassulus has quit [Ping timeout: 245 seconds]
lassulus has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #55064 → libva[,-utils}: 2.3.0 -> 2.4.0 → https://git.io/fhSIA
<infinisil> dckc: (What {^_^} said was meant for you)
* dckc nods
Havvy has quit [Read error: Connection reset by peer]
<petersjt014> any chance someone with access to the build server could roughly double the timeout for the aarch64 build (again?) It's getting closer but still timing out:
<petersjt014> hydra.nixos.org/job/nixos/release-18.09-aarch64/nixos.sd_image.aarch64-linux
rwe has quit [Ping timeout: 245 seconds]
<jonreeve> infinisil: Sorry, got called away to do stuff. Here it is: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.2, channels(jon): "home-manager, nixos-19.03pre166987.bc41317e243", channels(root): "nixos-19.03pre167858.f2a1a4e93be", nixpkgs: /nix/var/nix/pr
<samueldr> petersjt014: some firepower was added a few hours ago to aarch64-linux
<jonreeve> ofiles/per-user/root/channels/nixos
<samueldr> petersjt014: hopefully it will help
<samueldr> petersjt014: but upping the timeout isn't the right solution though :/
<samueldr> hopefully, the next evals will show fewer timeouts due to how the compile farm was reconfigured
<infinisil> jonreeve: Hmm, and can you confirm that you really get that error when you run the installation command for clay i gave you?
<petersjt014> more cores?
<samueldr> (I think one of the main issue is how timeouts are global to hydra, so cannot be done to aarch64 only, but unsure)
lassulus has quit [Ping timeout: 245 seconds]
<samueldr> petersjt014: yes
<jonreeve> infinisil: Sure, I'll try again
lassulus has joined #nixos
<samueldr> and also, maybe it won't hit the server the first time, the new sever *might* be beefier, so if it's cpu-heavy it might help
<petersjt014> ah, good
simukis has quit [Quit: simukis]
<jonreeve> infinisil: Yep, I'm getting: `error: attribute 'haskell' missing, at (string):1:7`
<petersjt014> I imagine compiling llvm qualifies
<infinisil> jonreeve: That's odd..
<jonreeve> Does it work for you? (Is `haskell` the right name for that?)
<infinisil> jonreeve: Yeah it works for me
<infinisil> jonreeve: Try building clay with `nix-build -E 'with import <nixpkgs> {}; haskell.lib.doJailbreak haskellPackages.clay'`
tilpner has quit [Quit: WeeChat 2.3]
<jonreeve> infinisil: Awesome, that works!
<infinisil> jonreeve: Alright so it seems that nix-env uses a weird nixpkgs version
<infinisil> jonreeve: What's in your ~/.nix-defexpr?
jasongrossman has joined #nixos
drakonis has joined #nixos
<jonreeve> infinisil: I'm seeing: ├── channels -> /nix/var/nix/profiles/per-user/jon/channels
<jonreeve> └── channels_root -> /nix/var/nix/profiles/per-user/root/channels
<clever> jonreeve: and in both of those?