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
Rusty1 has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
sondr3 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @ryantm closed pull request #55100 → urbit: 0.6.0 -> 0.7.1 → https://git.io/fhS8m
<{^_^}> [nixpkgs] @ryantm merged pull request #54988 → percona-server56: 5.6.35-80.0 -> 5.6.43-84.3 → https://git.io/fhD57
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhb2F
<fpletz> samueldr: the gcc-8 branch was merged by accident and removed from staging
<{^_^}> [nixpkgs] @xeji merged pull request #56320 → Fix sc2-headless map hash → https://git.io/fhbzE
<{^_^}> [nixpkgs] @xeji pushed commit from @spacekitteh to master « Fix sc2-headless map hash (#56320) »: https://git.io/fhb2N
<samueldr> fpletz: :/
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<samueldr> right the PR is seemingly in a confus(ed|ing) state
jluttine has quit [Ping timeout: 255 seconds]
_d0t has quit [Quit: Konversation terminated!]
Zer000 has left #nixos ["Leaving"]
<hyperfekt> Is there a trick to running the tests? I always get 'error: file `/boot/grub/i386-pc/normal.mod' not found.' when a virtual machine tries to boot :<
eadwu has joined #nixos
o1lo01ol1o has joined #nixos
rcshm has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #56327 → numix-icon-theme-circle: 19.01.24 -> 19.02.22; numix-icon-theme-square: 19.01.24 -> 19.02.22 → https://git.io/fhb2p
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8e70d4bd7d5 (from 61 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e2474d714c0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has quit [Ping timeout: 255 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
ddellacosta has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matti-kariluoma opened pull request #56328 → candle: init at 1.1 → https://git.io/fhbaL
MichaelRaskin has quit [Quit: MichaelRaskin]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ddellacosta> I cannot for the life of me figure out how to get icons to show up for qt5 apps on my system (no display manager + xmonad). This is all I could find so far--is there any other documentation on this anywhere? https://github.com/NixOS/nixpkgs/issues/13715
<{^_^}> #13715 (by flosse, 2 years ago, closed): running kde5 applications without kde as desktop manager
jluttine has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #55792 → Allow duosec to be used in nixos as a pam module. → https://git.io/fh7SH
<{^_^}> [nixpkgs] @Infinisil pushed 5 commits to master: https://git.io/fhba3
goibhniu has quit [Ping timeout: 245 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> ddellacosta: not sure if it helps, but the apps I have been using all have the icons showing properly, this is what I use: https://gist.github.com/msteen/412a69295c3c9adc0127e56b3fe8538a
ddellacosta has quit [Ping timeout: 245 seconds]
slack1256 has joined #nixos
o1lo01ol1o has joined #nixos
ddellacosta has joined #nixos
<ddellacosta> ottidmes: looks like my network dropped out right when you responded (I checked the logs)--sorry! And thanks for that--I'll poke at your config and see if it helps me fix my busted icons
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
hamishmack has joined #nixos
infinii has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bendlas pushed to master « chromium: 72.0.3626.109 -> 72.0.3626.119 »: https://git.io/fhba8
hyperfekt has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bendlas pushed to release-18.09 « chromium: 72.0.3626.109 -> 72.0.3626.119 »: https://git.io/fhba4
eadwu has quit [Quit: WeeChat 2.4]
eadwu has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eadwu has quit [Quit: WeeChat 2.4]
<rcshm> hi, how do i reinstall new vscode on my nixos? the package got corrupted after restart and i tried removing it from the configuration.nix, nixos-rebuild switch, nix-collect-garbage. but that didn't help
<rcshm> when i put the vscode back in and nixos-rebuild switch, the old broken package is still there.
<rcshm> thanks for your help.
eadwu has joined #nixos
<alex_giusi_tiri> rcshm: what do you mean by the package being broken?
<slack1256> Check out the config files it wrote (maybe on $HOME/.config)
o1lo01ol1o has joined #nixos
<ldlework> trying to write a new module for my system to install browsersync from npm
<ldlework> apparently I've forgotten how to use nix
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ym555 has quit [Quit: leaving...]
<ldlework> I have this line: nodeEnv = (import ./node-env.nix) { nodejs = pkgs."nodejs-8_x"; inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; };
<ldlework> And it say I'm calling that node-env.nix module with an unexpected argument `lib`
<ldlework> I don't understand why that is?
<clever> ldlework: what does --show-trace say?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8e70d4bd7d5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhbaV
slack1256 has quit [Ping timeout: 245 seconds]
pinkypie has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #56329 → vscode-extensions.WakaTime.vscode-wakatime: 1.2.5 -> 1.2.7 → https://git.io/fhbai
<clever> ldlework: i'm seeing a lot of 'no such file' and no unexpected argument
<ldlework> the first problem is that the package is called 'browser-sync' not 'browsersync'
<ldlework> yay
infinii has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<matix[m]> Is anyone else experiencing the same?
<{^_^}> #56278 (by kyren, 20 hours ago, open): Possible error following multiple relative symlinks from /etc
<clever> matix[m]: wait, wrong one, thats a diff /etc bug
freeman42x has quit [Ping timeout: 258 seconds]
<matix[m]> https://github.com/NixOS/nixpkgs/pull/54980 was merged in 4 days ago
<{^_^}> #54980 (by danbst, 3 weeks ago, merged): nixos: make symlinks in `/etc` relative (except `/etc/static`)
<clever> matix[m]: oh, that might be related to the 1st one i linked
<matix[m]> I think I might even know the exact reason why it warns
silver has quit [Read error: Connection reset by peer]
<matix[m]> `isStatic` looks only for absolute paths and assumes anything that doesn't begin with `/etc/static` to be user added
<clever> matix[m]: ahh, that would explain things
<matix[m]> though my perl-fu is at level 0 so I can't make a fix change
<matix[m]> it would be nice to have this fixed before 19.03 cut
<matix[m]> it looks very embarrassing to produce this warning on an otherwise clean install
cswl has quit [Quit: Connection closed for inactivity]
<ottidmes> I saw someone else reporting an issue with /etc, is that the same bug: https://logs.nix.samueldr.com/nixos/2019-02-23#1985571;
<clever> ottidmes: looks like it
growpotkin has joined #nixos
<growpotkin> I feel like I've been on such a bad roll with Haskell Packages lately. When I try to use them from nixpkgs they fail for really common dependencies like `containers` or `semigroups`.
<growpotkin> I can usually use them if I pull the repo but i have to put them next to any project I want to use them in.
<{^_^}> [nixpkgs] @ryantm merged pull request #55140 → Security updates, parity: 2.2.8 -> 2.2.9 → https://git.io/fhSX4
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/fhbab
<growpotkin> Does anybody have a more elegant solution to this kind of issue?
<growpotkin> Sometimes I can get around it by trying random GHC versions (which I think solves things by dumb luck more than anything)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/98d8bf4beab (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @eadwu opened pull request #56330 → wakatime: 10.6.0 -> 10.8.0 → https://git.io/fhbah
kvda has joined #nixos
o1lo01ol1o has joined #nixos
alex_giusi_tiri has left #nixos [#nixos]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aabc61049c0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
nDuff has joined #nixos
justanotheruser has joined #nixos
<nDuff> If I have a snapshot of a backup of my Nix store mounted on a subtree, is there a way to merge its contents into the local store that (1) preserves metadata, and (2) avoids completely rewriting the files? (The backup was restored to an alternate btrfs subvol and has had block-level deduplication run; copying with reflinks will take much less time/space than anything that involves a *real* copy).
matix has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
Ralith__ has quit [Remote host closed the connection]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<matix> nDuff: does `cp -a --reflink=always` work for you
<matix> ?
<nDuff> @matix, yes.
vk3wtf has quit [Ping timeout: 258 seconds]
<nDuff> my concern isn't about the filesystem layer but nix's sqlite datastores
<nDuff> copying files into place where they don't exist is easy enough, but places where files have different, conflicting values is the more interesting case.
<matix> well, if the builds are pure then the contents of these files that exist in both places should be the same
leotaku has joined #nixos
<matix> and if they are not you're basically free to pick any version
<nDuff> matix, I'm not referring to derivation results, or even, .drv files
<nDuff> I'm referring to /nix/var/nix/db/
<clever> nDuff: you want `nix copy`
<clever> nDuff: `nix copy --from local?root=/mnt --all` i think will do what you want
<matix> but it won't reflink
<matix> i think i understand the problem now
<clever> any copy that doesnt involve nix commands, will just result in a GC deleting the files
<matix> i wonder if this would work for you: cp with reflinks first, then try `nix copy` and see what happens when nix notices files already exist
<nDuff> Right. Anything that reads the bytes from point A and writes the bytes to point B undoes the deduplication, unless it uses the reflink-aware syscalls
<clever> matix: `nix copy` will delete things that are invalid and in the way
matix has quit [Quit: WeeChat 2.4]
matix has joined #nixos
infinii has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
drakonis has quit [Quit: WeeChat 2.3]
<matix> nDuff: just go with `nix copy`; it will be faster than whipping up a custom one-off script to merge the sqlite databases
<nDuff> matix, ...I'm really not sure about that. We're talking multiple TB.
<nDuff> and moreover, I don't have enough *space* to store it all deduplicated
<nDuff> so any process that requires redoing the dedup will result in an outright failure
<nDuff> ...which is to say, pretty sure I have a one-off script in my future.
<nDuff> ...anyhow, sqlite's ATTACH may make it straightforward-ish.
<nDuff> err, to store it all *re*duplicated, rather :)
matix[m] has left #nixos ["User left"]
eadwu has quit [Quit: WeeChat 2.4]
eadwu has joined #nixos
<matix> good luck then
matix has quit [Quit: WeeChat 2.4]
eadwu has quit [Client Quit]
justanotheruser has quit [Ping timeout: 255 seconds]
eadwu has joined #nixos
wedens has joined #nixos
nDuff has quit [Quit: zzz]
infinii has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos
etbe has joined #nixos
<etbe> I've started work on adding SE Linux support to NixOS. What's a good place on a Wiki for documenting this?
eadwu has quit [Quit: WeeChat 2.4]
eadwu has joined #nixos
<simpson> etbe: https://nixos.wiki/ but it is unofficial. If your work is headed upstream, then you'd presumably want to add it to the manual instead.
<etbe> simpson: I want it to go upstream, but we still have to decide how exactly it will work first...
domogled has joined #nixos
ottidmes has quit [Ping timeout: 255 seconds]
<etbe> The implementation of AppArmor with NixOS is fairly obvious in terms of the high level design. SE Linux is not so obvious.
<etbe> I think that a Wiki that lists what we agree on, and what the options are for the things we don't have agreement on would be useful.
<etbe> But it's definitely not a manual.
eadwu has quit [Quit: WeeChat 2.4]
eadwu has joined #nixos
eadwu has quit [Client Quit]
<etbe> I'll create Workgroup:SELinux
eadwu has joined #nixos
softinio has quit [Quit: Connection closed for inactivity]
<rcshm> alex_giusi_tiri: this is the error i have got - /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1/bin/.code-wrapped: line 35: /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1/lib/vscode/bin/../code: No such file or directory
<rcshm> i just don't know how to force reinstall vscode or any package really.
<simpson> etbe: Oh, that's not right. One sec.
<simpson> etbe: We have a repository for RFCs; you can just send a PR for https://github.com/NixOS/rfcs
<simpson> etbe: The wiki is *unofficial* and not a good place for anything coming upstream.
eadwu has quit [Quit: WeeChat 2.4]
domogled has quit [Quit: domogled]
infinii has joined #nixos
infinii has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/aabc61049c0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<etbe> simpson: I don't know if what I'm proposing counts as "substantial" given that anyone who wishes can keep using NixOS without enabling it. An opt-out change is more "substantial" than an opt-in change.
infinii has joined #nixos
iqubic has joined #nixos
<iqubic> So I'm trying to get the haskell reflex library installed on nixos.
<iqubic> As per these instructions:
<rcshm> hi, how to i force reinstall a package like vscode?
<iqubic> And under os compatibility it has a section on nixos, which tells me to add some stuff to the binary cache.
<iqubic> I did that.
<iqubic> And now I can't rebuild.
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhbVA
<iqubic> here's the error I'm getting. http://dpaste.com/26TMCFG
orivej has joined #nixos
domogled has joined #nixos
vidbina has quit [Ping timeout: 255 seconds]
fusion809 has joined #nixos
NickSeagull has quit [Quit: WeeChat 2.2]
NickSeagull has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56327 → numix-icon-theme-circle: 19.01.24 -> 19.02.22; numix-icon-theme-square: 19.01.24 -> 19.02.22 → https://git.io/fhb2p
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhbwe
<{^_^}> [nixpkgs] @peterhoeg opened pull request #56331 → crystal: init at 0.27.2 → https://git.io/fhbwT
<{^_^}> [nixpkgs] @peterhoeg opened pull request #56332 → xdg-desktop-portal-kde: fix missing dependency → https://git.io/fhbwk
Ralith_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
vk3wtf has joined #nixos
pie___ has joined #nixos
pie___ has quit [Remote host closed the connection]
pie___ has joined #nixos
pie__ has quit [Ping timeout: 268 seconds]
dcol has joined #nixos
<dcol> how do I set up nameservers on nixos?
<dcol> been trying to find an option somewhere for so long now..
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinhardt has joined #nixos
o1lo01ol1o has joined #nixos
rcshm has quit []
etbe has quit [Quit: Konversation terminated!]
vk3wtf has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<adamantium> yo, how do i try gnome3 with wayland
<worldofpeace> adamantium should work on nixos-unstable,
vk3wtf has joined #nixos
<adamantium> yeah thats what im on though. i still see "X" in top though
<adamantium> maybe the DM is what is running the X process, in which case, how would i verify wayland is being used by gnome though?
Havvy has quit [Remote host closed the connection]
Havvy has joined #nixos
<adamantium> echo $XDG_SESSION_TYPE --> x11
<adamantium> Do i need the services.xserver.displayManager.gdm.wayland ?
<worldofpeace> adamantium no that just allows gdm to run on wayland instead of x
<adamantium> yeah, so i have two options in lightdm, "gnome" and "gnome on Xorg"
<adamantium> but both run Xorg.
<adamantium> And i'm on unstable
<adamantium> i'll keep poking at it, and double check my facts. Thanks
<worldofpeace> Sounds like when you run the `gnome` session that It probably crashes for some reason and fallbacks to the xorg session
<adamantium> k
<adamantium> will have to check some logs and see if it is even trying to wayland then
<worldofpeace> Was just going to suggest that :)
<worldofpeace> Though I do recall lightdm being slightly annoying with session selection, for legacy reasons
<iqubic> What does nixpkgs.config.permittedInsecurePackages do?
andrewrk has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.3]
dcol has quit [Ping timeout: 257 seconds]
domogled has quit [Ping timeout: 246 seconds]
andrewrk has joined #nixos
vk3wtf has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
<adamantium> worldofpeace: the wayland gdm + a reboot seems to have sorted it out
<adamantium> cool
<worldofpeace> adamantium hmm, though lightdm should be able to start a wayland session IIRC
<adamantium> I love how easy it is to completely swap your system around in nixos. There is nothing smoother
<adamantium> Yeah, well lightdm is default, i'm sure it'll get fixed fast if the problem was not my own doing
<worldofpeace> Indeed, thanks for letting me know adamantium . I wonder If I can reproduce it
pjan has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 268 seconds]
Mateon2 has joined #nixos
domogled has joined #nixos
jfroche has joined #nixos
shabius has quit [Quit: Leaving]
nD5Xjz has joined #nixos
nD5Xjz_ has quit [Ping timeout: 255 seconds]
lejonet has quit [Ping timeout: 250 seconds]
jfroche has quit [Client Quit]
justan0theruser has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
justanotheruser has quit [Ping timeout: 250 seconds]
pinkypie has quit [Ping timeout: 250 seconds]
hamishmack has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #56332 → xdg-desktop-portal-kde: fix missing dependency → https://git.io/fhbwk
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fhbwV
wfranzini has joined #nixos
wfranzini has quit [Remote host closed the connection]
infinii has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
domogled has quit [Remote host closed the connection]
<elvishjerricco> Hm. virtualisation.useBootLoader doesn't seem to work at all...
gerschtli has quit [Quit: WeeChat 2.2]
gerschtli has joined #nixos
lejonet has joined #nixos
infinii has joined #nixos
domogled has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
pbb has joined #nixos
domogled has quit [Quit: domogled]
jackdk has quit [Ping timeout: 255 seconds]
ddellacosta has quit [Ping timeout: 255 seconds]
PeterHK has joined #nixos
<PeterHK> how to fix `ld: unknown option: -isysroot` on OSX? i get ld errors with ruby quite often (xcode tooling)
simukis has joined #nixos
iqubic` has joined #nixos
iqubic` has left #nixos [#nixos]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhbrt
endformationage has quit [Quit: WeeChat 2.3]
iqubic has quit [Ping timeout: 264 seconds]
growpotkin has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
palo1 has joined #nixos
kenshinCH has joined #nixos
jethro` has joined #nixos
<jethro`> anyone here working on C++ projects with NixOS? I'm having trouble getting clang-tools to find stdlib header files, and would appreciate some guidance
tmaekawa has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<dminuoso> jethro`: Can you show how you build your derivation?
<jethro`> dminuoso: https://pastebin.com/8vgdMVYn
<jethro`> that's my shell.nix file, i enter a nix-shell, and I suppose clangStdenv makes clang-tools available
<kyren> okay, this might not be a question for #nixos specifically, I'm not totally sure, but I'm following this guide: https://nixos.wiki/wiki/IGVT-g
<kyren> and the result is that I have a baffling libvirtd error with *no* error output, just: 'internal error: process exited while connecting to monitor', and I'm asking in case either anybody has ever used iGVT-g emulation or even just knows how to *find a better error*
<dminuoso> jethro`: So for completion, can you also show us how you build your C++ file/files and what errors you get?
<kyren> there's nothing interesting in dmesg or the logs, and I'm out of ideas
kenshinCH has quit [Ping timeout: 246 seconds]
<dminuoso> jethro`: And how do you open your nix-shell?
tmaekawa has quit [Ping timeout: 245 seconds]
<jethro`> dminuoso: I simply run `nix-shell` in the root directory of my project, containing shell.nix
<jethro`> dminuoso: I build my project using cmake: cd build/; cmake -DCMAKE_CXX_CLANG_TIDY=$(which clang-tidy) .. ; make -j4
rauno has joined #nixos
<jethro`> dminuoso: for clarification, clang++ is can find the stdlib header files and the program compiles. However, clang-tidy is unable to find them, and produces diagnostic errors such as the following: https://pastebin.com/gEdeDgLH
<jethro`> dminuoso: my current hypothesis is that clang++ is wrapper, while clang-tidy is an unwrapped binary, but I can't find a good workaround
<simpson> jethro`: Does the problem still happen if you write an ordinary Nix derivation for building your project?
<dminuoso> jethro`: I wonder, some googling reveals bits about using nixos.llvmPackages.stdenv rather than clangStdenv
<kyren> jethro`: are you using the `-p` flag to clang-tidy to read the database written by cmake?
<jethro`> simpson: I haven't tried that, need to write a corresponding default.nix
schjetne has quit [Ping timeout: 255 seconds]
arjen-jonathan has joined #nixos
Makaveli7 has joined #nixos
<jethro`> kyren: no, but cmake is the one specifying to run clang-tidy, so it should be using the compile_commands.json by default. I tried running clang-tidy outside of cmake specifying the build path with the file, with the same effect.
<kyren> jethro`: hmmm, okay so it *is* being called with the `-p` flag then, just by clang?
<kyren> er, sorry just by cmake
<jethro`> kyren: yes, that's what I think is happening
<jethro`> dmniuoso: I tried changing clangStdenv to llvmPackages.stdenv, but doesn't change anything
<kyren> jethro`: then I'm not sure, sorry.. I would *assume* that cmake would be passing in all of the relevant header directories, it must be skipping over the ones that are clang system headers?
<kyren> does clang-tidy honor any environment variables for places to look for headers?
<jethro`> kyren: this is why i'm wondering if clang-tidy needs to be wrapped as well, because a quick look at compile_commands.json shows that system includes are not part of the compile command, and encapsulated in the wrapped clang++. https://pastebin.com/gV7M8x31
<kyren> okay, just to test, in your nix-shell do `echo $NIX_CFLAGS_COMPILE`
<kyren> what happens if you set CFLAGS to NIX_CFLAGS_COMPILE, does that make the problem go away?
<kyren> (I'm kind of guessing here)
<dminuoso> It's times like these that I enjoy having a Haskell gig instead of a C++ gig.
<jethro`> kyren: what should I be looking out for?
* dminuoso chuckles
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/8e70d4bd7d5 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<kyren> jethro`: it should contain things like '-isystem /nix/store/blah'
<kyren> so, assuming clang-tidy honors CFLAGS, maybe doing `export CFLAGS=$NIX_CFLAGS_COMPILE` makes it work?
<jethro`> kyren: it looks like it doesn't contain the stdlib though: https://pastebin.com/raw/cYwkJr2R
kvda has joined #nixos
<jethro`> dminuoso: it's just a temporary PITA for me, since this is just a school project :P
<kyren> jethro`: oh, I was using `nix-shell -p clang` to test, so that's probably why, what if instead in shell.nix you set CFLAGS to be `${clang}/include/`
<kyren> you can do it with shellHook, but there might be an even easier way
<kyren> but shellHook = ''export CFLAGS="${clang}/include"''; might do it
<{^_^}> [nixpkgs] @pSub merged pull request #56330 → wakatime: 10.6.0 -> 10.8.0 → https://git.io/fhbah
dwdr has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhbr9
jfroche has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #56334 → shairplay: 2016-01-01 -> 2018-08-24 and add avahi-compat convenience derivation → https://git.io/fhbr5
Ariakenom has joined #nixos
pinkypie has joined #nixos
snupples[m] has joined #nixos
<jethro`> kyren: couldn't get it to work, and gotta head off, appreciate the effort!
<kyren> dang, sorry!
<jethro`> kyren: fwiw I looked at the derivation for clion, and it appears that they do patch the clang-tidy binary: https://github.com/NixOS/nixpkgs/blob/925b196c554b7fb3a2b95574b983394de8d1338c/pkgs/applications/editors/jetbrains/default.nix#L71
<kyren> jethro`: that's patchelf, I don't think that would affect its header search path.. I mean I hope it wouldn't
<jethro`> kyren: I see
ibrahims has quit [Ping timeout: 255 seconds]
ij has joined #nixos
matix has joined #nixos
jethro` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
domogled has quit [Quit: domogled]
Tucky has joined #nixos
<kyren> WOW, I cannot believe I actually found the answer: https://github.com/intel/gvt-linux/issues/47
<{^_^}> intel/gvt-linux#47 (by alex3kov, 26 weeks ago, closed): qemu process defunct immediately after starting VM
schjetne has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
PeterHK has quit [Ping timeout: 256 seconds]
<kyren> added that one to the NixOS wiki
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elvishjerricco> How are you actually supposed to use the `run-vm` script from `runInLinuxVM` with `--keep-failed`? It expects to have /build and to be able to write to $out
slack1256 has joined #nixos
johanot has joined #nixos
ibrahims has joined #nixos
ckauhaus has joined #nixos
ibrahims has quit [Read error: Connection reset by peer]
ibrahims has joined #nixos
Boomerang has joined #nixos
<sphalerite> elvishjerricco: I'm not sure you're supposed to use it at all, but maybe you can set the NIX_BUILD_TOP and out env vars to make it work?
zupo has joined #nixos
<elvishjerricco> sphalerite: Unfortunately the out path and /build are hard coded in a couple of places, one of which is the output path for the VM to write to, meaning replacing that also requires mounting the replacement in the VM
<sphalerite> ah
<elvishjerricco> sphalerite: Comments at least indicate it's meant to be used for interactive debugging :/ https://github.com/NixOS/nixpkgs/blob/32767d139f28fd3c00d687c04ec406258f7341e7/pkgs/build-support/vm/default.nix#L297
<elvishjerricco> "11 years ago" lol
lord| has quit [Ping timeout: 255 seconds]
<sphalerite> or once was meant to be used for interactive debugging :D
infinii has quit [Ping timeout: 250 seconds]
lord| has joined #nixos
<elvishjerricco> Bleh. Trying to debug why a derivation fails in the VM but it is not logging anything
Thra11 has quit [Ping timeout: 272 seconds]
ibrahims has quit [Read error: Connection reset by peer]
Glider_IRC__ has joined #nixos
slack1256 has quit [Remote host closed the connection]
<elvishjerricco> `exec 2> $out/stderr.txt` there we go :P
slack1256 has joined #nixos
<elvishjerricco> Probably a bug that output isn't being piped to the nix log
infinii has joined #nixos
goibhniu has joined #nixos
Glider_IRC_ has quit [Ping timeout: 255 seconds]
zenobit has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #55951 → why3: 1.1.1 -> 1.2.0 → https://git.io/fh56i
<{^_^}> [nixpkgs] @vbgl pushed to master « why3: 1.1.1 -> 1.2.0 »: https://git.io/fhboj
<adamantium> Hey, can I just declare use unstable in configuration.nix somewhere, so that it just uses that for everything on all my machines?
<Izorkin> Please check this PR 56255
<Izorkin> * #56255
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56255 (by Izorkin, 1 day ago, open): nginx: do not run anything as root
__monty__ has joined #nixos
<sphalerite> adamantium: not neatly. You'll probably want to change them to the unstable channel with nix-channel if you're using that
<adamantium>
<adamantium>
<adamantium>
<adamantium> [Mon Feb 25 2019]
<adamantium> *** Topic for #emacs: If you love your init files, let them go, and see if
<adamantium> they return. | Emacs questions take priority over off-topic chatter, so
<adamantium> ask! | No public logging! What happens in #emacs stays in #emacs | No
<adamantium> racism, sexism, xenophobia, botwanking, or other asshattery, please.
<adamantium> [01:08]
<adamantium> *** #emacs: topic set by bpalmer, 2019-02-14 10:40:28
<adamantium> *** Users on #emacs: Abbott AdmiralBumbleBee AeroNotix AfroThundr|main AimHere
<adamantium> Albori BSLANG BeefEats Blkt BrandonArnold C-Keen Cathy CheapSeth
ixxie has joined #nixos
<adamantium> ClawOfLight CompanionCube Copenhagen_Bram CosmicRay CrazyEddy DaPinkOne
<adamantium> Dalvini Defolos Demosthenex DistantStar DrMax DrMax_ Dr_Jazz Entroacceptor
<adamantium> Frogging101 GJdan GoGi Guest40074 Guest57051 Gurkenglas HappyPonyLand
<adamantium> HaraldJoerg Harzilein HenryG Hobbyboy Howitzer105mm Infiltrator Inline
<adamantium> JamesNZ Jefe K0HAX Kaisyu Khady Koshian
<adamantium> *** Users on #emacs: Krystof LogicAside Lord_of_Life Madars MaryHadalittle
<adamantium> MaxLanar Misha_B Mon_Ouie MoziM MuffinPimp Myrl-saki Namigator Natch
<adamantium> Necktwi NemesisD Net Oxyd Philonous Pio Posterdati Praise ProofTechnique
<adamantium> RandyT Riviera_ Rovanion RusAlex SOO7 Seb Sembei Shibe Sigma Skarn Sketch
<adamantium> Snoras SolarAquarion Spr0cket Spritzgebaeck Stromeko Swant SyrupThinker
<__monty__> adamantium: Plx stawp!
<adamantium> TacoThief TeMPOraL TheBrayn TheCowboy ToBeFree TonCherAmi TreyHarris
<adamantium> Unhammer Vermont Wolfn00dle Xal Xenguy
<adamantium> *** Users on #emacs: YoungFrog Zorroness_ _ay_ _rj aaptel acowley ada[m]
<adamantium> adamantium adereth adisbladis adulteratedjedi adx affinespaces agraul
<adamantium> aindilis akraut alephnull alphazb alphor_ amoe amosbird andirc8089
<adamantium> angerman anhj anthracite apetresc apragmatist_ armyriad arthurnn aspiers
<sphalerite> noooooo adamantium
<adamantium> aterius autrilla average averell aw1_ awal awal[m] babilen5 bandali basilc
<adamantium> bazz bch bchar bdw beaky belak benaiah beneth benjamin-l benley bennofs[m]
<adamantium> bertschneider bhavin192 billstclair
<adamantium> *** Users on #emacs: bitozoid bjb blackswan blandest blindidiotgod blu3r4d0n
<adamantium> blueingress boblefrag bodicceaII bpalmer brass bremner broquaint bsima
<adamantium> bukkakebob[m] c50a326 cYmen cacheyourdreams cantstanya caoliver carlf
<adamantium> cbaines cehteh cetchmoh cgfbee cgundogan chandan_ chckyn cheers cichli
<sphalerite> adamantium: get a proper client that doesn't let you accidentally do that :p
<adamantium> cinch clemens3 cliluw cmatei codingquark cold_sauce colekowalski copec
<adamantium> copypasteque_ correlr corvidzz cpe cranes cranq croccydile cross csed
<adamantium> cybrNaut cyphix cyris212 cytryna d10n
<adamantium> *** Users on #emacs: davdunc dawik deadcyclo deedra deego dellavg delx dhanush
<adamantium> diamondman dieggsy diginet dim diogenese distopico divansantana dj_ryan
<adamantium> djhworld dotemacs dqx drdo drewbarbs drewlander drot dru1d drymer dsal
<adamantium> dsyzling_ dtw duckonomy dustfinger dustinm` dxtr dyelar dysfigured dzho
<adamantium> eagleflo ecraven edgar-rft ekleog elb eldritch elvishjerricco emacsomancer
<adamantium> energizer enikar equivrel eqw erhandsome ericP erickgnavar erkin esran
<adamantium> evilmonads ewatcher exit70
<adamantium> *** Users on #emacs: f6k fabfur falsealarm feklee fengshaun ferdy fiachetti
<adamantium> fiddlerwoaroof fiete fifr fifr[m] fifr` fil finkata foo357 forcer fowlduck
<ij> hehe
<adamantium> fperrin fredsir frisky froggey fsbot fstd fxlt galdor gargantua gendl
<adamantium> genpaku geronimogarcia gilbertw1 gko gks glyph gnomon gobostone gpk
<adamantium> grdryn[m] gregf grift griphook grumble grummel grummund_ grvgr gsingh93
<adamantium> haaja haroldwu harrigan hemite hhes hiredman hiroshi hiroshi[m] hjst hmw
<adamantium> hober hodapp hoek hohum hunzelstrunz
<adamantium> *** Users on #emacs: hyperair iank ibex iclon iderik ieure ifdefnull iffsid
<adamantium> igemnace ilbelkyr illandan[m] incal infinee infinii inittab_ inkbottle
<sphalerite> gchristensen: would you happen to be present and able to mute adamantium for a minute? :)
<adamantium> introom ioa iomonad irfus iskander isokee j^2 jaafar jackhill jacky
<johanot> Wow. surprised he isn't banned yet :P
<adamantium> janneke jave jave[m]1 jbalint jcalve jdormit jdormit[m] jfb4 jgkamat jhei
<ij> adamantium: if you just quit, it will stop doing that
<adamantium> jimgray jje jkamat jlf jo-so joehillen johnjay johnsu01 johs jolamb
<ij> adamantium: because the messages are still coming
<adamantium> joschka jp0 jpzhu jrm juancate junnu justan0theruser justinweiss k-man
<adamantium> kanru karstensrage kbtr kenrestivo kenzo
<adamantium> *** Users on #emacs: keoz kh31d4r kini klntsky kloeri klostein kodein kqr
<adamantium> kristjansson krobelus krux02 kyrylo kzar laydros ldlework leah2 legonigel
<__monty__> gchristensen: Could you kick them?
<adamantium> leothrix les lewo lhx lidstah linuus literal livcd ljhms lnostdal loke
<adamantium> loskutak lugh luis` m0rr1gan m4ho macrobat magog makomo malm mandarg map7
<adamantium> margaritamike markasoftware markus1189 martin_ martinjungblut martle
<adamantium> mathrick mattcen mbecroft mbrumlow mbuf mclemens mdk meiyopeng meowray mf7
<adamantium> mfiano mfisher mgsk mickael-kerjean8
<sphalerite> __monty__: I doubt gchristensen is around right now, it's a bit early
<adamantium> *** Users on #emacs: micro microcolonel mniip mns mog moldybits molloy monotux
<adamantium> mozzarella mqp mrkotfw mrm mrvdb muep murr4y mwsb n2o4 n3t nD5Xjz nahra
<adamantium> nand1 nando293921 nckx neeasade nemesit|znc netkam2 neuromorphic nextloop
<adamantium> nibbling_ nickmass nightwarrior-xxx niko njsg noeatnosleep nojeffrey
<adamantium> noobineer northcode notnotdan[m] notzmv ntnn nullheroes nwp nykma
<adamantium> oberstein ocharles octe offby1 offbyone ohama onre opan ozzloy p_l pacon
<adamantium> parsnip pd pdgwien peb` peder pepesza
<adamantium> *** Users on #emacs: perrier-jouet perryprog phenoble phl phoe6 physpi piyer
<__monty__> sphalerite: I just don't know any other ops : ) #nixos-ops was empty.
<slack1256> probably just issuing some /ignore for a while
<adamantium> piyo planigan plasticle plik polyrob popeye92 poppyschmo powerbit
<adamantium> psacrifice psidhu psycorama pt1 ptx pulkit25 qbit qdot_ qsx quasisane
<adamantium> quazimodo quite quotemstr r4vi raeburn rann raph_ael raso1 ravenousmoose
<adamantium> razzy regtools rejuvyesh relrod remote returnthis rgw rippa rizary
<adamantium> robenkleene robmyers rotty rrix rudybot ruediger rullie rwp ryjm[payon]
<monotux> oh very handy to know that I'm also in #emacs
<sphalerite> __monty__: yeah…
<adamantium> s00pcan sachac sacktown saon satoriprints
<adamantium> *** Users on #emacs: sauvin seanparsons sergiodj setre sheijk shlevy shymega
<sphalerite> monotux: hahaha
<adamantium> sidntrivedi sielicki sigjuice siraben ski slac-in-the-box slashfocus sm
<adamantium> sm[m] snackattack snuffychi snw specbot specing sshirokov steckerhalter
<adamantium> stiell str1ngs strugee styl1te stylewarning subsonick sukbeom superbil
<adamantium> superprower survivor_19 swathe swflint symbot sz0 szgyg talyz tasslehoff
<adamantium> tazle technomancy techquila teej teiresias tensorpudding terpri
<adamantium> texasmynsted thadtheman thaumavorio thblt
<etu> monotux++ Good choice of a channel to be in. I'm not there :p
<{^_^}> monotux's karma got increased to 1
<adamantium> *** Users on #emacs: the-map theBlackDragon theanalyst thebigj theoceaniscool
<adamantium> thijso thinkpad thomassgn tinloaf tomaw tomterl totonika traumschule
<adamantium> treethought[m] trn tsani_ tsdh turbofail twainwek typetetris tzz
<monotux> I haven't used /ignore in like...15 years
<adamantium> umbSublime unknown_lamer untoreh v01d4lph4 veegee veinofstars vifon visl
<adamantium> vladimiroff vup2 vxe w17t w1gz wagle waldhar wasamasa wavekidsjp wberrier
<__monty__> adamantium: Maybe pull the plug on your router or something?
<adamantium> wdouglas weaksauce webshinra wedens wheeler wi15ht widp_ winny winxor
xkapastel has joined #nixos
<adamantium> wraithm wwkeyboard xa0 xorkle xristos
<adamantium> *** Users on #emacs: xxpor_ xxx xylef yates yisraeldov yokel yonkeltron
<adamantium> yourfate ypm1 yurb ywecur[m] z0d zaeph zapata zcid zeltak zfnmxt zipper zo
<adamantium> zulu-inuoe zxrf
<adamantium> *** #emacs modes: +Cjnprst 2:3
<adamantium> *** #emacs was created on 2006-11-25 22:42:33
<adamantium> ERC> sphalerite oh okay, well that's what i already do then =)
<adamantium> oh my gosh i just spammed really bad i think? i'm so sorry
<etu> :D
<adamantium> My apology to everyone here.
<ij> adamantium: you could've quite before the end of it
<wedens> lol. another erc victim
<ij> adamantium: or /leave'd
<adamantium> No joke. Emacs ERC has been good, until ... right now omg.
<johanot> :D
<adamantium> oh shit. okay sorry. thanks for telling me!
<infinii> ig'd
<adamantium> __monty__: it's a bouncer i don't have control of and it's not responding to my commands
<adamantium> it's stickychann'ed and not responding to my commands. i'm verry sorry guys.
<etu> (Flood is over, info for people that already put a /ignore on adamantium)
<sphalerite> lol
<sphalerite> bring back Sigyn! :p
<adamantium> and now i have regained control of my bouncer
<adamantium> I am so sorry dudes! lol
<Izorkin> etu: if i reload now fixed #56280 can you check now?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56280 (by Izorkin, 1 day ago, merged): nginx: formating the config file
<etu> Izorkin: Uh? What about it?
<infinii> I'll keep him on ig for a bit more in case his #emacs flood is queued
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b25ae9b2541 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<etu> Izorkin: Ah, could you make a PR for that?
<etu> Izorkin: And cc me
<{^_^}> [nixpkgs] @Izorkin opened pull request #56335 → nginx: fix formating the config file → https://git.io/fhbKG
<Izorkin> etu: create
zupo has joined #nixos
<Izorkin> etu: can you still check #56255 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56255 (by Izorkin, 1 day ago, open): nginx: do not run anything as root
zupo has quit [Client Quit]
<__monty__> adamantium: Maybe you could've /ghosted yourself by logging in from another client.
<{^_^}> [nixpkgs] @Profpatsch merged pull request #56295 → nettee: init at 0.3.4 → https://git.io/fhblw
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/fhbKE
thc202 has joined #nixos
DrLambda has quit [Ping timeout: 245 seconds]
reinhardt has quit [Quit: Leaving]
Guest27871 has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #56335 → nginx: fix formating the config file → https://git.io/fhbKG
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhb6O
<{^_^}> [nixpkgs] @etu merged pull request #56321 → nginx-sso: 0.15.1 -> 0.16.0 → https://git.io/fhbzQ
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhb6s
<{^_^}> [nixpkgs] @FRidh closed pull request #55468 → pythonPackages.requests: update base16 hash to more conventional base32 hash → https://git.io/fhHVc
ij has quit [Ping timeout: 245 seconds]
winem_ has joined #nixos
<Izorkin> how to simple resolve conflict with git?
simukis has quit [Quit: simukis]
<__monty__> Izorkin: That's hard to answer. What's your actual problem and what do you actually want?
<Izorkin> __monty__: https://github.com/NixOS/nixpkgs/pull/56255 conflict file nixos/modules/services/web-servers/nginx/default.nix
<{^_^}> #56255 (by Izorkin, 1 day ago, open): nginx: do not run anything as root
<__monty__> Izorkin: Have you tried rebasing?
<Izorkin> __monty__: usually re-do, and force update
<__monty__> Izorkin: You mean you usually manually repeat your changes on the newer branch? That's what rebasing tries to do automatically.
hyper_ch2 has joined #nixos
alter-schjetne has joined #nixos
sigmundv__ has joined #nixos
schjetne has quit [Ping timeout: 255 seconds]
<Izorkin> __monty__: try to follow. This option will not work - https://github.com/NixOS/nixpkgs/pull/56255/commits ?
<__monty__> Izorkin: No clue what you tried to do there.
alter-schjetne has quit [Ping timeout: 272 seconds]
Guest27871 is now known as adamt
adamt has joined #nixos
adamt has quit [Changing host]
<adamt> Yeah, that looks really weird
<adamt> How about resetting hard to the 2nd commit, and then just doing git rebase master, and handle the conflicts during the rebase?
alex`` has joined #nixos
<alex``> Hi
<{^_^}> [nixpkgs] @petrkr opened pull request #56336 → Flexibee accounting system, initial commit → https://git.io/fhb6D
<alex``> I have symlinking fails after upgrading and xbacklight does not work anymore
<alex``> $ nixos-rebuild switch --upgrade
<alex``> $ xbacklight =20
alex`` has quit [Quit: WeeChat 2.4]
orivej has quit [Ping timeout: 258 seconds]
<Izorkin> adamt: did not try, re-created pr
simukis has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to staging-next: https://git.io/fhb6Q
<Philonous> It's funny, this keeps happening with erc users. You'd think they'd implement some sort of protection against it
alex`` has joined #nixos
init_6 has joined #nixos
Melkor333 has joined #nixos
adamt has quit [Quit: WeeChat 2.2]
MinceR_ has joined #nixos
simukis has quit [Quit: simukis]
<sphalerite> alex``: those two things seem unrelated
MinceR has quit [Ping timeout: 240 seconds]
<sphalerite> alex``: did you put your own stuff in the directories mentioned by nixos-rebuild?
<alex``> Nope
<sphalerite> alex``: in that case, I'd try moving the directories mentioned out of the way and rerunning the activation script as root (/run/current-system/activate)
<sphalerite> actually, `/run/current-system/bin/switch-to-configuration switch` is probably better
<alex``> Moving all the directories mentioned to a tmp directory?
<sphalerite> well preferably somewhere you can restore them from if everything goes wrong
schjetne has joined #nixos
<alex``> sphalerite: it works the first time, but say the same after
<{^_^}> [nixpkgs] @lheckemann opened pull request #56337 → nixos-generate-config: add rudimentary high-DPI detection → https://git.io/fhbit
<alex``> after populating the directories, re-running the command output the same thing
<alex``> I can reproduce on my 2 laptops
<sphalerite> very odd
ij has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #56326 → sshd: fix startWhenNeeded and listenAddresses combination → https://git.io/fhb21
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fhbiY
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ij has quit [Ping timeout: 255 seconds]
<alex``> sphalerite: do you updated to the latest?
<alex``> (I’m on nixos-unstable channel)
ij has joined #nixos
ij is now known as ij1
<alex``> $ nix-channel --list
<{^_^}> attempt to call something which is not a function but a set, at (string):218:1
Melkor333 has quit [Quit: WeeChat 2.4]
<dminuoso> Mmm, I use home-manager, and I get the following error: The option `programs.java' defined in `/home/dminuoso/.config/nixpkgs/home.nix' does not exist.
<dminuoso> Setting that option system wide in /etc/nixos/configuration.nix works just fine.
schjetne has quit [Ping timeout: 246 seconds]
arjen-jonathan has quit [Ping timeout: 268 seconds]
<sphalerite> dminuoso: home-manager and nixos have different config option sets.
<{^_^}> [nixpkgs] @uvNikita opened pull request #56340 → sshd: fix startWhenNeeded and listenAddresses combination for ipv6 → https://git.io/fhbiE
ThatDocsLady has joined #nixos
adamt has joined #nixos
<sphalerite> dminuoso: see https://rycee.gitlab.io/home-manager/options.html for options available in home-manager.
<dminuoso> sphalerite: Ah perfect, I was not aware of that. Thanks.
arjen-jonathan has joined #nixos
alex`` has quit [Quit: WeeChat 2.4]
xkapastel has quit [Quit: Connection closed for inactivity]
init_6 has quit [Read error: Connection reset by peer]
cfricke has joined #nixos
<gchristensen> oh dear :)
<adamt> That seems like a pretty random outburst. ;-)
<gchristensen> an IRC user made a mistake a couple hours and pasted in the whole list of people in here :P
mmlb has quit [Remote host closed the connection]
<ij1> gchristensen: in #emacs, I think
<johanot> yeah we missed you there for a moment gchristensen :D
<adamt> Oh yeah, that looked pretty impressive
ij1 is now known as ij
zupo has joined #nixos
<{^_^}> [nixpkgs] @uvNikita closed pull request #56340 → sshd: fix startWhenNeeded and listenAddresses combination for ipv6 → https://git.io/fhbiE
<sphalerite> ij: no, it was in here, although it was a user listing for #emacs that was pasted :p
dwdr has quit [Read error: Connection reset by peer]
<sphalerite> oh wait I misread
<sphalerite> yeah
MinceR_ is now known as MinceR
pinkypie has quit [Ping timeout: 255 seconds]
init_6 has joined #nixos
jfroche has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @hedning merged pull request #54299 → xdg-desktop-portal{,-gtk}: 1.1.0 -> 1.2.0 → https://git.io/fh0jK
<{^_^}> [nixpkgs] @hedning pushed 4 commits to master: https://git.io/fhbPc
silver has joined #nixos
Ariakenom has joined #nixos
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @nipav opened pull request #56341 → yokadi: 1.1.1 -> 1.2.0 → https://git.io/fhbPW
hjst has quit [Quit: Bye!]
yokyolu has joined #nixos
emily has quit [Remote host closed the connection]
emily has joined #nixos
agent13 has quit [Quit: Bye]
sam_d has joined #nixos
aanderse_ has joined #nixos
aanderse has quit [Ping timeout: 255 seconds]
juliendehos has joined #nixos
ottidmes has joined #nixos
init_6 has quit []
<{^_^}> [nixpkgs] @hedning pushed 3 commits to master: https://git.io/fhbPV
<{^_^}> [nixpkgs] @hedning merged pull request #56188 → Fix thumbnails generation in nautilus → https://git.io/fhbPw
mmlb has joined #nixos
init_6 has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #55326 → flatpak: 1.1.3 -> 1.2.0 → https://git.io/fh92N
Xal has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #56308 → gem-config: add native taglib dependency to taglib-ruby gem → https://git.io/fhbRR
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fhbPP
infinii has quit [Ping timeout: 272 seconds]
Xal has joined #nixos
ibrahims has joined #nixos
o1lo01ol1o has joined #nixos
Melkor333 has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/aabc61049c0 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
agander has joined #nixos
Makaveli7 has quit [Quit: Leaving]
<kyren> is something like nixpkgs.sambaMaster overridable? I ask because that package is the result of calling samba4.override { ... } and what I want to do is enable printing support for sambaMaster
ibrahims has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #56343 → nixos/gnunet: fix typo in `PrivateTmp` parameter → https://git.io/fhbXk
ibrahims has joined #nixos
<{^_^}> [nixpkgs] @vbgl closed pull request #50025 → ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.1 → https://git.io/fpIya
<andi-> kyren: it should be overridable
<kyren> it's overridable in the sense that I can override the arguments to samba/master.nix
<kyren> but what I want is to combine enabling printing with the overrides in samba/master.nix
init_6 has quit []
<kyren> basically I'm asking if it's legal to do (mypackage.override { foo = "bar"; }).override { baz = "baf"; }
ibrahims has quit [Ping timeout: 268 seconds]
growpotkin has joined #nixos
<kyren> except callPackage was getting in my way
<kyren> I *might* have figured it out
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dd251403053 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rauno has quit [Ping timeout: 245 seconds]
reinhardt has joined #nixos
infinii has joined #nixos
<kyren> I figured it out, but there might be a simpler way: https://bepasty.kyju.org/pbA7JTZ4/+inline?
agander has quit [Ping timeout: 245 seconds]
infinii has quit [Ping timeout: 250 seconds]
xkapastel has joined #nixos
<ivegotasthma> what's the difference between fetchgit and fetchfromgithub?
ramses_ has joined #nixos
agander has joined #nixos
<Yaniel> fetchfromgithub knows about the zip archives github provides
<adamt> ivegotasthma: There's actually two different versions of fetchgit, as well, and I can't remember which is which..
<Yaniel> so it can just grab those instead of doing a full git clone
<ivegotasthma> Yaniel: ah, okay
<ivegotasthma> I'm getting a vim plugin from github, but there is so much variance over the nix code everywhere, that I'm not sure about the best way to do things
pinkypie has joined #nixos
<ramses_> I am trying to get a minimal NixOS machine deployed to Azure, I am using this config: https://gist.github.com/RdN-MSF/51057c862b5680a68ddf86140e69e5b0
<ramses_> But I get the error "The option `deployment.azure.location' is used but not defined." when doing nixops deploy
<ramses_> I removed the location option, same error...
<ramses_> Anyone who knows what I'm missing?
<johanot> ivegotasthma: fetchFromGithub actually does fetchTarball behind the scenes, iirc
yokyolu has quit [Ping timeout: 245 seconds]
<johanot> fetchFromGithub { owner = "NixOS"; repo = "nixpkgs"; rev = "master"; } is just a sofisticated wrapper around fetchTarball "https://github.com/nixos/nixpkgs/archive/master.tar.gz"
<{^_^}> [nixpkgs] @Vskilet opened pull request #56344 → Mautrix whatsapp → https://git.io/fhbXM
emily has quit [Remote host closed the connection]
emily has joined #nixos
mallabori[m] has joined #nixos
orivej has joined #nixos
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Ma27 opened pull request #56345 → nixos/sshd: implement support for `Match` groups → https://git.io/fhbX7
tdbgamer has joined #nixos
growpotkin has quit [Remote host closed the connection]
<jluttine> has something changed recently in nixos-unstable regarding environment variables? inside FHSUserEnv, my postgre DB init has started failing complaining something about bad environment variables. initdb failed: b'initdb: invalid locale settings; check LANG and LC_* environment variables\n'
<jluttine> i have had this setup for a few years and it has worked every day
<jluttine> i haven't changed now anything except i just upgraded nixos-unstable branch from a few weeks old point to the recent one
schjetne has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #56346 → gnome3.gnome-desktop: fix thumbnailing with missing fontconfig cache → https://git.io/fhb13
sam_d has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
sam_d has joined #nixos
rauno has joined #nixos
<pie_> jluttine, in the interim i guess you could probably use a pinned version of nixpkgs for that one thing?
o1lo01ol1o has joined #nixos
rauno has quit [Remote host closed the connection]
camsbury has joined #nixos
ym555 has joined #nixos
q6AA4FD has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<jluttine> pie_: yeah, good idea, maybe i'll do that
<jluttine> i opened an issue about this: https://github.com/NixOS/nixpkgs/issues/56347
<{^_^}> #56347 (by jluttine, 1 minute ago, open): Locales broken on FHSUserEnv
samrose has joined #nixos
<Izorkin> infinisil: pleae check this PR #56286 similar for nginx
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56286 (by Izorkin, 1 day ago, open): apache-httpd: formating the config file
q6AA4FD has joined #nixos
<pie_> jluttine, alternatively you can downgrade/roll back, if you dont need something from unstable
<jluttine> pie_: yep. just would like to understand is there something broken in nixpkgs now or has something changed so that i just need to do something differently
<pie_> jluttine, of course
<{^_^}> [nixpkgs] @dotlambda opened pull request #56349 → qutebrowser: 1.5.2 -> 1.6.0 → https://git.io/fhbMt
elibrokeit has quit [Quit: A random quit message]
<duairc> So on my NixOS system I have tonnes of fonts installed, but I'm doing some web development at the moment and I want to check how a page looks if a user doesn't have certain fonts installed. It should be possible to rig up some sort of nix-shell, which if I run Firefox inside of it, it won't have those fonts?
elibrokeit has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #52940 → mcfly: init at v0.3.1 → https://git.io/fhTSs
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhbMY
sphalerite has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
elibrokeit has quit [Client Quit]
elibrokeit has joined #nixos
<symphorien> I think even in an empty environment, firefox will still read /etc/fontconfig
<pie_> i think its a reasonable thing to want to do though, hm. idk much about firefox (font) config.
<pie_> my second thought is chroots.... symphorien fhsuserenv?
<symphorien> I don't know how they work, sorry
<pie_> yeah me neither
sphalerite has joined #nixos
o1lo01ol1o has joined #nixos
<pie_> duairc, idk if this kind of thing is generally accepted for github issues, but maybe try opening a github issue if you get no answer after a while? xD (im somewhat curious about th)
sam_d has quit [Read error: Connection reset by peer]
sam_d has joined #nixos
<symphorien> I think the easiest way is to remove the fonts from /etc/nixos/configuration.nix, rebuild, test, and rollback
<andi-> duairc: I run Firefox through bubblewrap. Just pass the X11 socket and your profile to the process. Can post a snippet later if needed.
<andi-> Mine doesn't have access to anything but /nix/store, the socket and my profile
o1lo01ol1o has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slack1256 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #56351 → pugixml: always include pkgconfig file → https://git.io/fhbMa
o1lo01ol1o has joined #nixos
ibrahims has joined #nixos
elgoosy has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56343 → nixos/gnunet: fix typo in `PrivateTmp` parameter → https://git.io/fhbXk
<{^_^}> [nixpkgs] @xeji pushed commit from @andir to master « nixos/gnunet: fix typo in `PrivateTmp` parameter (#56343) »: https://git.io/fhbMP
ibrahims has quit [Ping timeout: 245 seconds]
endformationage has joined #nixos
sphalerite has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
aanderse_ has quit []
aanderse has joined #nixos
<emily> and all your keystrokes. unless you're proxying the X11 through xpra or similar
<{^_^}> [nixpkgs] @xeji merged pull request #55547 → Fix 3 warnings in nixos/tests → https://git.io/fhQk0
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fhbM5
IRCsum has quit [Remote host closed the connection]
knupfer has joined #nixos
dwdr has joined #nixos
IRCsum has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
sphalerite has joined #nixos
<andi-> emily: yeah, but it was more a "does it work and if so what does it take" thingy.. Not claiming it solves the X11 issues :)
magnetophon has joined #nixos
<gchristensen> (you should see the insane stuff that is done to make Dragon work with Linux, the unsecured jsonRPC socket is terrifying. definitely on my to do list to fix that.)
ibrahims has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<pie_> whats dragon
<gchristensen> speech to text software which runs in a Windows ten VM
<gchristensen> it forwards keystrokes over an HTTP JSONRPC API which is then piped to xdotool
<{^_^}> [nixpkgs] @ryantm merged pull request #56341 → yokadi: 1.1.1 -> 1.2.0 → https://git.io/fhbPW
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbDY
agander has quit [Ping timeout: 246 seconds]
<pie_> ah right
<pie_> jesus, nice xD
ibrahims has quit [Ping timeout: 245 seconds]
<andi-> is it worth all that?
<gchristensen> I have a lot of years left that I need to be a functional employee :-)
<adamt> Can't it run through Wine somehow, though?
<andi-> so yes :)
<{^_^}> [nixpkgs] @lsix opened pull request #56352 → Postgresql updates → https://git.io/fhbDs
<{^_^}> [nixpkgs] @P-E-Meunier opened pull request #56353 → buildRustCrate: adding the description field → https://git.io/fhbDn
<ottidmes> gchristensen: so you would be saying things like "Firefox" and it would (or could) open / switch to Firefox?
<gchristensen> I could, but not yet. Right now I'm mostly dictating chat messages, and a small amount of code. (https://instaud.io/3lCU)
<gchristensen> (I'm still practicing, and getting used to it.)
<{^_^}> [nixpkgs] @ryantm closed pull request #47974 → i3lock-fancy: unstable-2017-12-14 -> unstable-2018-08-27 → https://git.io/fx3Nz
<ottidmes> gchristensen: thats awesome!
<sicklorkin> gchristensen: have you tested it against any captcha verfication audios?
<andi-> I would have eaten my own tongue 3 times. Amazing! :D
ggp0647 has quit [Quit: ZNC - https://znc.in]
ggp0647 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
ddellacosta has joined #nixos
WhittlesJr has joined #nixos
devalot has joined #nixos
<gchristensen> andi-: it takes a lot of practice :-) (https://instaud.io/3lCX) at first, it was a disaster
<{^_^}> [nixpkgs] @xeji merged pull request #56316 → neovim: Update ruby provider to 0.8.0 → https://git.io/fhbue
<{^_^}> [nixpkgs] @xeji pushed commit from @artemist to master « neovim: Update ruby provider to 0.8.0 (#56316) »: https://git.io/fhbDg
Makaveli7 has joined #nixos
<WhittlesJr> Is there a way to tinker with packaging something with a long build process without triggering the long build each time? The only thing I'm changing at this point is postInstall.
reinhardt has joined #nixos
o1lo01ol1o has joined #nixos
simukis has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dotlambda opened pull request #56354 → python.pkgs.pyqt5: 5.11.3 -> 5.12 → https://git.io/fhbDX
o1lo01ol1o has joined #nixos
<infinisil> WhittlesJr: You can make a wrapper for it
<duairc> andi-: Sorry, I was afk there for a bit. bubblewrap sounds like it might work for me
<WhittlesJr> infinisil: Excellent, thank you!
ij has quit [Quit: WeeChat 2.2]
ddellacosta has quit [Quit: WeeChat 2.2]
ibrahims has joined #nixos
<duairc> andi-: I'm trying to figure it out myself but if you could send that snippet that would be great
<{^_^}> [nixpkgs] @xeji merged pull request #56248 → git-ignore: init at v0.2.0 → https://git.io/fhbDx
<{^_^}> [nixpkgs] @xeji pushed commit from @sondr3 to master « git-ignore: init at v0.2.0 (#56248) »: https://git.io/fhbDh
ikitat has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #54678 → python37Packages.portpicker: 1.2.0 -> 1.3.0 → https://git.io/fh6BU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.portpicker: 1.2.0 -> 1.3.0 (#54678) »: https://git.io/fhbDj
<Taneb> If I'm writing a module and want to assert that a particular option has been defined, how would I go about it?
ibrahims has quit [Ping timeout: 245 seconds]
reinhardt has quit [Quit: Leaving]
<gchristensen> just use it
<gchristensen> if it isn't set (and it has no default) it'll cause a nice error
<{^_^}> [rfcs] @globin closed pull request #29 → [RFC 0029] Backports team → https://git.io/fNgo7
<Taneb> Aah, neat
NickSeagull has quit [Quit: WeeChat 2.2]
NickSeagull has joined #nixos
<Taneb> (I'm trying to set up a proprietary license server daemon on a NixOS machine)
<{^_^}> [nixpkgs] @xeji merged pull request #54679 → python37Packages.txtorcon: 18.3.0 -> 19.0.0 → https://git.io/fh6BI
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.txtorcon: 18.3.0 -> 19.0.0 (#54679) »: https://git.io/fhbyI
domogled has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #54680 → python37Packages.Pyro4: 4.74 -> 4.75 → https://git.io/fh6B4
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.Pyro4: 4.74 -> 4.75 (#54680) »: https://git.io/fhbyY
jb55 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #54704 → python37Packages.stripe: 2.10.1 -> 2.18.0 → https://git.io/fh6Kr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.stripe: 2.10.1 -> 2.18.0 (#54704) »: https://git.io/fhbyW
knupfer has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #54729 → python37Packages.gensim: 3.6.0 -> 3.7.0 → https://git.io/fh6bW
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.gensim: 3.6.0 -> 3.7.0 (#54729) »: https://git.io/fhbyl
oida has quit [Remote host closed the connection]
neminis has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #55193 → python37Packages.py3exiv2: 0.4.0 -> 0.5.0 → https://git.io/fhS7O
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « python37Packages.py3exiv2: 0.4.0 -> 0.5.0 (#55193) »: https://git.io/fhbyz
ym555 has quit [Ping timeout: 250 seconds]
kumikumi has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56319 → sbcl updated, tested on nixos x86_64 → https://git.io/fhbzl
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhbyg
oida has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #55317 → gammu: 1.39.0 -> 1.40.0 → https://git.io/fh9gT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gammu: 1.39.0 -> 1.40.0 (#55317) »: https://git.io/fhby2
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #56312 → Fixes several broken python packages for python-unstable → https://git.io/fhb0u
<{^_^}> [nixpkgs] @dotlambda pushed 8 commits to staging-next: https://git.io/fhbyy
ibrahims has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
rcshm has joined #nixos
ibrahims has quit [Ping timeout: 245 seconds]
<rcshm> hi, i have got vscode corrupted on nixos. how do i force reinstall the package? - /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1/bin/.code-wrapped: line 35: /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1/lib/vscode/bin/../code: No such file or directory
lfish has joined #nixos
<rcshm> thanks for your help
<lfish> hello, I need to set a static ip. Is there some special way to do this on nixos or is it the same as other distros? Btw, I'm running nixos 18.09
shpx has joined #nixos
<srhb> lfish: See the options under networking.interfaces :)
<srhb> rcshm: It's unlikely that that's what happened if you're on NixOS (since the store is read-only) -- but nix-store --repair-path /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1
<rcshm> srhb, i did run the repair-path you suggested but the error is still there though.
<lfish> srnb: oh! this is something I've been wondering for some time... is there a general way to get the options for these things? Thanks!
<rcshm> it didn't fix the issue.
<srhb> lfish: man configuration.nix or https://nixos.org/nixos/options.html#networking.interface are both useful :)
<rcshm> there is no way to force reinstall? srhb:?
<srhb> rcshm: There _is_ (sort of) but it's unlikely to do anything. The thing about reproducibility is that if it works, it'll work even when you "reinstall". If it's broken, it'll be broken even if you "reinstall"
<srhb> rcshm: I would guess your problem lies elsewhere, perhaps in local config or environment variables.
<srhb> rcshm: If repair-path hasn't fixed anything, "reinstalling" won't either.
jb55 has joined #nixos
<rcshm> it worked before and it just happened after restart.
<rcshm> what should i do then?
<srhb> rcshm: I would try launching it from a clean environment, with any local configuration in your homedir moved out of the way.
<rcshm> which file is that? i am sorry i am just not used to this yet.
<srhb> rcshm: I don't know, I don't know how VSCode works specifically :)
<srhb> This is just general advice for "my store seems fine and consistent, but suddenly my application is failing"
<srhb> That generally means the problem is outside Nix.
<{^_^}> [nixpkgs] @johanot opened pull request #56356 → certmgr: 1.6.1 -> 1.6.4 → https://git.io/fhbS4
<adamt> rcshm: Any change you switched your system before rebooting?
<rcshm> but the file not found is in the stor right?
<rcshm> no.
shibboleth has joined #nixos
IRCsum has quit [Remote host closed the connection]
<srhb> rcshm: It should be. is it not?
fendor has joined #nixos
IRCsum has joined #nixos
domogled has quit [Ping timeout: 255 seconds]
<adamt> rcshm: How did you install vscode?
dminuoso has left #nixos ["WeeChat 2.2"]
drakonis has joined #nixos
<rcshm> in nixos configuration.
<rcshm> as the system pacakge.
ibrahims has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.2]
<srhb> rcshm: Can you double check whether that path exists?
<srhb> If it does not, you've hit a weird bug with repair-path
<rcshm> let me check.
<srhb> (Unless it actually gave you an error when you tried)
ckauhaus has joined #nixos
pinkypie has quit [Ping timeout: 268 seconds]
<rcshm> line 35 points to ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "--skip-getting-started" "$@"
<adamt> Oh, I thought it came from some 3rd party, since a search for vscode doesn't give anything meaningful here: https://nixos.org/nixos/packages.html#vscode
<srhb> adamt: It's probably unfree.
<adamt> srhb: D'oh.
ckauhaus has quit [Client Quit]
IRCsum has quit [Remote host closed the connection]
ckauhaus has joined #nixos
<srhb> rcshm: Does this command succeed? stat /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1/lib/vscode/code
<rcshm> yes
<{^_^}> [nixpkgs] @andir merged pull request #56353 → buildRustCrate: adding the description field → https://git.io/fhbDn
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fhbSy
<srhb> That was the path it was complaining about, right?
<rcshm> Size: 81445432 Blocks: 159080 IO Block: 4096 regular file
<rcshm> Device: 801h/2049d Inode: 5716102 Links: 1
<srhb> So it does exist.
IRCsum has joined #nixos
ibrahims has quit [Ping timeout: 250 seconds]
IRCsum has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/94b64c27b19 (from 39 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ddellacosta has joined #nixos
IRCsum has joined #nixos
<srhb> rcshm: Are you on some architecture other than x86_64-linux? Have you messed with your LD vars somehow?
<rcshm> not really.
<rcshm> i am just using it for code dev and not messing with anything at all.
<srhb> rcshm: How exactly are you trying to launch code?
<rcshm> command code .
<rcshm> that launches it in the current dir.
<ddellacosta> hello, I'm having trouble with some QT5 apps picking up icons--dolphin and okular for example simply have no app icons, whereas keepassxc (which also uses QT5) is fine. When I do an strace I see that the only icon folder those apps are looking in is hicolor, even though breeze icons are present and otherwise they appear to be using that theme. Anyone know what this may be?
<nand0p> https://github.com/NixOS/nixpkgs/pull/55422 looks like this was approved yesterday.... anything i need to do to request a merge?
<{^_^}> #55422 (by nand0p, 2 weeks ago, open): ethminer: init at 0.18.0-alpha.3
<samueldr> ddellacosta: I can't help much more, but check either of XDG_CURRENT_DESKTOP or QT_QPA_PLATFORMTHEME
reinhardt has joined #nixos
<ddellacosta> samueldr: thanks--I don't see either of those set, what values should those be, or where can I read up more on those?
<adamt> rcshm / srhb: I just verified locally that it seems to work fine when launching it here, so whatever is meant to be in the nix store for vscode does work
<srhb> adamt: Thanks.
<srhb> I'm pretty sure it's some environment issue, but I can't thinkof anything in specific.
<samueldr> ddellacosta: not sure exactly, but google around for what they mean, I think they're somehow relevant, but I'm not sure which is, and how it will be
knupfer has joined #nixos
<ddellacosta> ah yeah, looks like the Arch linux wiki may have some related tips. Thanks samueldr !
<{^_^}> [nixpkgs] @asymmetric opened pull request #56365 → solc: 0.5.3 -> 0.5.4 → https://git.io/fhbSp
domogled has joined #nixos
<ddellacosta> samueldr: in case you wanted the "why" for the specific variables you gave me: https://wiki.archlinux.org/index.php/Qt#Configuration_of_Qt5_apps_under_environments_other_than_KDE_Plasma
<Taneb> samueldr: am I right in thinking today's the nixos-19.03 feature freeze day?
<srhb> Ack, there's a few impurities in it that might be the cause..
<ddellacosta> not that I've gotten any of these to work yet :-/
<rcshm> is there a way to clean install this?
<samueldr> it should be, I guess sphalerite will be looking at it once the work day over?
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
<rcshm> adamt / srgb:?
<sphalerite> samueldr: hm? me?
<samueldr> sphalerite: yeah, today's the 25th
<srhb> rcshm: Sure, remove it from your systemPackages, rebuild, then use nix-store --delete /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1, then add it back. But it is unlikely to change anything.
<srhb> If it _does_ change anything, it's a bug
<sphalerite> yep
<sphalerite> oh right the question was if feature freeze is today
<rcshm> let me try.
<samueldr> >> This year, we’re aiming for a feature freeze and branch-off on the 25th of February in order to get a release* within March.
<rcshm> it says cannot delete path '/nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1' since it is still alive
<rcshm> srhb:
<etu> What's the best practice for migrating the /nix folder to a new partition? It's on my / partition today.
ibrahims has joined #nixos
erasmas has joined #nixos
<srhb> rcshm: nix-store --query --roots /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1
<srhb> rcshm: That should tell you about all the roots keeping it alive
<srhb> rcshm: Don't blindly delete them all though, some of them might be important generations.
ddellacosta has quit [Quit: WeeChat 2.2]
<clever> srhb: nix-store --verify-path can test it for corruption
<clever> if its not corrupt, then there is zero point in deleting and re-downloading
<clever> --repair-path can aldo delete&redownload, while rooted
<srhb> It's already verified and repaired, so this is supposed to be an exercise in futility. :-)
<sphalerite> yeah I'll be doing the stuff in a few hours, I've been looking through what's in the milestone
<srhb> The only thing I can think of is some weird loader shenanigans.. Or an impurity.
xkapastel has joined #nixos
<rcshm> srhb: it comes up /nix/var/nix/profiles/per-user/va/profile-11-link
<srhb> rcshm: Sounds like you also installed it as your user then
<rcshm> and a few lines like that. how could i know which?
<srhb> rcshm: (Using nix-env, probably)
<rcshm> yes
<rcshm> i tried it after it got corrupted.
mbrgm has joined #nixos
<rcshm> i took it out of the configuration.nix and tried nixenv
<rcshm> but took it out again.
ibrahims has quit [Ping timeout: 244 seconds]
<srhb> I still don't believe it's really corrupted. But you'll have to get rid of the generations that reference it in order to be able to garbage collect it.
ym555 has joined #nixos
<srhb> rcshm: See `man nix-env` and the section about --delete-generations for details.
ramses_ has quit [Ping timeout: 256 seconds]
<rcshm> let me check
<averell> aww man, tensorflow release will be like tomorrow. it's already committed but no binary release :/
<{^_^}> [nixpkgs] @dtzWill merged pull request #56264 → creep: init at 0.31 → https://git.io/fhbmO
<{^_^}> [nixpkgs] @dtzWill pushed commit from @buffet to master « creep: init at 0.31 (#56264) »: https://git.io/fhb9l
lfish has quit [Ping timeout: 256 seconds]
moet has joined #nixos
reinhardt has quit [Quit: Leaving]
<rcshm> srhb: i deleted 10 generations and it is still not able to delete
<clever> rcshm: what does --query --roots report?
stepcut has quit [Remote host closed the connection]
rain1 has left #nixos ["WeeChat 1.6"]
<rcshm> with another 6 links
wfranzini has quit [Remote host closed the connection]
stepcut has joined #nixos
<rcshm> it has something like /nix/var/nix/profiles/per-user/va/profile-11-link
<srhb> rcshm: There must be zero roots left before you can delete it.
<mdash> rcshm: user profiles have generations too, that's going to be things added with `nix-env -i`
stepcut has quit [Remote host closed the connection]
<clever> `nix-env --delete-generations 11` as the user `va` will get rid of the above one
stepcut has joined #nixos
<rcshm> let me try that
stepcut has quit [Remote host closed the connection]
ibrahims has joined #nixos
<rcshm> now it is left with /nix/var/nix/profiles/system-35-link
<rcshm> 32, 33 also
<clever> nix-env --profile /nix/var/nix/profiles/system/ --delete-generations 32 33 35
<clever> oops, one too many /'s
<clever> nix-env --profile /nix/var/nix/profiles/system --delete-generations 32 33 35
<rcshm> now it has /run/booted-system
<clever> you must reboot to clear that root
<rcshm> and {memory:163}
<rcshm> ok let me reboot it.
stepcut has joined #nixos
ibrahims has quit [Ping timeout: 250 seconds]
dcol has joined #nixos
<Taneb> Is there a way to express a function type with lib.types?
<rcshm> rebooted and query came up blank now. but i still can't delete it.
<dcol> yo, anyone know how to add a bridge to a NixOps VM deployment .nix?
<rcshm> cannot delete path '/nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1' since it is still alive
ibrahims has joined #nixos
neminis has quit [Quit: WeeChat 2.2]
<clever> rcshm: did you use sudo?
<rcshm> yes
<clever> rcshm: then sudo is "using" vscode, so it cant be deleted
<clever> dont use sudo with nix-store --delete
<rcshm> sudo nix-store --delete /nix/store/fpzpv94smsskgb11id4rwm79n51kr1s0-vscode-1.31.1
<rcshm> ok
xeji has joined #nixos
<rcshm> without sudo it went thru
kenshinCH has joined #nixos
<clever> and now the path should be totally gone
ibrahims has quit [Ping timeout: 246 seconds]
<kreisys> I just updated my nix channels and now there's no binary cache version of cachix; it therefore tries to build it and fails. this got me pondering about how nix channels actually work? I thought that the whole point is to not allow the channel to advance if packages are broken? what's the correct way to handle a situation where a channel update breaks packages I use? just revert the update and wait until it's fixed? use a
<kreisys> pinned version of nixpkgs just for that package? am I missing something obvious?
<rcshm> thanks clever, srhb and adamt:
<rcshm> now it works!
<clever> kreisys: cachix isnt part of the tested job, so the channel only requires that hydra has tried to build it
<kreisys> oic
<kreisys> so the only way to keep my system up-to-date is to have my own hydra infrastructure that tests my system build and produces its own channel?
<srhb> rcshm:That's worrying. :/
drakonis has quit [Quit: WeeChat 2.3]
<clever> kreisys: anything that can build to completion, will be in the cache, anything that fails to build, will also fail for you
Neo-- has joined #nixos
Kakky has joined #nixos
<kreisys> yeah when anything starts building I assume it's going to fail
knupfer has quit [Ping timeout: 264 seconds]
<clever> kreisys: it can also be unfree software, that hydra isnt allowed to cache
<clever> oddly, the nas passes on 1809, and the router passes on unstable, but neither is passing on both!
JonReed has joined #nixos
<kreisys> clever: cool that means I'm on the right track. ty!
<JonReed> Is there a way to catch any errors, including infinite recursion? `let f = f; in tryEval f` will throw an error
ThatDocsLady has quit [Ping timeout: 245 seconds]
danielrf has joined #nixos
shpx has quit [Quit: shpx]
Ariakenom has quit [Ping timeout: 245 seconds]
Thra11 has joined #nixos
moet has quit [Ping timeout: 250 seconds]
shpx has joined #nixos
ibrahims has joined #nixos
kenshinCH has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @tokudan opened pull request #56374 → Issue 56366 → https://git.io/fhbH7
arjen-jonathan has quit [Ping timeout: 264 seconds]
ibrahims has quit [Ping timeout: 246 seconds]
winem_ has quit [Ping timeout: 245 seconds]
elgoosy has quit [Remote host closed the connection]
Guest46237 has joined #nixos
<Guest46237> Hello is anyone there?
ddellacosta has joined #nixos
Guest46237 has quit [Client Quit]
johanot has quit [Quit: WeeChat 2.2]
johanot has joined #nixos
wolfmantjg123 has joined #nixos
<{^_^}> [nix] @pradd opened pull request #2703 → Support parameters in S3 URLs → https://git.io/fhbQI
JosW has joined #nixos
nuh^ has quit []
<wolfmantjg123> Hi there guys, I’m having problems installing nixos
sigmundv__ has quit [Ping timeout: 245 seconds]
<mdash> wolfmantjg123: hi
<{^_^}> [nixpkgs] @tokudan opened pull request #56375 → wget: 1.19.5 -> 1.20.1 → https://git.io/fhbQq
juliendehos has quit [Quit: Leaving]
<wolfmantjg123> Mdash hello there, I’ve been trying to install nixos from a usb. But I cannot figure out how to install with the command line.
<mdash> wolfmantjg123: ok. did you read the install instructions in the nixos maual?
<mdash> wolfmantjg123: short version is "mount your install root as /mnt, write /mnt/etc/nixos/configuration.nix, run nixos-install"
<wolfmantjg123> Yes and I am having problems with the partitioning and formatting
<mdash> ok. i usually use cfdisk for that
metastance has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #25655 → buildRebar3 and buildMix depend less on hex registry → https://git.io/v9ibH
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbQi
<wolfmantjg123> How about gparted?
zenobit has quit [Quit: Page closed]
<wolfmantjg123> I’m going to try again I’ll let you guys know where I get stuck, this is very frustrating
<mdash> i've used gparted before, but only from a gparted rescue disk
<wolfmantjg123> Is it normal to struggle installing this distro, so far I haven’t been able to install nixos.
nSeagull has joined #nixos
<emily> if you're inexperienced with manually installing linux, then certainly
<JonReed> wolfmantjg123: For me it's the easiest distro to install normally, because once you know what you're doing, everything is/should be reproducible from configuration.nix and it's easy to debug it.
NickSeagull has quit [Ping timeout: 246 seconds]
<mdash> yeah, i would say nixos may be one of the hardest to install 1 time, but the easiest to install 10 times :)
<{^_^}> [nixpkgs] @artemist opened pull request #56376 → git: 2.19.2 -> 2.21.0 → https://git.io/fhbQF
<wolfmantjg123> JonReed yes I see the benefits of this distro, will save me from nasty problems down the road, but installing it is painful, I guess I need to get better at the command line.
<mdash> the problem is that you have to know (some of) what you want before you can do anything at all.
<goibhniu> wolfmantjg123: you do need to be comfortable working on the command line, editing text files, and understanding that you'll get an error if you are e.g. missing a semi-colon.
<goibhniu> ^understanding^understand
<clever> in my case, having come from gentoo and LFS, nixos was trivial to install
<wolfmantjg123> I copied exactly what is in the documentation and it didn’t work, am I missing something.
<JonReed> wolfmantjg123: What doesn't work specifically? What partitions did you create?
arjen-jonathan has joined #nixos
Kakky has quit [Quit: Leaving]
<betawaffle> how does nixos know what package a missing command comes from?
<betawaffle> the whole "You can install it by typing one of the following:" thing
<tilpner> betawaffle: Hydra builds an index that ships with the channel
<betawaffle> fancy
<betawaffle> can i query something to find out what binaries are part of a package?
<wolfmantjg123> I’m fixing my usb and putting nixos again, is it fine if I use etcher to make it bootable?
<clever> betawaffle: you can install nix-index, and then use nix-locate to search it
<{^_^}> [nixpkgs] @LnL7 opened pull request #56377 → nixos-rebuild: add changelog/docs for edit subcommand → https://git.io/fhb7e
<tilpner> betawaffle: Do you want to find the package for a binary, or the other way around?
<betawaffle> tilpner: other way around
<clever> wolfmantjg123: the iso is already bootable on usb, just dd it directly to the device
<tilpner> betawaffle: Just fetch it and list $out/bin?
<betawaffle> what's the command for that? i'm still pretty unfamiliar with nix
<wolfmantjg123> How long does it take to zero a 32 gb usb, it’s taking forever
<clever> betawaffle: nix-build '<nixpkgs>' -A hello ; ls -l result/bin/
<goibhniu> wolfmantjg123: it might also be a good idea to use the nix package manager on a distro you're familiar with for a while first
<clever> wolfmantjg123: you dont have to zero the usb before writing the image
<tilpner> betawaffle: find $(nix-build --no-out-link '<nixpkgs>' -A goxel)/bin -executable -type f
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56284 → libglvnd: fix darwin → https://git.io/fhbnN
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fhb7U
<betawaffle> tilpner: thanks, that worked
<wolfmantjg123> Once I get nixos is installed is it a little easier from there. Because all those features seem very useful.
<betawaffle> is there an equivalent to `nix-env -q` for "system" packages?
<clever> betawaffle: one min
<tilpner> nixos-option environment.systemPackages
<tilpner> Not very readable, clever will probably do pretty printing :)
<betawaffle> that's surprisingly slow. what does that command have to do?
<tilpner> It evaluates your entire NixOS configuration
wfranzini has joined #nixos
<clever> betawaffle: [root@amd-nixos:~]$ nix-instantiate --eval -E 'let pkgs = import <nixpkgs> {}; eval = import <nixpkgs/nixos> {}; in pkgs.lib.concatStringsSep ", " (map (x: x.name) eval.config.environment.systemPackages)'
<tilpner> (Or, well, parts of it)
<betawaffle> clever: much faster!
<betawaffle> but there are a lot of "shadow-4.6" entries
wolfmantjg123 has quit [Quit: Mutter: www.mutterirc.com]
<clever> i see the same, /nix/store/0264n0mp2z891f3spwnl3fi9b65bk8q6-shadow-4.6, /nix/store/0264n0mp2z891f3spwnl3fi9b65bk8q6-shadow-4.6
<tilpner> 'with import <nixpkgs/nixos> {}; with pkgs.lib; concatStringsSep ", " (unique (map (x: x.name) eval.config.environment.systemPackages))'
<clever> looks like the same package is listed a dozen times
wolfmantjg123 has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
<tilpner> Anyone familiar with buildPythonPackage? I get "Could not find a version that satisfies the requirement logbook (from matrix-nio==0.1) (from versions: )" even though python3Packages.Logbook is in propagatedBuildInputs
<wolfmantjg123> Any tips on how to fix a messed up usb
<symphorien> Maybe Logbook and logbook are distinct packages ?
<tilpner> symphorien: They both are used with "import logbook"
<tilpner> Well, "both". I don't think there are multiple
<goibhniu> wolfmantjg123: what problem are you facing?
<tilpner> And other packages that depend on python3Packages.Logbook have it lowercase as well: https://github.com/getnikola/nikola/blob/master/requirements.txt#L12
Ariakenom has joined #nixos
sam_d has quit [Read error: Connection reset by peer]
sam_d has joined #nixos
ayerhart has quit [Ping timeout: 258 seconds]
<samrose> Is there a solution to this rust build sourceRoot issue: https://github.com/moretea/nixos-rust-platform-sourceroot-issue#for-rust_subdirlog ?
<samrose> MoreTea: were you ever able to resolve that?
<wolfmantjg123> Goibhnui well I put nixos on a bootable usb, after three hours of trying to install it yesterday I gave up and went to ubuntu, for some reason the usb is not recognized, I just finished zeroing it out, let’s see if I can reformat it
sam_d has quit [Read error: Connection reset by peer]
freeman42x has joined #nixos
<JonReed> wolfmantjg123: I used to try things in a VM like VirtualBox. The feedback cycle is faster this way. For example you can create a disk there and then you can boot the installer `.iso`, you can also even create a disk for USB to test if you're creating a live USB correctly.
sam_d has joined #nixos
<JonReed> Also, snapshots make it faster.
<wolfmantjg123> JonReed: that sounds great, I think I’ll give that a try before trying it on hardware again
<samrose> I am also noting a long time ago domenkozar wrote https://github.com/NixOS/nixpkgs/issues/14277#issuecomment-202585175 I guess this is a preConfigure thing?
arjen-jonathan has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @pSub merged pull request #56351 → pugixml: always include pkgconfig file → https://git.io/fhbMa
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhb7p
johanot has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @hedning merged pull request #56346 → gnome3.gnome-desktop: fix thumbnailing with missing fontconfig cache → https://git.io/fhb13
<{^_^}> [nixpkgs] @hedning pushed to master « gnome3.gnome-desktop: fix thumbnailing with missing fontconfig cache (#56346) »: https://git.io/fhb7j
agander has joined #nixos
agander has quit [Client Quit]
agander has joined #nixos
wolfmantjg123 has quit [Remote host closed the connection]
<samrose> I see, it is a preconfigure thing
<{^_^}> [nixpkgs] @srhb merged pull request #56356 → certmgr: 1.6.1 -> 1.6.4 → https://git.io/fhbS4
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhb5t
agander has quit [Client Quit]
agander has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
wolfmantjg123 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #56379 → phpPackages.sqlsrv & phpPackages.pdo_sqlsrv: init at 5.6.0 → https://git.io/fhb53
wfranzini has quit [Remote host closed the connection]
<tilpner> symphorien: It happends with every dependency, if I start to patch out parts of install_requires
<tilpner> Uhh, never mind me
metastance has quit [Quit: WeeChat 2.4]
MichaelRaskin has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
stepcut_ has joined #nixos
wolfmantjg123 has quit [Remote host closed the connection]
wolfmantjg123 has joined #nixos
<wolfmantjg123> Anybody here good at installing nixos from usb, I am going to need someone to guide me?
<aanderse> if you have specific questions just post :)
<wolfmantjg123> Ok
<samrose> wolfmantjg123: yes post your questions, I am sure many of us can help
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @boj closed pull request #46138 → habitat: 0.32.2 -> 0.62.0 → https://git.io/fAErv
kreisys has joined #nixos
<LnL> have you seen the installation section in the manual? that should get you started, but if you have any specific questions ask away :)
<wolfmantjg123> LnL: I haven’t been able to install it using the manual, so I’ll post where I get stuck.
infandum has joined #nixos
<infandum> I'm trying to run taffybar in stable. It installs fine, but running it gives the following error: libgtk-3.so.0: cannot open shared object file: No such file or directory
<srhb> infandum: Hmm, that change shouldn't have made it into stable I thimk...
<srhb> infandum: But it does sound like the gtk bug.
infandum has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mtrsk opened pull request #56382 → Added jq to playonlinux deps → https://git.io/fhb52
infandum has joined #nixos
<infandum> I added (taffybar.override { packages = with haskellPackages; (x: [pkgs.gtk3 aeson lens-aeson req]);}) to make it find gtk3, but that still did not work
<infandum>
<srhb> infandum: How are you running it?
kisik21 has joined #nixos
tilpner has quit [Quit: WeeChat 2.4]
<joko> Hey, if I use patchelf --shrink-rpath on a precompiled binary, the binary is not working anymore, is there a workaround?
<infandum> srhb: taffybar
<infandum> srhb: from /run/current-system/sw/bin/taffybar
<wolfmantjg123> I’m about to try installing nixos again, do I type exactly what is on the manual?
<srhb> wolfmantjg123: No, it's mostly a bunch of examples and you have to decide yourself on what to do on a number of points.
hyperfekt has joined #nixos
<srhb> wolfmantjg123: If a point is unclear, do ask.
orivej has quit [Ping timeout: 240 seconds]
<wolfmantjg123> srhb: ok, for the uefi(gpt) section of the manual do I copy the text exactly or make some changes
<wolfmantjg123> ?
<infandum> Running ldd on what taffybar points to, grepping for libgtk, I get libgtk-3.so.0 => /nix/store/im3dqhs1mif1jdkpvf0lk7dgrfm2jl7b-gtk+3-3.22.30/lib/libgtk-3.so.0 (0x00007f322a58a000)
<infandum> So it looks like it is present
<wolfmantjg123> Section 2.2.1 uefi(gpt)
<aanderse> wolfmantjg123: you're going to need to decide how you want to partition your disk(s) and have your commands based on that
<hyperfekt> Does anyone know if there is any other way to set the active nixpkgs beyond nix.nixPath? I'm trying to extend the nixpkgs I get via the channel system without having to build my own nix-channel.
orivej has joined #nixos
<wolfmantjg123> aanderse: I have no idea that’s why I came here, so the manual is just a reference?
<srhb> wolfmantjg123: That section is workable as-is iff you agree with that partition layout.
<aanderse> wolfmantjg123: have you ever installed a linux os before where you didn't use a graphical partition manager?
<srhb> And if you're booted in efi mode already.
<{^_^}> [nixpkgs] @FRidh merged pull request #56382 → Added jq to playonlinux deps → https://git.io/fhb52
<{^_^}> [nixpkgs] @FRidh pushed commit from @mtrsk to master « Added jq to playonlinux deps »: https://git.io/fhb5H
arjen-jonathan has joined #nixos
<srhb> wolfmantjg123: (and if sda is the disk you want to nuke and use...)
<wolfmantjg123> srhb: well isn’t sda the usb?
<srhb> wolfmantjg123: I don't know, you can use lsblk or mount to check, for instance
<srhb> wolfmantjg123: iirc it was sdb on my last install, but I don't think there's any guarantee of that, really.
ym555 has quit [Ping timeout: 268 seconds]
<srhb> wolfmantjg123: (You could have other disks, too!)
<aanderse> wolfmantjg123: the installer also has gparted right on the desktop as a shortcut
<aanderse> so you could open up gparted and you will probably know exactly what is what pretty quick
<srhb> That's good advice :)
kisik21 has quit [Remote host closed the connection]
<yl[m]> I need help deciding something: At work, I'm currently installing Nix in multi-user mode for all machines. It works well, but there are a few issues: a) I hit the https://github.com/NixOS/nix/issues/2523 and had to workaround it b) I hit https://github.com/NixOS/nix/issues/1759 which lead me to believe that a large configuration will eventually break. What would be the cons of moving to single user installation?
<{^_^}> nix#2523 (by periklis, 15 weeks ago, open): darwin: nix-daemon crashes due to OBJC_DISABLE_INITIALIZE_FORK_SAFETY
<{^_^}> nix#1759 (by muji786, 1 year ago, closed): Nix on Mac OS 10.13.2
<wolfmantjg123> Sda is the usb and nvme0n1 is my hardware, so I’m guessing nvme0n1 instead of sda
<wolfmantjg123> ?
<srhb> wolfmantjg123: Sounds likely.
<aanderse> wolfmantjg123: ohh you have one of those fun new hard drives! exciting!
<aanderse> wolfmantjg123: yes, definitely
orivej has quit [Ping timeout: 240 seconds]
<wolfmantjg123> aanderse: System76
<srhb> wolfmantjg123: And this is exactly the kind of thought process you will have to apply to fit the manual to your needs. :)
hamishmack has joined #nixos
<wolfmantjg123> srhb: I hope all this effort is worth it, Ubuntu is much easier to install
<srhb> wolfmantjg123: Depends on your temperament. Definitely worth it for me..
<simpson> wolfmantjg123: There's no shame in preferring Ubuntu.
<srhb> wolfmantjg123: example 2.3 is really great for getting a high level overview of what installation entails (minus partitioning)
<ryantm> yl[m]: I believe people tried to make multi-user mode the default on MacOS but had to roll it back, probably because of issues like this. Cons of single user installation: harder to enforce sandboxed builds, can't have two users on the same computer using nix
<srhb> wolfmantjg123: It is basically a birds-eye view of the whole process.
<srhb> So, if you ignore that the `nano [...]` line contains a bunch of customization, it's really not a lot of steps :)
<yl[m]> ryantm: sandbox is not enabled by default on Darwin anyway. I do not see a case where laptops will be shared by multiple users at the company. I think that I'll be fine then, right?
zenobit has joined #nixos
<ryantm> yl[m]: I think so.
<yl[m]> ryantm: is the sandbox enabled by default on linux non-nixos machines? Say Ubuntu?
<adamt> wolfmantjg123: The period in my life were i learned the most about Linux, was when I installed and maintained a Gentoo setup. If you want to learn Linux, I'm sure NixOS can do something similar for you.
<ryantm> yl[m]: You get sandboxed builds with multi-user Nix because the nix-daemon requires it (I think)
<MichaelRaskin> Daemon can run without full sandboxing
<MichaelRaskin> The notion of default is complicated because some ways of installation override source code defaults… by default
<yl[m]> I think I'm just going to have to test my bootstrap script for the mono-repo on NixOS/Darwin/Ubuntu to make sure single user is feasable
<wolfmantjg123> adamt: ok here it goes, hope I don’t jack up my laptop
<yl[m]> MichaelRaskin: by default I mean `sh <(curl https://nixos.org/nix/install)`
<MichaelRaskin> As for learning Linux — NixOS allows avoiding learning some core stuff by providing a different and consistent way to configure it via configuratoin.nix…
<yl[m]> MichaelRaskin: most of my co-workers use nix-shell only (through direnv) they don't even change any of the installation
kisik21 has joined #nixos
<MichaelRaskin> I think it sets sandbox=false
magnetophon has quit [Remote host closed the connection]
<yl[m]> cool, I'll test it out
<yl[m]> thank
ddellacosta has joined #nixos
<infandum> Ah, the issue was it was getting a previous build from .cache
<infandum> deleting taffybar from .cache fixed it
<wolfmantjg123> My laptop has 1 terabyte, so will the commands from the manual work fine?
magnetophon has joined #nixos
<yl[m]> ryantm: any way to convert multi-user to single-user or should I provide my co-workers with a script to fully uninstall the multi-user and install again?
<srhb> wolfmantjg123: Which ones are you considering exactly?
infandum has quit [Remote host closed the connection]
<srhb> wolfmantjg123: (Again, the eventual layout is up to you, within certain constraints. The manual gives some decentish minimums)
fusion809 has quit [Remote host closed the connection]
moet has joined #nixos
<LnL> yl[m]: it needs a bit of configuration, but you can convert an existing installation
<yl[m]> LnL: good to hear. Any guides I can follow?
<wolfmantjg123> srhb: I’m using a System76 galago pro with 1 terabyte. I want to put nixos on all of my hardware. Just sure how to change the commands on the nixos manual for this?
<MichaelRaskin> Maybe provide them with a script that enables sandbox in multi-user mode?
<srhb> wolfmantjg123: Try reading point 2) of 2.2.1 carefully
<wolfmantjg123> Any tips would be helpful, thanks guys
Melkor333 has quit [Quit: WeeChat 2.4]
<aanderse> wolfmantjg123: have you ever used gparted before?
<yl[m]> MichaelRaskin: sandbox won't help me in this case. Right now I have about 20 people with Nix installed, soon will have over a 100 and I want to make sure that I have least maintenance possible scenario
<wolfmantjg123> aanderse: no will it be easier than the terminal?
<LnL> yl[m]: it the daemon runs it will chown the store so make sure to remove/disable it
<betawaffle> is it possible to prevent a particular kernel module from being loaded, even manually? what nixos option does that?
<ixxie> how do I search proprietary packages in nix 2.0?
<aanderse> wolfmantjg123: if you've never done hard drive partitioning from the terminal before then i believe it will be easier for you, yes
<samueldr> ixxie: the same rules as before applies
<LnL> yl[m]: what remains is removing build-users-group in nix.conf and chown -R /nix
<ixxie> samueldr: wasn't there a search command added?
zenobit has quit [Ping timeout: 256 seconds]
<samueldr> ixxie: yes
<yl[m]> LnL: if I understand correctly: a) remove the daemon and delete the launchdaemon plist b) remove teh build-user-group from nix.conf c) chown the store to the current user d) test with nix-shell
<yl[m]> LnL: I'll test it out, thanks!
<ixxie> samueldr: hmmm doesn't seem to have an unfree flag
<LnL> yl[m]: you'll also want to sudo launchctl remove org.nixos.nix-daemon to unload the service
<LnL> but yeah, I think that's about it
<samueldr> ixxie: like nix-env, it'll have to be enabled in the _user's_ configuration
<samueldr> ixxie: or using the environment variable
<yl[m]> LnL: yea that's what I meant by `remove the daemon`. Thanks!
<samueldr> ixxie: do note that `nix search` caches the results, so use `-u` to refresh the cache
<LnL> yl[m]: the layout of profiles will be slightly different, but that's probably not important
<yl[m]> LnL: as long as it works correctly, it will be fine. If it's too complex, I'll just fully uninstall and install again
<wolfmantjg123> Hey guys I’m using a System76 galago pro with 1 terabytes, I would like to use all of the hardware for nixos. Any tips?
<{^_^}> [nixos-weekly] @florianjacob opened pull request #84 → nixos/printers: declarative configuration → https://git.io/fhbdq
<wolfmantjg123> How would I change the manuals commands for this?
<wolfmantjg123> ?
<LnL> yl[m]: they will still have a separate default and per-user profile, but that won't interfere with anything
<betawaffle> wolfmantjg123: is there something wrong with the commands in the manual?
<wolfmantjg123> Typo 1 terabyte
<samueldr> wolfmantjg123: the (example) partitioning commands use relative units so the main partition will fill the disk
<wolfmantjg123> betawaffle: I just want to make sure I don’t mess anything up like last time
<betawaffle> what happened last time?
<JonReed> wolfmantjg123: As the manual says the command will fill create a partition which will fully fill the disk (all 1tb) expect for 512 mb in the front and 8gb in the back `parted /dev/sda -- mkpart primary 512MiB -8GiB`
<samueldr> so, in 2.2.1 it creates a scheme looking like [3: 512MiB (ESP)][1: rest (root)][2: 8GiB (swap)]
<JonReed> wolfmantjg123: You'll have to decide how much swap out of 1TB disk you want (if any).
<betawaffle> how much ram do you have?
<wolfmantjg123> betawaffle: i had to fix my usb after giving up yesterday, zeroing it out and reformatting it takes forever
<JonReed> wolfmantjg123: 512mb is enough for boot, so you can leave that as it is
<clever> wolfmantjg123: you dont need to zero or format the USB, writing the disk image is enough
<wolfmantjg123> samueldr: JonReed ok guys I’m going to give it a go again, thanks for the tips.
<samueldr> wolfmantjg123: I think I have a suspicion
<samueldr> wolfmantjg123: which system76 laptop?
<samueldr> does it have nvme?
<samueldr> if it does, it won't be /dev/sdX
<wolfmantjg123> clever: well fixed it somehow
<samueldr> and if you used the (only) /dev/sdX, you might have clobbered your usb drive
<samueldr> (I'm guessing in the dark here)
<aanderse> samueldr: he did mention the nvme device
<wolfmantjg123> samueldr: System76 galago pro, 1 terabyte, and its using nvme0n1
<samueldr> oh, right, then sorry :) looks like that's not it
<samueldr> (I assumed so because of what you said about the usb drive)
<JonReed> wolfmantjg123: Next time, you can zero the beginning sectors and the end on usb using `dd`, like 1-10MB from each side. There is no reason usually to zero the whole drive and wait for it.
ikitat has quit [Ping timeout: 250 seconds]
dminuoso has joined #nixos
<wolfmantjg123> samueldr: lsblsk just shows loop0 , sda, and nvme0n1 , so I think I need to use nvme0n1 for the manual?
<wolfmantjg123> Right?
<betawaffle> wolfmantjg123: yes
ikitat has joined #nixos
tmaekawa has joined #nixos
<wolfmantjg123> betawaffle: ok thanks, I’m going to start typing commands, I’ll let you guys know when I get stuck
tmaekawa has quit [Client Quit]
wedens has quit [Quit: Connection closed for inactivity]
<wolfmantjg123> JonReed: ok thanks for the tip, what would be the command to do that because I have to zero three more usbs that I messed up
<lejonet> How do I use fetchgitPrivate? (using fetchgitPrivate says it doesn't exist, but I can find fetchgit/private.nix in the nixpkg pointed to by NIX_PATH
<lejonet> is it just using fetchgit and not prefixing the url with like http:// or ssh://?
xkapastel has joined #nixos
<adamt> lejonet: What about just regular fetchgit (either one of them)?
<lejonet> adamt: I tried giving it a ssh:// url and it didn't like me, it tried using the repository owner as a port... (because : delimits stuff for SSH git)
<lejonet> throwing ssh:// away seems to make it like me better
<sphalerite> lejonet: yeah I'd say "don't"
<sphalerite> just use builtins.fetchGit instead
<sphalerite> it has nice caching and stuff and is much less weird
<lejonet> I'm guessing fetchgit != fetchGit
<clever> lejonet: builtins.fetchGit "ssh://user@host/path/to/repo"
sigmundv__ has joined #nixos
<lejonet> ah its a builtin
ym555 has joined #nixos
<adamt> lejonet: Yeah, it's two different ones.
<lejonet> thats not at all confusing...
<ixxie> thanks samueldr
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
kisik21 has quit [Read error: Connection reset by peer]
arjen-jonathan has quit [Ping timeout: 258 seconds]
sigmundv has quit [Ping timeout: 255 seconds]
tilpner has joined #nixos
<wolfmantjg123> parted /dev/nvme0n1 — mklabel gpt Command throws an error
<wolfmantjg123> ?
<lejonet> sphalerite: Sooo, is there any good docs for it?
<clever> wolfmantjg123: what error does it throw??
<wolfmantjg123> This is from nixos manual 2.2.1
<clever> wolfmantjg123: what error did it print?
<{^_^}> [nixpkgs] @smaret opened pull request #56383 → pythonPackages.spectral-cube: 0.4.3 -> 0.4.4 → https://git.io/fhbdw
Glider_IRC_ has joined #nixos
<lejonet> sphalerite: thanks, was looking in the wrong manual... as usual lol
<wolfmantjg123> clever: it threw a massive error, apply commands with parameters to device. If no commands are given run in interactive mode
tilpner has quit [Remote host closed the connection]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> wolfmantjg123: can you pastebin the entire output, including the command you ran?
tilpner has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cedd8bfa0e5 (from 58 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kreisys has joined #nixos
<wolfmantjg123> clever: is there a website where I can paste it because I’m booted in usb and I’m using an irc app on my phone
Glider_IRC__ has quit [Ping timeout: 245 seconds]
<clever> ,paste wolfmantjg123
<{^_^}> wolfmantjg123: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<clever> wolfmantjg123: if you have a github account you can also `nix-env -iA nixos.gist` then `gist --login` and then `gist -p file.txt` to upload a file
aanderse_ has joined #nixos
magnetophon has quit [Ping timeout: 264 seconds]
aanderse has quit [Ping timeout: 244 seconds]
<betawaffle> i was gonna ask if there's a pastebin service that can be used from curl
<bsima> betawaffle: i like ix.io
<andi-> nc termbin.com 9999 < file
<betawaffle> both good answers, thanks
nSeagull has quit [Ping timeout: 245 seconds]
johanot has joined #nixos
fendor_ has quit [Ping timeout: 245 seconds]
ibrahims has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #52464 → nixos/fish: generate autocompletions from man pages → https://git.io/fpxdy
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fhbdD
ibrahims has quit [Ping timeout: 246 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<barrucadu> I'm trying to use duplicity to back up to s3, and it's failing with a stacktrace which looks like python 2 and python 3 packages are getting mixed together: https://gist.github.com/barrucadu/be35b8d13a5abb944bbe52a78c7c887a
<{^_^}> [nixpkgs] @pSub pushed to update-groff « groff: 1.22.3 -> 1.22.4 »: https://git.io/fhbdH
_kwstas has joined #nixos
orivej has joined #nixos
<wolfmantjg123> clever: I’m signing into riot irc now, I’ll be using a similar username
wolfmantjg123 has quit [Quit: Mutter: www.mutterirc.com]
agander has quit [Ping timeout: 245 seconds]
<tilpner> barrucadu: Are you just using the nixpkgs package? Did you write anything on your own?
Denommus has joined #nixos
<barrucadu> Just the nixpkgs package
Denommus` has joined #nixos
<barrucadu> I don't have any python-related environment variables set either
NickSeagull has joined #nixos
wolfmantjg1234[m has joined #nixos
<monotux> so I'm trying to make my first nixos package, cherrymusic. how good/bad is this? https://pastebin.com/tdWjHb4F
vk3wtf has quit [Quit: WeeChat 2.3]
<wolfmantjg1234[m> if someone could help me with that error, nixos manual 2.2.1
<wolfmantjg1234[m> ?
<barrucadu> I've added my backup shell script to my gist
<clever> wolfmantjg1234[m: you gave parted 2 devices, you should only give it one device
<averell> i'm getting "warning: dumping very large path (> 256 MiB); this may run out of memory" on every nixos-rebuild, i'm not sure where the large file is being sourced from?
<{^_^}> [nixpkgs] @dtzWill merged pull request #55643 → qtractor: 0.6.7 -> 0.9.4 → https://git.io/fhQDi
<{^_^}> [nixpkgs] @dtzWill pushed to master « qtractor: 0.6.7 -> 0.9.4 (#55643) »: https://git.io/fhbFe
Denommus has quit [Ping timeout: 258 seconds]
<ottidmes> averell: in my experience its caused by an accidental src = ./.; containing more than you intended
moet has quit [Quit: leaving]
<tilpner> barrucadu: I don't know either, that looks fine
<tilpner> (Unless you have overlayed a non-nixpkgs duplicity)
<averell> in my configuration.nix or where?
<barrucadu> Nope
<tilpner> There are also no recent changes to duplicity
<clever> averell: when you run `nixos-rebuild dry-run`, it will give you a .drv file
<clever> averell: hmmm, let me find a full cmd
<clever> [root@system76:~]# du -hc --max=0 $(nix-store -qR $(nix-instantiate '<nixpkgs/nixos>' -A system)) | sort -h | tail
<clever> averell: what does this show near the bottom?
adamt has quit [Ping timeout: 245 seconds]
<ottidmes> barrucadu: instead of stdenv.lib. in meta everywhere, why not do meta = with stdenv.lib; as is commonly done, "${version}" is the same as just version, no period at the end of the description
<barrucadu> tilpner: Oh hang on, it's not duplicity giving that error - it's `time $BACKUP_SCRIPT_DIR/host-scripts/$MY_HOST`. That's a Python script using the shebang "#!/usr/bin/env python3"
<averell> hah. "1.6G /nix/store/cdygjx74xgpra6zbxw9pyqz78l9h7plq-nixpkgs" not sure how i managed that
<ottidmes> whoops, wrong person
<clever> averell: you probably have a ./. or /path/to/nixpkgs that contains a .git
<ottidmes> monotux: some feedback: instead of stdenv.lib. in meta everywhere, why not do meta = with stdenv.lib; as is commonly done, "${version}" is the same as just version, no period at the end of the description
<barrucadu> duplicity is a python2 thing, so I guess the environment variables nix-shell is setting are breaking my python3 script, hmm
<{^_^}> [nixpkgs] @dtzWill merged pull request #55065 → llvm-polly,clang-polly: Add llvm/clang variants w/polly support → https://git.io/fhSLs
<{^_^}> [nixpkgs] @dtzWill pushed to master « llvm-polly,clang-polly: Add llvm/clang variants w/polly support (#55065) »: https://git.io/fhbFI
<averell> well i'm building from a nixpkgs clone, but i'm doing that on other machines too without this problem
<monotux> ottidmes, thanks! I'll update accordingly. still trying to understand how to build this, but just discovered the buildPythonApplication macro which seems fitting
<{^_^}> [nixpkgs] @dtzWill merged pull request #56222 → sqlite{,-analyzer}: 3.26.0 -> 3.27.1 → https://git.io/fhbFL
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhbFt
eadwu has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
<clever> wolfmantjg1234[m: i would just run gparted, and use that to make the partitions
<wolfmantjg1234[m> clever: is it too late because i am already typing in the commans
<clever> wolfmantjg1234[m: as long as you have no data on the drive, you could start pver from gparted
<ottidmes> hmm, Google Chrome really leaks memory, I have to restart it from time to time to get it from 13.5G to 2.5G or something (20-30 tabs open)
<clever> ottidmes: i have 1000+ tabs open, and its using 32gig of ram, and a decent chunk of swap
<ottidmes> clever: in Google Chrome or Chromium, and on 18.09 or unstable? I am using Google Chrome on 18.09
<clever> ottidmes: chromium, unstable
<ottidmes> clever: I also have a few hundred tabs open sometimes, but in Firefox, which always has been easy on the resources for me
<ottidmes> clever: than hopefully its a matter of updating and it will get fixed by itself
<samrose> Is there a version of channels that allows me to use the fix discussed here?: https://github.com/NixOS/nixpkgs/commit/8a948668174cc180e884bc068145bb0c85d928d0
tilpner has quit [Quit: WeeChat 2.4]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
tilpner has joined #nixos
<clever> ottidmes: 32gig of ram, and 44gig of swap in use, lol
<clever> ottidmes: what ive noticed helps a lot more, is to open the chrome task manager, and then kill off processes
<clever> ottidmes: for example, there is a proc for youtube, using 3.1gig of ram, and a 2nd youtube proc using 2.6gig
<clever> just click "end process" on it, and you get the ram back, and can still refesh those tabs later to use them
<hyperfekt> I think I'm gonna patch nix-channel to save commit hashes instead of downloading nixpkgs instead
<clever> hyperfekt: just wait till i'm not online, then everything breaks :P
vidbina has joined #nixos
<betawaffle> clever: 1000+ tabs? what's wrong with you?
<clever> betawaffle: good question!
<betawaffle> how do you navigate them?
<ottidmes> clever: thats the better solution when you have as many tabs open as you do, for me restarting is hard to beat in how effective and fast/easy it is
fenedor has joined #nixos
<clever> betawaffle: i have an extension called vimium, T lets me search all open tabs by name
<betawaffle> ohhhh
<clever> ottidmes: restarting results in it trying to actively use all 76gig of "ram" at once
nDuff has joined #nixos
matix has quit [Quit: WeeChat 2.4]
<hyperfekt> clever: haha, it should probably also save the output has of the nixexprs so it can take them from store
<betawaffle> that's fine if you have 96gigs of ram, clever
<ottidmes> betawaffle: I used a tab tree plugin when I had < 150 open, but Firefox has better support for such plugins, where I use it extensively, it works really well when searching about a topic, you just do a search, open a bunch of pages and they get all organized under your search and then I just go through them one by one, and those pages in turn have links, so you get a search tree that can easily be understood
<ottidmes> and closed when done
fendor has quit [Ping timeout: 246 seconds]
<clever> hyperfekt: thats already what nix-channel does, it fetches the nixexprs.tar.xz, and then "installs" it into the channels profile with nix-env
<clever> [root@system76:~]# cat .nix-defexpr/channels/nixos/.git-revision
<clever> 6141939d6e0a77c84905efd560c03c3032164ef1
<clever> hyperfekt: and the tar's that are provided, include the git rev already
wfranzini has joined #nixos
<ottidmes> clever: my motherboard can only handle 24G, so I already maxed it, but I dont run any VMs so its enough for me
<clever> betawaffle: motherboard maxes out at 32g
<hyperfekt> clever: problem is i wanna apply patches to that and it seems the only way to override the nixpkgs used for the nixos modules is to change the nixpath, which means in turn that i cant access the original version anymore
<{^_^}> [nixpkgs] @etu merged pull request #56379 → phpPackages.sqlsrv & phpPackages.pdo_sqlsrv: init at 5.6.0 → https://git.io/fhb53
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhbF6
<betawaffle> what about memory compression?
_kwstas has quit [Quit: _kwstas]
<clever> hyperfekt: why do you want to patch the nixpkgs?
_kwstas has joined #nixos
<clever> betawaffle: zramSwap.enable can automate that
_kwstas has quit [Remote host closed the connection]
<pingveno> Once upon a time, I was using security.pki.certificateFiles with absolute paths (/etc/nixos/somecertificate.cert). I just tried it again and I'm getting an error about the files not existing. What do?
<clever> betawaffle: but that adds even more cpu costs to things
<pingveno> Is there a way to include the files from /etc/nixos?
<hyperfekt> clever: so i can apply more than one change to modules that live in different branches
<lejonet> sphalerite: erhm, it seems like it is caching a little bit too much lol, I've pushed new commits since the first deploy of the package, and bumped the version nr on the package, but its still fetching the old version
<clever> pingveno: any unquoted path can be used in a nix file, and refer to any file that exists
<clever> hyperfekt: you can override modules without patching nixpkgs
<lejonet> sphalerite: but the path is properly called the new version nr :/
<hyperfekt> clever: replacing a whole module outright means that a) i have to download the whole nixpkgs if it depends on any other files and b) i have to keep pulling upstream changes, when i really i just want to apply diffs
<pingveno> Ah, I didn't have them unquoted.
<clever> hyperfekt: for most changes, you can do them without even changing the module file
<clever> hyperfekt: https://github.com/cleverca22/nixos-configs/blob/master/nas-hydra.nix#L30 this adds 2 packages to the systemd service for hydra, without patching the hydra module
<sphalerite> Any github nixos org admins here?
<dmj`> yes, speak
<hyperfekt> yeah i did that for my last thing but it's really not pretty, extracting a submodules attrset, patching the options and patching the config and passing to the original module
<{^_^}> [nixpkgs] @jules2689 opened pull request #56384 → Use Protobuf 3.4 for MySQL 5.7 to fix build in mac → https://git.io/fhbF9
<clever> hyperfekt: what if you apply a diff to "${pkgs.path}/nixos/services/databases/postgresql.nix" while also doing disabledModules = [ "services/databases/postgresql.nix" ];
<clever> hyperfekt: and then imports the patched version?
knupfer has joined #nixos
<hyperfekt> clever: oh i didn't know about .path!
<spacekookie> So, if I add a new nixos module, what should be the commit message be? Because there's not really a version to put into "init"
<spacekookie> Or is it just `<nixos/module>: init` then?
<clever> hyperfekt: basically, there is a path = ./../..; somewhere in nixpkgs
<{^_^}> [nixpkgs] @matthewbauer pushed to master « vagrant: only use libvirt on linux »: https://git.io/fhbFF
<NemesisD> would there be some way to evaluate an attribute of a nix expression? i need to get the cabalFlags out of a package to pass to cabal new-configure
<spacekookie> Hey hyperfekt btw o/
<sphalerite> dmj`: oops, sorry, didn't see that. I'm about to push release-19.03, could you lock it?
eadwu has quit [Quit: WeeChat 2.4]
<dmj`> @gchristensen ^
<NemesisD> i think i may be able to do this with a shellHook...
sepi` has joined #nixos
<sphalerite> dmj`: nah he's not here atm, I tried a private message
eadwu has joined #nixos
<clever> NemesisD: double-check `env`, it may already be an env var?
<dmj`> @clever @sphalerite
<sphalerite> clever isn't a github org admin is he?
<clever> sphalerite: only normal push
sepi has quit [Read error: Connection reset by peer]
fenedor has quit [Quit: Leaving]
<sphalerite> yeah I have that too, I need an admin :p
<NemesisD> clever: to clarify, my shell.nix uses shellFor with the project's package. from what i understand, this ensures all deps are installed but doesn't actually build the package i'm working on. it would also seem like it doesn't configure the package
<hyperfekt> spacekookie: oh hi! nice to see you here! :D
ddellacosta has quit [Ping timeout: 245 seconds]
<betawaffle> it's not march yet
<NemesisD> clever: so my plan is to add a shellHook "cabal new-configure ${pkgs.lib.concatStrings mypkg.configurFlags}"
<clever> NemesisD: yeah, that could work
<hyperfekt> clever: that's definitely a step forward, but still means any changed files have to be specified manually :think:
<clever> NemesisD: but it hink you want concatStringsSep
<sphalerite> ikwildrpepper: hey, are you around just now?
ibrahims has joined #nixos
<NemesisD> clever: good catch!
<dmj`> anyone here who has used RDS w/ nixops, how do I get the host name from the resources.rdsInstance.<name>.<??> field ?
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to refs/tags/19.03-beta: https://git.io/fhbbT
<{^_^}> [nixpkgs] @lheckemann pushed to release-19.03 « Set channel and version to 19.03 »: https://git.io/fhbbk
ddellacosta has joined #nixos
<hyperfekt> hell yeah, my PR (#52464) made it in in time for 19.03 thanks to sphalerite :). too bad i didn't get video acceleration into chromium in time but getting my backups running had priority
<{^_^}> https://github.com/NixOS/nixpkgs/pull/52464 (by hyperfekt, 9 weeks ago, merged): nixos/fish: generate autocompletions from man pages
<{^_^}> [nixpkgs] @Ma27 merged pull request #56277 → vim_customizable: Include manpages in the output → https://git.io/fhbsd
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fhbbm
<{^_^}> [nixos-org-configurations] @lheckemann opened pull request #77 → Add 19.03 channel → https://git.io/fhbbs
ibrahims has quit [Ping timeout: 245 seconds]
<rodarmor> Is it possible to install packages when booted into the live cd? Install commands, i.e. `nix-env -i vim`, appear hanging, but are maybe churning in the background with no output and I just need to wait longer
<clever> rodarmor: yeah, it should install, but -iA will be faster
<clever> ,-iA rodarmor
<clever> ,-A rodarmor
<{^_^}> rodarmor: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<rodarmor> Sweet, thanks!
Ariakenom has quit [Quit: Leaving]
erasmas_ has joined #nixos
Denommus` has quit [Ping timeout: 258 seconds]
immae has quit [Quit: WeeChat 2.3]
ddellacosta has quit [Quit: WeeChat 2.2]
erasmas has quit [Ping timeout: 246 seconds]
jackdk has joined #nixos
ikitat has quit [Ping timeout: 272 seconds]
johanot has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #56385 → glib: 2.58.2 -> 2.58.3 → https://git.io/fhbb2
<{^_^}> [nixpkgs] @dtzWill opened pull request #56386 → lua-modules/generated-packages.nix: fix 'lua' to propagate → https://git.io/fhbbi
<{^_^}> [nixpkgs] @lheckemann pushed to master « 19.09 is Loris. »: https://git.io/fhbbP
immae has joined #nixos
dgarzon has joined #nixos
rprije has joined #nixos
shpx has quit [Quit: shpx]
<dgarzon> Hi, I am trying to use: pkgs/development/tools/build-managers/bazel/bazel-deps/default.nix on Linux, but it fails to build. I think the issue is that `bazel-deps` needs to download things from the internet, and the sandbox prevents it from doing so. Is there any way to disable the sandbox for this particular derivation?
<hedning> dgarzon: --no-sandbox should do the trick (you need to be a trusted user for it to work on NixOS IIRC)
vk3wtf has joined #nixos
ddellacosta has joined #nixos
simukis has quit [Quit: simukis]
dcol has quit [Ping timeout: 258 seconds]
PLPD-Bot has quit [Remote host closed the connection]
MichaelRaskin has quit [Quit: MichaelRaskin]
drewr has joined #nixos
PLPD-Bot has joined #nixos
Makaveli7 has quit [Quit: Leaving]
kvda has joined #nixos
<rodarmor> I'm trying to set up an encrypted partition, and unlock it with a yubikey. It looks like this is supported by the `luksroot.nix` package, but that only instructions for initial setup are in this archived wiki page: https://web.archive.org/web/20160911070220/https://nixos.org/wiki/Luks-based_FDE_with_Yubikey_PBA_and_btrfs_on_UEFI_NixOS
<rodarmor> Are those instructions still good?
<{^_^}> [nixpkgs] @matthewbauer closed pull request #55485 → binutils: 2.31.1 -> 2.32 → https://git.io/fhH1x
dgarzon has quit [Quit: dgarzon]
<{^_^}> [nixpkgs] @acyuta108 opened pull request #56387 → cypress: init at 3.1.5 → https://git.io/fhbbp
ikitat has joined #nixos
stepcut_ has quit [Remote host closed the connection]
stepcut has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
__monty__ has quit [Quit: leaving]
knupfer has quit [Ping timeout: 252 seconds]
shpx has joined #nixos
stepcut has quit [Ping timeout: 255 seconds]
<JonReed> wolfmantjg1234[m: A bit of a late response, but to quickly wipe the device I would use a helper function like: https://pastebin.com/e8pQ10b4
<JonReed> wolfmantjg1234[m: Otherwise, you have to calculate where to seek in `dd` command or accidentally do something wrong.
<JonReed> I usually have a file which I can source `source file.sh` which contains a bunch of helpful functions and aliases.
<JonReed> This function, for example, will echo first the dd commands with all parameters calculated and ask if you want to execute them, not to accidentally make a mistake or wipe something you don't want
<clever> JonReed: there is also the wipefs command
<hyperfekt> oh geez im dumb. i guess i can just disable the top-level module? cc clever
<clever> hyperfekt: the top-level module?
<hyperfekt> well the module equivalent of all-packages.nix
<clever> hyperfekt: you would need to import eval-modules.nix yourself
<JonReed> clever: That's helpful to know, thanks.
shpx has quit [Ping timeout: 244 seconds]
<clever> hyperfekt: and now it gets that default: https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/eval-config.nix#L17
<hyperfekt> awesome, thanks for the examples! looks like that is the way to go. :)
dwdr has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bachp opened pull request #56388 → gitlab-runner: 11.7.0 -> 11.8.0 → https://git.io/fhbNV
ixxie has quit [Ping timeout: 255 seconds]
orivej has quit [Ping timeout: 255 seconds]
matix has joined #nixos
<matix> Can someone close #26111 ? It's obsolete after #56277 was merged
<{^_^}> https://github.com/NixOS/nixpkgs/pull/26111 (by therealpxc, 1 year ago, open): vim-utils: include man pages in the output of vim_customizable.customize, add option to include gvim wrapper
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56277 (by matix2267, 1 day ago, merged): vim_customizable: Include manpages in the output
sigmundv has joined #nixos
JonReed has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @xeji closed pull request #26111 → vim-utils: include man pages in the output of vim_customizable.customize, add option to include gvim wrapper → https://git.io/vHGWG
<matix> thanks
erasmas_ has quit [Quit: leaving]
xeji has quit [Quit: WeeChat 2.2]
amosbird has quit [Ping timeout: 240 seconds]
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
IRCsum has quit [Remote host closed the connection]
clefru has quit [Ping timeout: 246 seconds]
clefru has joined #nixos
IRCsum has joined #nixos
Dagger has quit [Excess Flood]
Dagger has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
WhittlesJr has quit [Quit: Page closed]
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
eadwu has quit [Quit: WeeChat 2.4]
hchchchchchchchc has joined #nixos
camsbury has quit [Ping timeout: 246 seconds]
ikitat has quit [Ping timeout: 245 seconds]
dgarzon has joined #nixos
<dgarzon> Hi, is there a way to know in which channel this derivation is cached? https://hydra.nixos.org/job/nixpkgs/trunk/bazel.x86_64-linux. I am currently using the latest `nixos-unstable`, but it still build bazel locally instead of pulling it from the cache!
<edef> the nixpkgs channel advances without NixOS tests passing
<edef> it should generally be ahead of nixos
zemm has quit [Ping timeout: 246 seconds]
zemm has joined #nixos
<samueldr> in past weeks it was the other way around due to the darwin infra being overloaded :)
<samueldr> though yeah, looks like nixpkgs-unstable is more fresh right now
* samueldr checks if anything in nixos-unstable is having issues
<dgarzon> According to http://howoldis.herokuapp.com/, they are all pretty recent and the bazel derivation succeeded 3 days ago!
<dgarzon> I am trying to avoid building it as it takes a really long time :(
<samueldr> dgarzon: click on "Help" in the "Actions" column :)
<samueldr> this is *a* way to make use of it
<samueldr> though, reading it, maybe avoid nix-env
<samueldr> and use nix-store --realise /nix/store/that-path
<samueldr> depending on what you want to do with it
* samueldr looks to see what's up
<dgarzon> Thanks samueldr :) I am trying to set it up using nix-shell so I don’t think installing it that way will work for me!
ng0 has quit [Ping timeout: 256 seconds]
<dgarzon> Any suggestions?
<samueldr> dgarzon: can you paste the output of nix-info? (just in case)
<clever> dgarzon: if you check the inputs tab on a hydra build, you can see what rev of nixpkgs it used
vk3wtf has quit [Ping timeout: 264 seconds]
<ToxicFrog> I'm writing a systemd service script (systemd.services.<name>.script). It needs to run a python script that depends on libusb.
ibrahims has joined #nixos
<clever> ToxicFrog: one sec
<ToxicFrog> Is there a way to tell nixOS that the script depends on python36Packages.pyusb, or do I just need to put `nix-shell -p python36Packages.pyusb --run path/to/python/script ...` in the systemd unit script?
<ToxicFrog> Righto.
<clever> ToxicFrog: systemd.services.<name>.path = [ (python36.withPackages (ps: [ ps.pyusb ])) ];
<ToxicFrog> Excellent, thank you!
<clever> that will create a wrapper script for python, that adds pyusb to the PYTHONPATH, then add that wrapper to $PATH for the service
<elvishjerricco> ToxicFrog: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.path
<elvishjerricco> Useful page :)
<{^_^}> [nixpkgs] @tokudan closed pull request #56374 → [18.09] Apache httpd: 2.4.34 -> 2.4.38 → https://git.io/fhbH7
<ToxicFrog> elvishjerricco: yes, I use it constantly and I know about .path, I just didn't know if there was anything I could put there that would do the right thing.
<dgarzon> Thanks clever and samueldr, here is the output of nix-info:
<dgarzon> - system: `"x86_64-darwin"`
<dgarzon> - host os: `Darwin 17.7.0, macOS 10.13.6`
<dgarzon> - multi-user?: `no`
<dgarzon> - sandbox: `no`
<dgarzon> - version: `nix-env (Nix) 2.1.3`
<dgarzon> - channels(danielgarzon): `"nixos-19.03pre169108.36f31600749, nixpkgs-19.03pre169106.1a88aa9e0cd"`
<dgarzon> - nixpkgs: `/Users/danielgarzon/.nix-defexpr/channels/nixpkgs`
<dgarzon> I pointed to the right revision, and when I load my shell it still builds bazel from source :(
<samueldr> (this could have been kept as a single lien)
<clever> dgarzon: the default mode (with no params) is better for pasting to irc
o1lo01ol1o has quit [Remote host closed the connection]
<clever> samueldr: he did `nix-info -m`, which uses markdown and many lines
ibrahims has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<samueldr> line*
<dgarzon> Actually, it worked!
<dgarzon> It is building something else!
shibboleth has quit [Remote host closed the connection]
<dgarzon> Thank you very much clever and samueldr :)
<ar1a> what are some more secure ways of sending files over lan? i've just been ad-hocing it with netcat but it feels so wrong
<ar1a> not ssh based preferably
masterdonx has quit [Ping timeout: 246 seconds]
<samueldr> both your user's channels (nixos, nixpkgs) seemingly are about 14 days old
<samueldr> how is your shell.nix (or default.nix) written? do you use `import <nixpkgs>`?
<clever> ar1a: either scp or nfs is what i use mostly
<ar1a> clever: nfs isnt really easy to set up on the fly though
<ar1a> i basically want encrypted netcat i think
o1lo01ol1o has quit [Read error: Connection reset by peer]
<clever> ar1a: scp for just copying things then
<slack1256> how often is nixos-unstable updated? every 30 minutes?
johnnyfive has quit [Remote host closed the connection]
<clever> slack1256: every time it passes testing on hydra
johnnyfive has joined #nixos
<ar1a> clever: that requires turning password auth back on though
<slack1256> got it
<samueldr> slack1256: every ~12 hours it's evaluated by the build farm, and then when everything is finished building AND if tests passes, it will update*
<clever> ar1a: keypairs
<samueldr> * (except the small channels, which will only wait for tests to pass and a small subset)
<ar1a> clever: yeah maybe a scp-only user and a chroot jail for that user
<ar1a> requires forethought though
<ar1a> although much easier with nix 😅
<samueldr> ar1a: what's the use case, looks like you want to ad-hoc send files across computers you don't necessarily own, right?
<clever> ar1a: you can set an ssh key to only allow scp
<ar1a> samueldr: yeah pretty much, say at work and you need to send a coworker a file
wavewave has joined #nixos
<samueldr> yeah, nfs/scp are annoying in that case :/
<hyperfekt> clever++
<{^_^}> clever's karma got increased to 103
masterdonx has joined #nixos
<wavewave> can anyone have a problem `warning: unable to download 'https://cache.nixos.org/nar/16bh5v9jgiszdld0c9bcxxzk37kaiz60gvmmm084pizfy40m91bz.nar.xz': HTTP error 503; retrying in 269 ms`?
<slack1256> OT: what is channel karma? has some functionality?
<clever> ar1a: http(s) server?
<clever> ,cache wavewave
<samueldr> slack1256: it's a "just for fun" thing
<samueldr> ,karma
camsbury has joined #nixos
<ar1a> idk how you guys fixed the ipv6 thing but i just put the ipv4 address in my /etc/hosts for cache.nixos.org
<ar1a> who knows if it even works but its all i could think of doing
<samueldr> provider doesn't provide ipv6 here :/