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
<__red__> If I type a command, and the shell responds with: "The program 'foo' is currently not installed. You can install it by typing:" ... Where is that database of commands to packages to be found?
hph^ has joined #nixos
<__red__> and is there a file that I can put in an overlay to reference those executables that exist in my overlay?
thedavidmeister has quit [Quit: WeeChat 2.3]
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
mbrgm has joined #nixos
<samueldr> first part: there is an sqlite database built for that purpose whenever a channel update is cut
<samueldr> second part: I don't think there is :/
<__red__> Gotcah - so unless I build my own channel then I'm likely SOL?
jluttine has quit [Ping timeout: 244 seconds]
<__red__> I don't really want to maintain a private fork of nixpkgs:master :-)
<__red__> Thanks - that helps
<samueldr> kinda, though I'm not sure where exactly it happens
<samueldr> I think it'd be annoying to maintain right
<samueldr> what *could* be done, is to instead implement your own command-not-found, which works however you want, and then also calls the nixos one
<__red__> I'm maintaining an overlay for a development community - and keeping that current is work enough :-)
<samueldr> I made a command-not-found handler which uses nix-locate since using a git checkout instead of a channel doesn't build the database
<__red__> it's nice tho - to be able to allow people running AnyLinux[tm] to use nix as a package manager and just have all the dev tools work
dermetfan has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
plytkejsie has quit [Quit: ZNC - http://znc.in]
Adluc has quit [Quit: ZNC - http://znc.in]
<Rusty1> ls
<__red__> .
<__red__> ..
<__red__> NOT_YOUR_SHELL
<__red__> ;-)
dermetfan has joined #nixos
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
shibboleth has joined #nixos
eadwu has joined #nixos
jluttine has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @olorin opened pull request #55496 → Update max line length in systemd units → https://git.io/fhHHH
jluttine has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @guibou opened pull request #55497 → haskellPackages.generic-lens: update configuration-common.nix → https://git.io/fhHH5
shibboleth has quit [Quit: shibboleth]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tdbgamer has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<laas> is there any way to use clang to cross-compile in nix?
maximiliantagher has joined #nixos
ddellacosta has joined #nixos
spear2 has quit [Quit: Leaving]
Adluc has joined #nixos
jluttine has joined #nixos
hexo_ has joined #nixos
init_6 has joined #nixos
srk has joined #nixos
slack1256 has joined #nixos
freeman42y has joined #nixos
xkapastel has joined #nixos
o1lo01ol1o has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
Makaveli7 has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
stites has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
ddellacosta has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
slack1256 has quit [Remote host closed the connection]
<nand0p> i added a package to `configuration.nix` and `nixos-rebuild switch`, however i was surprised to see that `nix-env --list-generations` does not show a new generation? what does it take to make a new bootable generation?
maximiliantagher has quit [Ping timeout: 250 seconds]
obfusk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lucus16 has quit [Quit: lucus16]
obfusk has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #55292 → nccl: 2.1.4 -> 2.4.2-1 → https://git.io/fh9RK
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « nccl: 2.1.4 -> 2.4.2-1 (#55292) »: https://git.io/fhHQ4
work_ has quit [Quit: Connection closed for inactivity]
Ariakenom has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
nD5Xjz has joined #nixos
init_6 has quit [Ping timeout: 246 seconds]
erictape1 has joined #nixos
erictapen has quit [Ping timeout: 272 seconds]
silver has quit [Read error: Connection reset by peer]
init_6 has joined #nixos
lucus16 has joined #nixos
<infinisil> nand0p: nix-env uses the users nix-env generations by default
<nand0p> what would be a simple command or change in `configuration.nix` that would incur a new generation?
<infinisil> nand0p: `sudo nix-env -p /nix/var/nix/profiles/system --list-generations` will list system generations
<infinisil> nand0p: Oh nixos-rebuild switch creates new generations
yayforj has quit [Ping timeout: 250 seconds]
<nand0p> strangely, i add a pkg to `configuration.nix`, switch successfully, but list-generations does not show a new generation
justan0theruser has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhHQg
<infinisil> nand0p: You mean the command I gave?
<nand0p> ok i see....
nD5Xjz has quit [Ping timeout: 250 seconds]
camsbury has joined #nixos
<nand0p> so the first command does not accurately report generations
i1nfusion has quit [Remote host closed the connection]
<infinisil> No
<infinisil> Read what I wrote
<nand0p> gotcha thanks
i1nfusion has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
<infinisil> nand0p: Wait no, this "No" was as in "You're incorrect, it does accurately report generations"
goibhniu has quit [Ping timeout: 245 seconds]
<nand0p> why would those two things report such a difference?
<infinisil> Read what I wrote..
<infinisil> The first thing I said specifically
<nand0p> ` the first command does not accurately report generations`
<nand0p> ` nix-env uses the users nix-env generations by default`
<infinisil> Yes that ^
simukis has quit [Quit: simukis]
camsbury has quit [Ping timeout: 240 seconds]
<nand0p> interesting. running `sudo nix-env --list-generations` returns nothing as a user, and as root, only the 3 pasted above.... but apparently, there are 48, via `sudo nix-env -p /nix/var/nix/profiles/system --list-generations`
<infinisil> You're a bit confused
<infinisil> sudo makes a command run as root
<nand0p> yes, when running as root, it returns 3
<infinisil> Yes
<infinisil> Okay so
<{^_^}> [nixpkgs] @orivej opened pull request #55498 → kmplot: init at 18.12.0 → https://git.io/fhHQK
<infinisil> nix-env without any -p argument uses the users nix-env generations
<infinisil> The users here can be root or your normal user
<infinisil> Those are different, have different profiles, because they can each install different things
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<infinisil> The NixOS profiles don't come from nix-env, they come from NixOS, these are the declarative configuration.nix generations, these have nothing to do with nix-env
<infinisil> (but nix-env can be used to look at the generations)
<infinisil> nand0p: Look into /nix/var/nix/profiles to see all profiles
<infinisil> nix-env ones and NixOS ones and what have you not
<nand0p> right, im just pointing out that `sudo nix-env --list-generations` apparently does not return accurate results, you need the `-p /nix/var/nix/profiles/system` to get the true value. thanks for sharing that
<infinisil> NO
<infinisil> Read what I wrote damnit
<infinisil> I won't explain it another time
<nand0p> heh ` nix-env can be used to look at the generations` thanks
<nand0p> maybe someone would be gracious enough to explain why `nix-env --list-generations` returns 3, and `nix-env -p /nix/var/nix/profiles/system` returns 48. or even better any links to documentation, as i did not find it in manual.
o1lo01ol1o has joined #nixos
<infinisil> nand0p: Oh wow you're lucky, somebody recently just explained this very thing, here I'll like you to it: https://logs.nix.samueldr.com/nixos/2019-02-10#1549762683-1549762769;
<nand0p> `Those are different, have different profiles, because they can each install different things` it is a bit confusing, but thanks for helping
<infinisil> So, did you get it?
<nand0p> are you sure that was right link?
<infinisil> I guess I didn't explicitly mention it, but /nix/var/nix/profiles/system is *not* the root's nix-env profile, which would be /nix/var/nix/profiles/per-user/root
<nand0p> `Those are different, have different profiles, because they can each install different things`
jluttine has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/3acebb03952 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
nD5Xjz has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #55484 → Remove django 2.0 → https://git.io/fhH11
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhHQ1
acarrico has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #55493 → lego: 2.0.1 -> 2.2.0 → https://git.io/fhHyW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhHQM
jluttine has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhHQD
<{^_^}> [nixpkgs] @Mic92 merged pull request #55496 → Update max line length in systemd units → https://git.io/fhHHH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhHQ9
<{^_^}> [nixpkgs] @Mic92 merged pull request #55348 → ccls: 0.20181225.7 -> 0.20181225.8 → https://git.io/fh96X
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/5225d4bf019 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<delroth> woo, making nixops use "nix build" instead of nix-build turns out to be only a ~10 LOC patch if you do it the hacky way :P
<delroth> the UI is much nicer :P
<init_6> there is some howto about migration deriviation from qt4 to qt5?
Supersonic has quit [Ping timeout: 252 seconds]
freeman42y has quit [Ping timeout: 252 seconds]
nD5Xjz_ has quit [Ping timeout: 245 seconds]
markus1189 has quit [Ping timeout: 250 seconds]
markus1189 has joined #nixos
Supersonic has joined #nixos
<Myrl-saki> delroth: Yay. :)
nD5Xjz has joined #nixos
DrLambda has joined #nixos
acarrico has quit [Ping timeout: 244 seconds]
slack1256 has joined #nixos
jtojnar_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
ng0_ has joined #nixos
ng0_ has quit [Client Quit]
<delroth> why did I ever look at pkgs.chromium
ng0 has quit [Ping timeout: 256 seconds]
maximiliantagher has joined #nixos
* samueldr is searching how to delete someone else's commit
<gchristensen> haha
<{^_^}> [nixpkgs] @eadwu opened pull request #55499 → linux_testing_bcachefs,bcachefs-tools: 20190209 → https://git.io/fhHQh
<gchristensen> to be fare, it isn't part of the package, just update... :D
<gchristensen> fare. fare. fare. going to bed now. goodnight.
nD5Xjz has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
justan0theruser has quit [Ping timeout: 245 seconds]
alex_giusi_tiri has left #nixos [#nixos]
init_6 has quit []
laduke-13 has joined #nixos
kvda has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
<iqubic> *fair
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/baf6ba553f7 (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<andrewrk> ooh that's a neat announcement
<{^_^}> [nixpkgs] @matthewbauer merged pull request #55489 → llvmPackages_7.clang-unwrapped: don’t link to libatomic on darwin → https://git.io/fhHDl
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhH7B
nD5Xjz has joined #nixos
<laduke-13> hey, i'm trying this out for the first time (on a pi3), when I do nix-channel --add then nixos-rebuild switch then reboot, it boots into the previous channel, not the one I added. Am I reading this wrong?
eadwu has quit [Quit: WeeChat 2.3]
<mdash> laduke-13: what does nix-channel --list say?
nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nixos
eadwu has joined #nixos
<laduke-13> mdash: it says nixos ... nixos-18.09 (the one I want) sorry, no way to paste from there right now
eadwu has quit [Client Quit]
maximiliantagher has joined #nixos
rcshm has quit []
<mvnetbiz> Can I make some kind of package alias, so I can run "nix-shell -p myalias" and I would have a shell with git and vim for example
eadwu has joined #nixos
eadwu has quit [Client Quit]
<laduke-13> rebooted back into 19.03.git.56b9f6fc8e1 (Koi) from the boot menu to get wifi working again
<samueldr> laduke-13: assuming you started form sd_image; is the FAT32 partition mounted under /boot/ ?
<samueldr> and uh, you did a rebuild after updating the channel, right?
<laduke-13> hmm yeah
<laduke-13> did I run out of space...
<laduke-13> should `nixos-rebuild switch --upgrade` counts as "rebuild" right?
<cransom> as root? yes
<laduke-13> yeah
<laduke-13> I must've forgot --upgrade last few times
maximiliantagher has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/64825dfd26a (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
ggp0647 has quit [Ping timeout: 250 seconds]
<mdash> laduke-13: nixos-rebuild is going to use the one named 'nixos'
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
hedning has quit [Quit: hedning]
maximiliantagher has joined #nixos
cswl has joined #nixos
slack1256 has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 245 seconds]
nD5Xjz has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #55500 → syslinux: 2015-11-09 -> 2019-02-07 → https://git.io/fhH7A
hellrazo1 has joined #nixos
i1nfusion has quit [Remote host closed the connection]
eadwu has joined #nixos
i1nfusion has joined #nixos
eadwu has quit [Client Quit]
pie__ has joined #nixos
hellrazor has quit [Ping timeout: 268 seconds]
noonien has quit [Quit: Connection closed for inactivity]
pie_ has quit [Ping timeout: 240 seconds]
counting1ort has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
<laduke-13> ran out of space rebuilding :/
countingsort has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ericsagnes has joined #nixos
nD5Xjz has joined #nixos
ashkitten has quit [Quit: WeeChat 2.2]
<bpye> How well is KDE supported on nix?
leex has joined #nixos
ashkitten has joined #nixos
<leex> Hey, does anyone else here have trouble with "nix-env -i all"? Mine dies because it's unable to download some package. But just running it again (and again) will make it work.
<leex> So just by trying often enough I am eble to install new packages/update, but it's quite annoying that it doesn't just run cleanly.
endformationage has quit [Quit: WeeChat 2.3]
nD5Xjz has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
nD5Xjz has joined #nixos
elgoosy_ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
fusion809 has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/73885bc675b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
init_6 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhH5m
jmeredith has quit [Quit: Connection closed for inactivity]
fusion809 has quit [Ping timeout: 240 seconds]
<laduke-13> thank for the help.
nD5Xjz has joined #nixos
Serus has quit [Ping timeout: 246 seconds]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
<pikajude> how does NIX_DEBUG get set?
<pikajude> lua stuff is all broken for me (on macos) and it seems that NIX_DEBUG might help me debug why
ericsagnes has quit [Ping timeout: 250 seconds]
tdbgamer has joined #nixos
maximiliantagher has joined #nixos
daniele- has quit [Read error: Connection reset by peer]
jmeredith has joined #nixos
Serus has joined #nixos
Melkor333 has quit [Ping timeout: 240 seconds]
balsoft has joined #nixos
nD5Xjz_ has quit [Ping timeout: 250 seconds]
ericsagnes has joined #nixos
nD5Xjz has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
nD5Xjz has quit [Ping timeout: 240 seconds]
palo1 has joined #nixos
fiola has joined #nixos
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
maximiliantagher has quit [Ping timeout: 268 seconds]
slack1256 has joined #nixos
nD5Xjz has joined #nixos
slack1256 has quit [Remote host closed the connection]
DrLambda has quit [Ping timeout: 268 seconds]
<fiola> "nix-env -q gcc" says "matches no derivations" but there are plenty of entries in /nix/store with "gcc" in the name. So what is nix-env's option for a non-exact match?
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
daniele- has joined #nixos
<mdash> fiola: mmm, typically there's no need to get at gcc all by itself, what do you want to do?
<fiola> mdash: Thanks for replying. Trying to learn the workflow: (i) find which (say) gcc versions are available, (ii) pick one, (iii) install it.
<fiola> gcc is just an example. I already have several gcc versions installed, but want to query "What versions are available?"
<mdash> fiola: right, so, the cheap way is to rely on the command-not-found hook, where you try to run something and it then spits out an error about it not being installed and then tells you a bunch of things that could provide it
<mdash> fiola: another way is to grep the nixpkgs repo for it
<mdash> a third is to use nix-index and nix-locate
<mdash> fiola: more specifically though it's rarely a good idea to install gcc in a user environment
<mdash> since that's only needed in build environments
<fiola> nix-index builds a local index of available packages? If so, sound what I need.
<fiola> mdash: Yes, gcc was just an example, to not say "foo" .:P
<mdash> more than that, a local index of files installed by packages
drakonis has quit [Quit: WeeChat 2.3]
Guest36740 has joined #nixos
Guest36740 is now known as tom39291
camsbury has joined #nixos
random_yanek has quit [Ping timeout: 245 seconds]
camsbury has quit [Ping timeout: 244 seconds]
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #55501 → chromium: 72.0.3626.81 -> 72.0.3626.96 → https://git.io/fhH5x
q6AA4FD has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #55502 → nodejs-10_x: 10.15.0 -> 10.15.1 → https://git.io/fhHdv
daniele- has quit [Quit: daniele-]
<fiola> mdash: Running nix-index said "+ querying available packages" and has now been running for 3/4 of an hour. Is this normal? (It seems to have kicked off nix-env, which has consumed virtually all memory.)
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<dunk> I'm trying and failing to get nix to build on Ubuntu 18.04. I get "No package 'libeditline' found". I've now installed anything remotely related - editline, readline, dev packages, libs... all to no avail. I've even now built editline from source and still get the error. Anyone know what might be up?
<wedens> dunk: what are you trying to do?
mounty has quit [Quit: Konversation terminated!]
<leotaku> fiola: Is there any specific reason "nix search" is insufficient for what you want to do?
<dunk> wedens: It's a long and convoluted story, but I basically just need to build it
<fiola> leotaku: It helps, although it still uses some kind of external scan so takes minutes. I was hoping the nix-locate was going to give instant info after a completed nix-index.
<mdash> Word of advice: don't `zfs destroy` a zfs filesystem your nix config has its heart set on mounting at boot
<mdash> you won't have a good evening
<fiola> Sounds bad. :-)
<mdash> fiola: Having just done this, I am reaching a similar conclusion
<leotaku> fiola: The usual workflow for "nix search" is only passing "-u" every once in a while, mostly after an upgrade.
<fiola> leotaku: Unfortunately nix-index uses nix-env, and nix-env seems to do everything in memory so isn't scalable.
<leotaku> Without "updating" the database everytime nix search is blazingly fast.
<fiola> leotaku: Thanks, going to do some testing with search.
<fiola> leotaku: \o/ You're right, it only took 5 mins on the first lookup. Excellent!
mounty has joined #nixos
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #55507 → aldo: init at 0.7.7 → https://git.io/fhHdQ
<cyris212> Could someone explain me why you need to specify your dependencies in the arguments of the expression as well as in buildInputs?
<etu> Not everything belongs in buildInputs
<cyris212> I guess the arguments of the expression is a super set?
fendor has joined #nixos
<etu> Some stuff should be in nativeBuildInputs for example
<cyris212> etu: I see, thank you
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/929cc78363e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
maximiliantagher has joined #nixos
fendor has quit [Ping timeout: 250 seconds]
cswl has quit [Quit: Connection closed for inactivity]
Soo_Slow has joined #nixos
Glider_IRC has joined #nixos
Glider_IRC has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 merged pull request #55432 → ttrss: database.passwordFile, ldap plugin, configureable socket → https://git.io/fhHO6
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fhHFg
<{^_^}> [nixpkgs] @Mic92 merged pull request #55440 → nixos/teamspeak: ipv6 support → https://git.io/fhHZD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhHF2
<{^_^}> [nixpkgs] @Mic92 merged pull request #54717 → neovim-remote: use buildPythonApplication → https://git.io/fh6Dm
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhHFa
simukis has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #55507 → aldo: init at 0.7.7 → https://git.io/fhHdQ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhHFi
ddellacosta has quit [Ping timeout: 244 seconds]
<dunk> I get the same thing when I try to build nix on base debian - No package 'libeditline' found
LeshaInc has quit [Max SendQ exceeded]
maximiliantagher has quit [Ping timeout: 272 seconds]
LeshaInc has joined #nixos
<tilpner> dunk: The Arch package builds Nix with readline, so you could look at that. But note that someone was complaining about the repl being somewhat broken with readline
Ariakenom has joined #nixos
maximiliantagher has joined #nixos
DrLambda has joined #nixos
<dunk> tilpner: How do I disable the need for this lib?
maximiliantagher has quit [Ping timeout: 250 seconds]
Glider_IRC has joined #nixos
<tilpner> Did you find the Arch build description?
<dunk> tilpner: I'm not sure where to look for it, sorry
<{^_^}> [nixpkgs] @TomSmeets opened pull request #55508 → maintainers: update tomsmeets' email address → https://git.io/fhHFb
<tilpner> export EDITLINE_CFLAGS="-DREADLINE"
<tilpner> export EDITLINE_LIBS="/usr/lib/libreadline.so"
thc202 has joined #nixos
<emily> dreadline :D
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/25bab3958da (from 43 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
justanotheruser has quit [Ping timeout: 240 seconds]
i1nfusion has quit [Remote host closed the connection]
Glider_IRC has quit [Quit: Leaving]
Glider_IRC has joined #nixos
i1nfusion has joined #nixos
<immae> Yes dunk, you’d better compile libeditline manually
<dunk> immae: I actually did; but to no avail
<immae> (Note that libeditline is not libedit)
<immae> (I am the one who was complaining about readline being unusable with nix repl)
<immae> The editline you should use is the one there: ftp://ftp.troglobit.com/editline/editline-1.15.3.tar.xz
<immae> And you may use the build script I quoted here: https://aur.archlinux.org/packages/nix if you don’t know how to do (it has nothing different from usual ./configure make makeinstall)
Soo_Slow has quit [Remote host closed the connection]
edef has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #55509 → tqsl: 2.3.1 -> 2.4.3 → https://git.io/fhHbf
<{^_^}> [nixpkgs] @peti merged pull request #55497 → haskellPackages.generic-lens: update configuration-common.nix → https://git.io/fhHH5
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fhHbJ
<{^_^}> [nixpkgs] @peti pushed commit from @jabranham to master « update R package set »: https://git.io/fhHbI
init_6 has quit []
<{^_^}> [nixpkgs] @peti closed pull request #55462 → Update R package set → https://git.io/fhHzb
yayforj has joined #nixos
<dunk> I am getting this error when trying to compile
<dunk> There's no network connectivity problem
<dunk> Trying on release 2.2.1
<clever> dunk: nix disables all network access during the build, something must be wrong for it to want to download a file
<dunk> 🙁
<ottidmes> when you have Nix files as part of your package, in the case of Java I believe you would put it in $out/lib/java/ (or at least .jar files), but with Nix I am contemplating what is better $out/lib/$pname/ or $out/lib/nix/
goibhniu has joined #nixos
b has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Mic92 merged pull request #54888 → pythonPackages.pybind11: init at 2.2.4 → https://git.io/fhXag
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhHb4
<ottidmes> I guess it has to be $out/lib/$pname, or else I would potentially poison /run/current-system/sw/lib
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « python*Packages: yet another round of pkgs.pkgconfig »: https://git.io/fhHb0
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fhHbz
frank87 has quit [Quit: http://quassel-irc.org - Chat comfortabel. Waar dan ook.]
<{^_^}> [nixpkgs] @vcunat merged pull request #55508 → maintainers: update tomsmeets' email address → https://git.io/fhHFb
Makaveli7 has joined #nixos
dermetfan has joined #nixos
elgoosy has joined #nixos
<cyris212> How do I develop a NixOS option? Do I need to point my channel to my modified version of nixpkgs or is there another way?
amosbird_ has joined #nixos
Makaveli7 has quit [Client Quit]
amosbird has quit [Ping timeout: 250 seconds]
<srhb> cyris212: imports = [ /path/to/yourmodule.nix ];
<cyris212> srhb: Great, thanks!
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 has joined #nixos
<LnL> I usually build a use nixos-rebuild build-vm with a test config
Makaveli7 has joined #nixos
Mateon3 is now known as Mateon1
Glider_IRC has quit [Ping timeout: 250 seconds]
ng0 has joined #nixos
yayforj has quit [Read error: Connection reset by peer]
yayforj has joined #nixos
schjetne has joined #nixos
knupfer has joined #nixos
tmaekawa has joined #nixos
<etu> ,locate tinfo
jb55 has quit [Quit: WeeChat 2.3]
<{^_^}> Found in packages: freedroidrpg
Glider_IRC has joined #nixos
<{^_^}> [nixpkgs] @florianjacob opened pull request #55510 → nixos/printers: declarative configuration → https://git.io/fhHbh
yayforj has quit [Ping timeout: 272 seconds]
hedning has joined #nixos
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed 5 commits to master: https://git.io/fhHNn
<{^_^}> [nixpkgs] @rycee merged pull request #55229 → perlPackages.GeoIP2: init at 2.006001 → https://git.io/fhShw
<{^_^}> [nixpkgs] @e-user closed pull request #46612 → nix-selinux-policy: init at 1.0 → https://git.io/fAi3I
stranger___ has joined #nixos
stranger___ has left #nixos [#nixos]
stranger___ has joined #nixos
<stranger___> what do you think? https://github.com/NixOS/nixpkgs/pull/53659
<{^_^}> #53659 (by gnidorah, 4 weeks ago, open): adlplug, opnplug: init at 1.0.0-beta.5
<{^_^}> [nixpkgs] @etu opened pull request #55511 → tlf: Init at 1.3.2 → https://git.io/fhHNR
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @ilikeavocadoes opened pull request #55512 → maintainers: add ilikeavocadoes (Lassi Haasio) → https://git.io/fhHNE
<steveeJ> hey Mic92, I've stumbled upon the NUR project, pretty cool! can I add a regular nix overlay to it?
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
<Mic92> steveeJ is the overlay intended to override or add packages?
<steveeJ> Mic92: I'm talking about this one: https://gitlab.com/steveeJ/infra/blob/master/nix/overlay.nix I'm happy for feedback on it. also, I have a variety of nixos and home-manager modules in it which I would like to share without necessarily have the changes live upstream. is that also a place for NUR?
<steveeJ> Mic92: it currently does both
<tilpner> steell_: See https://github.com/mozilla/nixpkgs-mozilla/blob/master/package-set.nix on how to use an overlay to create a package set
<tilpner> Oops
<tilpner> ^ steveeJ
<Mic92> steveeJ: since you are not really rely on self, you can also just re-import it the overlay in a different file pass in pkgs as super
<Mic92> just as tilpner proposed
<steveeJ> what's the advantage vs a regular overlay?
<tilpner> Oh come on, you had slirp4netns already?
<tilpner> :(
<Mic92> steveeJ: it is clear to the user, from which source the packages are coming form.
<Mic92> *from
<steveeJ> tilpner: sorry, am I late sharing this stuff? :(
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #55513 → swayidle: 1.1 -> 1.2 → https://git.io/fhHNg
<Profpatsch> Hm, what is the easiest way to fetchPatch a github PR patch? That is when you append .patch to a PR
<Profpatsch> Because just dumping it into fetchpatch doesn’t work, since it does the a/ and b/ prefixing thing
<steveeJ> Mic92: is there an example of how the overlay is then used instead of with the overlay process? I'm not sure I get the practical difference here
<tilpner> steveeJ: I think it's among the packages that should live in nixpkgs. #55446 is still looking for a maintainer, and maybe you can review it too
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55446 (by tilpner, 1 day ago, open): slirp4netns: init at v0.3.0-alpha.2
tmaekawa has quit [Quit: tmaekawa]
<Profpatsch> Hm, but it *should* work it looks like
<Profpatsch> --addoldprefix=a/${extraPrefix} \
<Profpatsch> --addnewprefix=b/${extraPrefix} \
<Profpatsch> Oh, it’s only if extraPrefix is set at all.
<Mic92> Profpatsch: github has a compare view to get a range of commits.
<Mic92> this should be preferred over the pr patch url
yayforj has joined #nixos
<steveeJ> tilpner: did you use that for rootless podman too? I didn't succeed all the way using it
<{^_^}> [nixpkgs] @vcunat pushed commit from Lassi Haasio to master « maintainers: add ilikeavocadoes (Lassi Haasio) »: https://git.io/fhHN2
<tilpner> steveeJ: Yes, and I got it working for a while. But then something changed and now networking is broken during image builds (but not while running the base image)
nD5Xjz_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #55514 → vcs_query: init at 0.4.0 → https://git.io/fhHNa
<Profpatsch> Mic92: What’s the easiest way to get that for a PR?
<thefloweringash> Mic92: I don't suppose you recall the context of this commit -- what kind of breakage did it address? https://github.com/NixOS/nixpkgs/commit/3f6d21bafc50d788d570a74dad957e792cea855d
<steveeJ> tilpner: image builds with podman?
<tilpner> steveeJ: Yes
<steveeJ> I wasn't aware podman can build images too
<{^_^}> [nixpkgs] @vcunat merged pull request #55512 → maintainers: add ilikeavocadoes (Lassi Haasio) → https://git.io/fhHNE
<tilpner> steveeJ: It works with buildah, but not with podman build .
<steveeJ> is that an upstream issue or nixos specific?
<tilpner> I haven't found out
<Izorkin> Please check this PR #54903 #51902 #44343
<tilpner> But #podman didn't know either
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54903 (by Izorkin, 1 week ago, open): pythonPackage.psutil: 5.4.8 -> 5.5.0
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 8 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 27 weeks ago, open): mariadb: 10.2.17 -> 10.3.12
<{^_^}> [nixpkgs] @FlorianFranzen closed pull request #55513 → swayidle: 1.1 -> 1.2 → https://git.io/fhHNg
<Profpatsch> Oh, huh, the fetchpatch arguments don’t seem to do anything.
<steveeJ> I can check it next week, I happen to currently work for Red Hat and can ping folks
maximiliantagher has quit [Ping timeout: 245 seconds]
<Profpatsch> Oooooh, oooooh, fixed derivation input.
<steveeJ> tilpner: did you have to do something along the lines of https://gitlab.com/steveeJ/infra/blob/master/nix/os/profiles/podman/configuration.nix?
dsiypl4 has joined #nixos
<Profpatsch> I’m dumb khtbye
<Profpatsch> *kthxbye
<tilpner> steveeJ: Can I add your repo to search.tx0.co? Having it indexed would have been very helpful while figuring that out
<steveeJ> steveeJ: please do so
<tilpner> steveeJ: And yes, I have something like that, much shorter though
barrel has joined #nixos
barrel is now known as thegamingbarrel
MichaelRaskin has joined #nixos
nD5Xjz has joined #nixos
<steveeJ> tilpner: to make this support multiple users we need a group for the podman users and then add 65k to the start of each users range. that could also live in the module.
<tilpner> Yes, I just didn't have the time, and it was an experiment anyway
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55322 → firejail: 0.9.56 -> 0.9.58 → https://git.io/fh92s
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhHNM
<{^_^}> [nixpkgs] @rycee opened pull request #55515 → nixos/wpa_supplicant: use `<citerefentry>` → https://git.io/fhHND
<steveeJ> tilpner: did you stop using podman altogether or just the rootless mode?
EffSquared has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #53659 → adlplug, opnplug: init at 1.0.0-beta.5 → https://git.io/fhZez
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhHN9
<EffSquared> Good day. It seems like staging has not been merged for almost a month. Then again the metric I used searching 'merge branch staging', there must be a correct way to check this.
zupo_ has joined #nixos
<MichaelRaskin> Staging or staging-next?
<MichaelRaskin> The flow is staging -> staging-next -> master
<tilpner> steveeJ: I tried it because I wanted to try another project that was using Docker as a build system (but I didn't want to use Docker). Now that the other project is no longer relevant to me, I no longer have a need for Docker or podman. I don't think I'll be able to put much time into NixOS support for it
<MichaelRaskin> You can see the discussion in the PRs from staging-next to master
zupo has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Ah indeed #54306 is abount a month old
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54306 (by FRidh, 3 weeks ago, open): Staging next
<stranger___> etu: Thank you much! could you please also look at https://github.com/NixOS/nixpkgs/pull/53662 which is companion software?
<{^_^}> #53662 (by gnidorah, 4 weeks ago, open): opl3bankeditor, opn2bankeditor: init
<gchristensen> interesting, nixos/release-combined.nix can't be called with --pure-eval
<clever> gchristensen: how does it fail?
<gchristensen> pkgs = import ./.. {};, and this depends upon builtins.currentSystem
<clever> ah
<gchristensen> I could do a scopedImport >:D to fix it
<clever> ew! :D
iqubic` has joined #nixos
<gchristensen> ofborg should probably switch to a pure eval
silver has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iqubic has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
tmaekawa has joined #nixos
Guanin has joined #nixos
fuzzy-id has joined #nixos
<EffSquared> MichaelRaskin: I see. Thanks. Thats interesting. Staging and staging-next are more than 200 commits apart, with a lot of cherry picking.
<Guanin> Hi, what is the nix/home-manager way of declaring to start something when launching the X session? Writing ~/.xprofile?
<fuzzy-id> which desktop environment(s) would you guys say is the most integrated/beginner friendly one in nixos?
<srhb> fuzzy-id: Given that the "graphical installer" uses KDE, (I think) that's probably a reasonably safe bet.
<clever> fuzzy-id: i use xfce for all of my systems
<srhb> Guanin: xsession.
<EffSquared> MichaelRaskin: Why is there no pull request to merge staging into next-staging? Is it rude to open one, if I think patches are ready to ship?
<clever> ive found that kde has a lot of bloat, it installs a crap-ton of things when enabled
<Guanin> Thanks :)
<fuzzy-id> great, i'll install xfce also and she can give it a try…
ninjin has quit [Remote host closed the connection]
init_6 has joined #nixos
ninjin has joined #nixos
cswl has joined #nixos
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #55516 → Staging → https://git.io/fhHAR
acarrico has joined #nixos
<{^_^}> [nixpkgs] @florianjacob opened pull request #55517 → nixos/cups: Fix Unable to encrypt connection: → https://git.io/fhHA0
Thra11 has joined #nixos
thegamingbarrel has quit [Ping timeout: 246 seconds]
init_6 has quit [Remote host closed the connection]
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « treewide: fix missing libs after libtool pruning #51767 »: https://git.io/fhHAM
tilpner has quit [Quit: WeeChat 2.3]
yayforj has quit [Quit: Leaving]
tmaekawa has quit [Read error: Connection reset by peer]
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 255 commits to master: https://git.io/fhHAd
tilpner has joined #nixos
<gchristensen> yay staging-next merge!
<andi-> brace for impact? :-)
sondr3 has joined #nixos
<gchristensen> staging-next should be a very safe merge these days.
<{^_^}> [nixpkgs] @vcunat merged pull request #54306 → Staging next → https://git.io/fhEXs
tmaekawa has quit [Quit: tmaekawa]
Soo_Slow has joined #nixos
<sondr3> I have a bit of a weird problem, me and my SO built identical computers together but she's running Arch and I'm NixOS with KDE5 but for some reason the audio settings in KDE doesn't allow me to use the builtin audio
<sondr3> It just says it's off in the settings
<sondr3> I have a USB DAC/AMP combo that works fine, but this means I cannot connect my microphone
<sondr3> running `lspci -k | grep -E "Audio" -A 2` shows both audio devices, but the one from the motherboard has no driver in use
<clever> sondr3: check the profiles on the configuration tab, in pavucontrol
<clever> sondr3: also, see what driver arch is using, and try to modprobe it on nixos
regulus_ has quit [Read error: Connection reset by peer]
<sondr3> is lsmod enough to list the drivers or should I do something more?
regulus_ has joined #nixos
<clever> sondr3: lspci -k tells you what driver it is
<sondr3> huh, pavucontrol lists a ton of options that the plasma module doesn't
Anton-Latukha has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<sondr3> it shows that she's using snd_hda_intel
balsoft has quit [Ping timeout: 240 seconds]
<clever> sondr3: and on nixos, does `lsmod | grep snd_hda_intel` list it?
<sondr3> I can see that the audio device on my graphics card says that the kernel driver in use is snd_hda_intel too
eadwu has joined #nixos
<sondr3> it's just strange that the built-in audio controller doesn't load with a driver
<clever> that is odd
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teehemka_ has joined #nixos
maximiliantagher has joined #nixos
<sondr3> oh wait no, my grep-fu was just too weak, I can see that the driver is loaded
<sondr3> but plugging anything into the 3.5 jacks does nothing though
<clever> sondr3: one min
<clever> nix run nixpkgs.evtest -c evtest
<clever> sondr3: run this
<clever> /dev/input/event4: HDA ATI SB Front Mic
<clever> /dev/input/event5: HDA ATI SB Rear Mic
<clever> on my machine, i see 2 mic input sources
<clever> Event: time 1549806247.693860, type 5 (EV_SW), code 4 (SW_MICROPHONE_INSERT), value 1
<clever> sondr3: and plugging something in, triggers a input event (like a keyboard or joystick(
<sondr3> okay, plugging into the front did nothing but plugging in the back shows it being inserted and everything
<sondr3> I think I may have messed up the cables to the motherboard then
<clever> sondr3: `alsamixer -c 0`, on the capture tab,lets you select the capture source, but yeah, it could also be a wiring fault
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #55519 → Staging → https://git.io/fhHxt
<{^_^}> [nixpkgs] @FlorianFranzen closed pull request #55516 → Staging → https://git.io/fhHAR
<sondr3> gimme a sec, I'll power it off and check the cables
<sondr3> thanks for the great help clever
<clever> yep
<clever> sondr3: something neat you can do that most others cant, you have a working machine to compare against, or even swap hdd's between@
<clever> s/@/!/
<ottidmes> gchristensen: I had hoped rustc 1.32 would be in the staging merge, but I guess its in the next one, guess I will have to wait a bit longer
<gchristensen> ack
<MichaelRaskin> EffSquared: the goal seems to be that only the necessary build fixes get picked into staging-next, and once staging-next ships, the entire staging is merged into staging-next and stabilisation is restarted
slyfox_ is now known as slyfox
teehemka_ is now known as teehemkay[away]
sondr3 has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
zupo_ has joined #nixos
fuzzy-id has quit [Ping timeout: 250 seconds]
sondr3 has joined #nixos
<sondr3> clever: hot damn, I hadn't plugged it in properly, it now works
<sondr3> thanks a ton
noonien has joined #nixos
<noonien> hello folks!
<noonien> i was wondering, i would like to get https://github.com/svenstaro/rofi-calc in my system
<noonien> the compilation results in a .so that rofi needs to load
<noonien> i think rofi has a flag that lets me instruct it where to find its plugins, however
teehemkay[away] has quit [Ping timeout: 244 seconds]
zupo has quit [Ping timeout: 245 seconds]
<noonien> i think i can only supply one path, not multiple (i haven't checked)
<noonien> either way, if the flag were not present, how would one add the .so from the build of rofi-calc to an existing path in the `rofi` package
<noonien> i'm guesssing this would require some kind of support from the `rofi` package
<symphorien> the usual way to do this is: make a rofi-with-plugins function which takes a list of plugins and symlinkJoins them with the original derivation for rofi
<symphorien> then install rofi-with-plugins instead of rofi
<noonien> oh, cool!
Soo_Slow has quit [Ping timeout: 246 seconds]
acarrico has quit [Ping timeout: 250 seconds]
fusion809 has joined #nixos
Makaveli7 has quit [Quit: Leaving]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maximiliantagher has quit [Ping timeout: 240 seconds]
Makaveli7 has joined #nixos
<Thra11> If I run `cabal2nix --shell . > shell.nix` then `nix-shell --run ghci` in a Haskell project, I can import the modules which the project depends on, but I can't import the modules in the project itself. How can I do this?
rfold has joined #nixos
<clever> Thra11: i use `runhaskell Setup.hs configure` and then `runhaskell Setup.hs repl`
<Thra11> clever: Thanks!
tilpner has quit [Quit: WeeChat 2.3]
acarrico has joined #nixos
EffSquared has quit [Quit: Leaving]
<ToxicFrog> Argh. ledger-autosync is broken becaue it depends on fuzzywuzzy, which doesn't appear to even be packaged, let alone listed in its dependencies
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #55519 → Staging → https://git.io/fhHxt
<{^_^}> [nixpkgs] @matthewbauer pushed 204 commits to staging-next: https://git.io/fhHxS
Guest64117 has quit [Ping timeout: 250 seconds]
elgoosy has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 245 seconds]
mbrock has joined #nixos
<mbrock> hey, I'm wondering why a build depends on a certain thing (llvm), but since the build fails I can't use `nix-store` to check the dependency graph
<symphorien> use nix-store on the .drv file
<mbrock> ah, the .drv is generated even before the build starts?
<symphorien> yes
<symphorien> it describes what to build
<mbrock> thanks, that's good to know
<symphorien> you can use nix-instantiate instead of nix-build to obtain it
agander has joined #nixos
zupo has joined #nixos
tilpner has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55003 → linkFarm: hacky quoting -> escapeShellArg → https://git.io/fhyC5
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fhHpv
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c40f2114992 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<joepie91> is there some sort of utility in nixpkgs yet for installing a global package from cargo via systemPackages?
<symphorien> there is buildRustPackage
<joepie91> that is only a small piece of the puzzle though
<symphorien> then I don't understand what you want
<joepie91> what I'm looking for is effectively `fromCargo "somepackage"` with maybe some extra options for non-cargo dependency specification, for quickly specifying a thing from cargo (like bootimage or cargo-xbuild) to install without having to essentially package it for nixpkgs
<pie__> its really not user friendly that unfree packages arent listed in the search
<{^_^}> #17126 (by grahamc, 2 years ago, open): Unfree software is unintuitively hidden for new users
<pie__> joepie91, 44 thumbs up xD thats got to be a record
civodul has joined #nixos
<joepie91> symphorien: see above clarification btw
<symphorien> carnix may help then
<symphorien> I think it can "automatically package" something from crates.io
eadwu has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55480 → textadept: 9.3 -> 10.2 → https://git.io/fhHPv
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhHpU
<joepie91> pie__: outdated apparently
<symphorien> is there a history of the state of crates.io ? I mean is there a way to checkout the list of crates as it was last week ?
<symphorien> that would be a requirement for a fromCargo function
<pie__> joepie91, eh, wrong link. its kinda disappointing peoples' tooling is better than the official pages
<pie__> theres an 18.09 at the top
<joepie91> symphorien: right, okay, but that's still not a one-shot built-into-nixpkgs utility for quickly adding a Cargo package to systemPackages, it's still just a component to be used *for* building such a thing... so is the answer here "no, there's no such thing in nixpkgs yet"?
<joepie91> pie__: I mean as in, it doesn't get regularly updated according to samueldr
<pie__> joepie91, ah.
<joepie91> symphorien: not sure I follow, why would that feature be needed?
<symphorien> as far as I know, yes, but maybe I ignore such a tool
<symphorien> because nix can only fetch stable resources
<symphorien> using a impure fetcher would be a no-no given rust build times
mkoenig has quit [Remote host closed the connection]
<joepie91> symphorien: Cargo claims an immutability guarantee on released versions like most language registries, afaik
<joepie91> ie. once a version number has been used for a release, no new release under that number can ever be uploaded
<symphorien> I am speaking of the index
<symphorien> not of the crate tarballs themselves
<symphorien> ah nice, thanks tilpner
eadwu has joined #nixos
<ToxicFrog> Ok, wait, no, I packaged ledger-autosync and fuzzywuzzy myself
<ToxicFrog> And ledger-autosync has buildInputs = [ pkgs.fuzzywuzzy ]
eadwu has quit [Client Quit]
<ToxicFrog> But it can't find it at runtime, and it used to be able to
<ToxicFrog> Did something change about python27Packages.buildPythonPackage in the last year that would affect this?
agander has quit [Ping timeout: 244 seconds]
hlolli has joined #nixos
<hlolli> I'm thinking about finally upping my security, what password manager works well both with NixOs and devices like iPhone?
endformationage has joined #nixos
o1lo01ol1o has joined #nixos
<gagbo> I'm curious about how you'd make it work with mobile devices too
<adisbladis> Pass probably has ios applications
<gagbo> (For the time being I use keepassxc on Linux and windows, synchronized with a nextcloud instance ; and I generate easy enough passwords to write for when I need mobile passwords)
<ToxicFrog> I've been using keepass, which has an android version, and using a separate sync app to keep the vault synced between my computer and my phone
<ToxicFrog> I don't know if there are iOS versions
eadwu has joined #nixos
dermetfan has quit [Ping timeout: 244 seconds]
Church_ has joined #nixos
DrLambda has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @HaoZeke opened pull request #55521 → Fix minuet → https://git.io/fhHpn
<hlolli> thanks ^ for the pointers I'll look into those
<{^_^}> [nixpkgs] @HaoZeke closed pull request #53391 → minuet: Fix build → https://git.io/fhOf4
eadwu has quit [Quit: WeeChat 2.3]
DrLambda has joined #nixos
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
eadwu has joined #nixos
<{^_^}> [nixpkgs] @peterromfeldhk closed pull request #55033 → WIP: pythonPackages.django-debug-toolbar: init at 1.11 → https://git.io/fhy77
<{^_^}> [nixpkgs] @peterromfeldhk closed pull request #55030 → WIP: pythonPackages.django-storages: init at 1.7.1 → https://git.io/fhy7V
<{^_^}> [nixpkgs] @peterromfeldhk closed pull request #55029 → pythonPackages.django-sql-explorer: init at 1.1.2 → https://git.io/fhy7u
<{^_^}> [nixpkgs] @peterromfeldhk closed pull request #55028 → WIP: pythonPackages.django-jsonfield: init at 1.0.1 → https://git.io/fhy70
JosW has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #55522 → greybird: 3.22.9 -> 3.22.10 → https://git.io/fhHp2
<{^_^}> #24314 (by therealpxc, 1 year ago, merged): fish: fix environment clobbering and improve initialization
<{^_^}> [nixpkgs] @vbgl opened pull request #55524 → ocamlPackages.hex: 1.2.0 -> 1.3.0 → https://git.io/fhHpr
amir has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #55525 → tt-rss-plugin-auth-ldap: Use the correct license → https://git.io/fhHpi
amir has joined #nixos
justanotheruser has joined #nixos
DrLambda has quit [Ping timeout: 250 seconds]
agander has joined #nixos
gagbo has quit [Quit: I'm out !]
dsiypl4 has quit [Ping timeout: 246 seconds]
<samueldr> pie__, joepie91, right, I still haven't taken the time to automate the update (initial plan was to not bother since it would be upstreamed)
sondr3 has quit [Ping timeout: 256 seconds]
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #55526 → mblaze: 0.4 -> 0.5 → https://git.io/fhHp7
gagbo has quit [Client Quit]
<samueldr> (just pushed an update)
<Church_> Heya samueldr
maximiliantagher has quit [Ping timeout: 272 seconds]
gagbo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
dsiypl4 has joined #nixos
work_ has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #55511 → tlf: Init at 1.3.2 → https://git.io/fhHNR
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhHhG
<{^_^}> [nixpkgs] @fare opened pull request #55528 → Update Gambit and Gerbil from Upstream → https://git.io/fhHhn
<{^_^}> [nixpkgs] @etu opened pull request #55529 → ebook2cw: Move from misc to radio and do some cleanups → https://git.io/fhHhC
<ottidmes> hlolli: I am using bitwarden_rs, works on the phone, and as a website: https://github.com/NixOS/nixpkgs/pull/55413
<{^_^}> #55413 (by msteen, 2 days ago, open): bitwarden_rs: init at 1.4.0
maximiliantagher has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
random_yanek has quit [Quit: random_yanek]
o1lo01ol1o has joined #nixos
shibboleth has joined #nixos
balsoft has joined #nixos
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
ryantrinkle has quit [Ping timeout: 245 seconds]
random_yanek has joined #nixos
mmlb3 has quit [Ping timeout: 246 seconds]
rycwo has joined #nixos
mightybyte has quit [Ping timeout: 250 seconds]
<noonien> i've added systemd.users.services.myservice in my configuration.nix
<noonien> and switched to it
<noonien> but i don't see the service in systemctl --user list-units
<noonien> it appears only after a reboot
<noonien> reload-daemon didn't seem to add it either
mightybyte has joined #nixos
<noonien> /etc/systemd/user/myservice.service exists though
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
drakonis has joined #nixos
balsoft has quit [Ping timeout: 246 seconds]
dsiypl4_ has joined #nixos
dsiypl4 has quit [Ping timeout: 250 seconds]
<das_j> Are nix builds run in an own networking namespace?
<clever> das_j: normal builds are, fixed-output are not
<das_j> Thank you :)
<clever> das_j: they only see `lo` with the normal 127.0.0.1
fsdlajfdlsakjfls has joined #nixos
<das_j> So if the build starts a daemon that listens on a already-occupied port, that's no problem?
<fsdlajfdlsakjfls> Hey guys, bit awkward. But I'm high on LSD and really need to delete all my old NixOS generations to free up space and I'm too high to figure it out how do I do that again
<fsdlajfdlsakjfls> Thanks :D
<simpson> das_j: It might be fine. What are you building?
<das_j> simpson: Galera cluster. And iirc it does listen during some tests. And the server running the hydra already has a Galera node running
<das_j> fsdlajfdlsakjfls: Try sudo nix-store --gc
<fsdlajfdlsakjfls> Or just the unused packages that are in the cache I guess?
applePrincess has joined #nixos
<fsdlajfdlsakjfls> das_j: Yes, that's what I wanted
<fsdlajfdlsakjfls> Thank you!
<fsdlajfdlsakjfls> Bye!
<das_j> you're welcome
<das_j> enojoy the trip
<fsdlajfdlsakjfls> Weee
fsdlajfdlsakjfls has quit [Client Quit]
<das_j> wtf...
<simpson> das_j: Ah, for testing. I appreciate your testing dedication. I think that even the `lo` is isolated with a namespace or something similar, so that you should be able to indeed use the same port number every time.
<das_j> Okay, that should do the trick
<das_j> I didn't say "nix test". I meant the tests the makefile (?) executes
<clever> das_j: yeah, builds have their own private `lo` they can listen on, so you dont have to do anything special
<das_j> nice
<das_j> btw, is /tmp for the temporary build root hard coded in nix?
<clever> das_j: on newer versions of nix, its /build/
maximiliantagher has quit [Ping timeout: 246 seconds]
<simpson> clever: ...Wait. So if I promise that, say, I'll compile a Monte module to a fixed output, then I'm allowed to do whatever networking I'd like towards that goal?
<das_j> I mean on the host system
<simpson> In particular, I'd be allowed to turn up something like a DHT node?
<das_j> The directory under /build in the chroot
<clever> simpson: yep
<clever> simpson: you can even open a reverse shell and let an attacker into the box (under the nixbld user)
<{^_^}> [nixpkgs] @steveeJ opened pull request #55530 → rdedup: 3.0.1 -> 3.1.1 → https://git.io/fhHhx
<clever> das_j: i believe nix-daemon will obey its $TMP or $TMPDIR
<simpson> clever: u'ii Amazing.
<das_j> But there is no way to just change it for ONE build?
applePrincess has quit [Remote host closed the connection]
<clever> das_j: not easily, why do you want to move it?
<clever> simpson: the build will only pass if $out has the hash you defined upfront, and will fail if anything else happens
<clever> simpson: but in some cases, having the build "never stop" could be worse
<das_j> clever: Well, ajs124 and I have a system that builds AOSP in nix. However, /tmp (when on tmpfs) is usually to small to hold the entire AOSP source tree. So the only real solution currently is persisting the entire /tmp directory
<clever> simpson: it could just be a crypto-coin miner :P
<clever> das_j: you could use systemd.services.nix-daemon.Environment to mess with TMPDIR, so all builds use a diff temp dir
xkapastel has quit [Quit: Connection closed for inactivity]
<das_j> clever: That might be a good solution, thank you
hlolli has quit [Quit: Leaving]
slack1256 has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @steveeJ opened pull request #55531 → pkgs/misc/cups/drivers: add brother mfcl3770cdw → https://git.io/fhHjm
<{^_^}> [nixpkgs] @dasJ opened pull request #55532 → mumsi: Init at git-2019-02-10 → https://git.io/fhHjY
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
stranger___ has quit [Quit: Connection closed for inactivity]
_kwstas has joined #nixos
o1lo01ol1o has joined #nixos
shibboleth has quit [Quit: shibboleth]
o1lo01ol1o has quit [Remote host closed the connection]
<noonien> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<noonien> ,
<{^_^}> Special commands: find tell locate - Commands sorted by use count, page 0 (use ,<n> to view page <n>): tofu IFD library unfree -A declarative escape'' paste libraries help stateVersion callPackage profiling pr unstable imperative which-channel escape" exec fancy-uninstall overlay xy NUR channels loot nixlang++ ping howoldis jDwhat pills pinning xml cloak error gctest.html nixGL runtimeDeps smart-questions tias upgrade wololo configsearch haskell
<noonien> hmm, is there a channel wheere i can find more about the bot, without spamming here?
<qyliss> You can PM it
<noonien> oh, cool
<noonien> there was a website where one could searech thought other peope's config, but i don't remember it
<qyliss> I do it all the time for ,locate
o1lo01ol1o has joined #nixos
kleisli has quit [Read error: Connection reset by peer]
<samueldr> ,configsearch noonien
<{^_^}> noonien: To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co (Ping ${"til" + "pner"} if it acts up again)
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
<noonien> oh, cool
<noonien> oh, can't find what i'm looking for
<noonien> i'm using i3blocks, and i currently have `/nix/store/klqv1dy2z5awi9lij6m8a67j58z2yayl-i3blocks-1.4/libexec/i3blocks/$BLOCK_NAME` but this is not a good solution
<noonien> oh, i just realised it's passed to `sh -c`, so i should be able to have a command that gives me the derivation path
<noonien> how do i get the store path for a package?
MinceR has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
MinceR has joined #nixos
mkoenig has joined #nixos
<samueldr> depends on when
<{^_^}> [nixpkgs] @vbgl merged pull request #48532 → ocamlPackages.cppo: 1.6.4 -> 1.6.5 → https://git.io/fxuzO
<{^_^}> [nixpkgs] @vbgl pushed commit from @r-ryantm to master « ocamlPackages.cppo: 1.6.4 -> 1.6.5 »: https://git.io/fhHjw
<samueldr> > ${hello}
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):218:1
<samueldr> oops lol
<samueldr> > "${hello}"
<{^_^}> "/nix/store/n7yxq1946k8hscvikzwhjiqc7yw3vn49-hello-2.10"
rycwo has quit [Ping timeout: 264 seconds]
dermetfan has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<noonien> hmm
<noonien> how would i do that from the command line?
<noonien> `nix eval i3blocks` didn't seem to work
MinceR has quit [Ping timeout: 240 seconds]
<srhb> noonien: What are you trying to do really? You should not normally rely on store paths outside of nix expressions.
<srhb> noonien: If you need a package to have a stable path for some non-nix purpose, install it into a profile.
MinceR has joined #nixos
<noonien> i3blocks requires a fallback path for modules that i don't find a command for
<noonien> leaving it blank does not work
<noonien> i currently resorted to `command=$(dirname $(readlink -f $(which i3blocks)))/../libexec/i3blocks/$BLOCK_NAME`
<noonien> but there should be an easier way
<srhb> noonien: Install it into your profile
<srhb> then it's ~/.nix-profile/libexec/i3blocks
<noonien> i would rather not
<srhb> noonien: Why not?
<elvishjerricco> noonien, srhb: Shouldn't they instead generate the config file from nix and string interpolate the package?
<srhb> elvishjerricco: If the i3 config file is generatable, sure.
<srhb> (I don't know i3)
<elvishjerricco> Me either
<noonien> i don't have a user profile atm, and i don't want one just beause one package is sucky
<srhb> noonien: Are you on NixOS?
<noonien> i am, yes
<srhb> noonien: Then install it into your systemPackages
<srhb> Then, it's /run/current-system/sw/libexec/i3blocks
<elvishjerricco> Or environment.etc the config file
<noonien> OH
<noonien> i didn't think of that
<elvishjerricco> (If it's an etc file)
<srhb> noonien: If you're willing to generate your i3 config file through nix itself, you can also do what samueldr showed you and elvishjerricco suggested.
<srhb> (Then it's okay to refer directly to a store path, since everything is in sync)
<srhb> But having it in your system profile should be just fine too.
<noonien> `find /run/current-system -name libexec` returns nothing
<srhb> noonien: did you rebuild after adding i3blocks to your systemPackages?
o1lo01ol1o has joined #nixos
<clever> noonien: find doesnt follow symlinks
<cswl> HI
<srhb> I'm not certain it's in the default pathsToLink anyway.
<cswl> Im trying to start services from nix pkgs.. but nothing is there
<cswl> I mean the service files for systemd
<noonien> srhb: yes, i3blocks is installed for quite a while, i had the store path in the config file, which works, but it's hacky
<noonien> i don't want to generate configs or anything, there is no need, it seems like an overengineered solution
<srhb> noonien: You probably want to do environment.pathsToLink = [ "/libexec" ]; then
<noonien> oh, great, i'll try that
<elvishjerricco> cswl: Are you trying to use these services on NixOS or non-NixOS?
<cswl> Non..
maximiliantagher has joined #nixos
<cswl> Just nikpkgs in /nix/store
<noonien> wohoo! thanks srhb! i can now use `/run/current-system/sw/libexec/i3blocks/`
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<noonien> i'm planning to get rid of i3blocks soon anyway, just wanted to learn how to fix these kinds ofissues
<elvishjerricco> cswl: NixOS has services defined for many nix packages, but none conveniently written to be used as systemd services on other distros. Home-manager is the closed thing for that
<srhb> noonien: Great :) Yeah, you either generate a nix expression that can interpolate a store path directly, or you install into a profile (such as the system profile) to get a stable path across versions.
<jD91mZM2> How do you access the entire log from `nix build`? Or should one just resort to `nix-build` for now?
<{^_^}> [nixpkgs] @seqizz opened pull request #55533 → gita: init at 0.7.2 → https://git.io/fhHjF
<noonien> /run/current-system/sw/libexec/i3blocks seems like a better solution, beacuse the store path might change after starting i3blocks then doing an upgrade + gc
mmlb3 has joined #nixos
<symphorien> jD91mZM2: nix log
<noonien> well, one could argue the reverse
maximiliantagher has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
Church_ has quit [Ping timeout: 240 seconds]
<srhb> noonien: The idea with using a nix expression with interpolation is used many places and works just fine because your wrapper or whatever will always depend on the "newest" path -- the one that you've currently built
MinceR has quit [Ping timeout: 240 seconds]
<noonien> well, that would have also been a solution, since i3blocks allows me to do that
<noonien> but i couldn't figure out how to do it
<noonien> nix eval i3blocks did not work
<srhb> Nono, I mean a _nix_ expression, not a command line.
<srhb> nix eval nixpkgs.i3blocks.outPath would work, but is a bad solution exactly because of the decoupling you mentioned.
<noonien> is `nixpkgs.i3blocks.outPath` not a nix expression in this case?
MinceR has joined #nixos
<srhb> Yes, it is. What I meant is that the expression that generates your config should be in sync with i3blocks store path always
<srhb> This solution will not
<cswl> elvishjerrico.. I see.. theres systemd.services = mapAttrs'.. which I think creates systemd files for NixOS
<noonien> Oh, i see, so basicallly turning my config into a derivation
<srhb> noonien: That's right.
<noonien> I will eventually do this, but i'm currently working on migrating away from ubuntu
<srhb> noonien: That would inject the dependency on the store path of i3blocks directly, ensuring there can never be a "desync"
<symphorien> noonien: it may be worth the time, yet. You are currently going "against" the design of nix, and this will make everything more complicated for you.
<noonien> I understand, I'm making things better with each iteration, but i need to get stuff working first
<symphorien> my point is: you might go faster doing it the "right way"
hellrazo1 has quit [Quit: WeeChat 2.3]
<noonien> i don't disagree. i'm still learning what the "right way" is, the nix way of doing things is unlike any os i've ever worked with before
<{^_^}> [nixpkgs] @samueldr opened pull request #55534 → pythonPackages.mailman-rss: init at 0.2.4 → https://git.io/fhQee
MinceR has quit [Ping timeout: 246 seconds]
MinceR has joined #nixos
i1nfusion has quit [Remote host closed the connection]
iqubic has joined #nixos
i1nfusion has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
Yaniel has quit [Excess Flood]
Yaniel has joined #nixos
agander has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
xkapastel has joined #nixos
_kwstas has quit [Quit: _kwstas]
Barnabas[m] has joined #nixos
aanderse_ has joined #nixos
aanderse has quit [Ping timeout: 250 seconds]
rcshm has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhQe8
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> I have a systemd user service that I expect to be restarted when I change it, but it does not. I first thought it had to do with it inactive/dead, so it cannot be restarted before being started, but after changing it to Type=oneshot and RemainAfterExit=yes, starting it, and rebuilding, it still did not restart, any ideas?
hph^ has quit []
<clever> ottidmes: why is it Type=oneshot?
JosW has quit [Ping timeout: 252 seconds]
<ottidmes> clever: its a script that checks something and if it passes, it copies some files over, which it should only need to do once at start and rebuild
hphs^ has joined #nixos
<clever> ottidmes: ah, not sure then
<clever> ottidmes: an activation script might do it, but you need to be careful not to fail there, or the machine wont even boot
<elvishjerricco> ottidmes: I had an issue with user services one time. I had to call `systemctl --user daemon-reload` manually. No idea what caused it, but ever since, I've always made sure to do that myself just in case.
asymmetric has joined #nixos
<elvishjerricco> Not sure if user services are automatically reloaded or not
<ottidmes> their config seems to imply they do, but in practice the seem not to
<ottidmes> otherwise why even have: https://nixos.org/nixos/options.html#systemd.user.services.%3Cname%3E.restartifchanged
<clever> ottidmes: it restarts when changed by default
<clever> ottidmes: the restartifchanged flag is to disable that
<ottidmes> if only it did :P that is the behavior I expect, but it does not seem to do so for user services
<clever> ottidmes: last i looked, user services dont have any support for that, but it may have been changed recently
<ottidmes> my point was, if there is a flag to disable this default behavior, it ought to be the default behavior, or else, why have such a flag
rfold has quit [Quit: leaving]
<noonien> hmm, i'm trying to install nerdfonts, however, nixos-rebuild seems to hang after a 127byte curl
<clever> noonien: what happens if you manually run curl on the same URL?
<clever> with just the url and no other flags
rcshm has quit [Remote host closed the connection]
<ottidmes> I don't mind making my service a system service, it that makes things easier for me, though is there an easy way to use the target directory permissions when copying as root?
<noonien> it's a github URL, which redirects, and curl doesn't follow redirects by default
<clever> noonien: add -L to the flags
asymmetric has quit [Remote host closed the connection]
<clever> ottidmes: you could just set the User= flag to run as that user
rcshm has joined #nixos
asymmetric has joined #nixos
<noonien> it doesn't hang
<ottidmes> clever: yeah but I would prefer not having to hardcode that
<ottidmes> clever: since I plan on sharing this with others
<clever> noonien: try downloading it with -L -O, then run `nix-store --add-fixed sha256 ./file`
<clever> ottidmes: not sure then
<elvishjerricco> noonien: I'm building nerdfonts now. I don't think it hangs
<elvishjerricco> noonien: The build log stops moving, but my network usage remains high
<elvishjerricco> I think the binary is just very large
<elvishjerricco> and takes a while to download
<noonien> oh, i'll install something to monitor my bandwith to see if that's the issue
<clever> noonien: vnstat -i eth0 -l
<ottidmes> clever: chown --reference="$dir" "$dir" will work I guess
<clever> ottidmes: ah, that should work
<clever> ottidmes: -R may also be required
<tilpner> noonien, elvishjerricco: 2027M
<noonien> oh, yeah, it appears to still be downloading from github, just REAL slow
<noonien> i was expecting for the progress to be displayed in the log
<noonien> that's a lot of fonts
<elvishjerricco> noonien: It's been going at 6M/s for like 5 minutes now on my machine :P
<noonien> < 30KB/s for me
<noonien> heh
<elvishjerricco> noonien: Yeesh. That'll never finish
<noonien> damn UK ISPs suck
Anton-Latukha has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<tilpner> Is your connection just that bad, or is it a GH mirror problem?
<noonien> i'm from romania, where i pay 9EUR/month for 1Gbps fiber
<noonien> UK internet, by comparison, is stuck in the stone ages
<noonien> tilpner: i's vodaphone, it's not uncommon to work a LOT faster via vpn
freeman42x has joined #nixos
<noonien> i usually get >8MB/s via vpn on wifi, while without vpn, it's not uncommon to get 30KB/s for connections
<tilpner> Ah, okay. I thought you might have to wait 20h for some fonts now
<noonien> especially with content that's supposed to sit on CDNs
<noonien> well, i just won't install nerdfonts
<__monty__> Wow? They delay inspectable traffic that much?
<noonien> 2GB is too much anyway for me using just one font
<noonien> __monty__: for some reason, i don't trust UK IPS at all
<tilpner> noonien: You can probably adapt the package to install just a single font, and that might even save bandwidth if you have remote builders
<noonien> tbh, i'm pretty sure they even do promiscous packet capture on the router they so generously provided
<noonien> i need to get nordvpn working, it works with openvpn, but i quite like their CLI
<tilpner> noonien: Or you could adapt the package to select fonts from the GitHub releases
slack1256 has quit [Ping timeout: 268 seconds]
<noonien> oh, yes, i'll do that. i was digressing into my VPN issue
agander has joined #nixos
jabranham has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<noonien> withFont seems to download the entire .tar.gz as well
<noonien> oh well
o1lo01ol1o has joined #nixos
JosW has joined #nixos
<tilpner> noonien: Is withFont a function in nixpkgs?
<tilpner> Or did you just write that?
<noonien> i did not, i saw it used by someone, i wouldn't find it in the .nix files for nerdfonts, but for some reason withFonts failed, while withFont worked
zupo has joined #nixos
<noonien> it worked as in "it did not error", didn't actually seem to do anything
<tilpner> Then you'll have to write your own function that downloads the fonts separately from the releases
<noonien> will do, kinda weird that's not what the version in nixpkgs does
ddellacosta has joined #nixos
<noonien> it seems to only be used after the download, so no getting around downloading 2GB
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fhQve
<tilpner> Go fix it :)
<noonien> most fonts seem quite small, there's only a few that seem to be >50mb, one is ~900mb even
<noonien> yeah, a good excuse to setup my overlay
<noonien> gotta look around to see if i can figure the idiomatic way of doing it
shibboleth has joined #nixos
random_yanek has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.5.11 -> 1.5.12 »: https://git.io/fhQvI
<tazjin> Could someone take a look at #55040? It's a small change that's been open for a while now, but blocks the build of the manual
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55040 (by tazjin, 1 week ago, open): Fix manual Makefile by including function doc generation
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
ibxth has joined #nixos
<ibxth> hi, i'm installed nixos by tutorial, reboot and i cant change to virtual terminal via ctrl+alt+f1. What should i do/read to fix this?
<noonien> just curious, anyone got a solution for clearing $HOME of all the annoying .dotfiles?
<noonien> even .ssh
<tazjin> noonien: remove your own write access to $HOME itself, see which applications fail and sort them out one by one ;-)
<tazjin> unfortunately it's usually a problem on the application level because they're not using the XDG folders
<noonien> well, that wouldn't solve the issue, there are some apps that don't support XDG, nor any flags/envs to put their configs somewhere else
erictape1 has quit [Quit: leaving]
<noonien> like .ssh for example
<ibxth> i'm just keep users data in separately folder and home directory only for configfiles
<samueldr> tazjin: looking
_kwstas has joined #nixos
<noonien> i saw gobohide in someone's nix config, i really just want them centralised and hidden from $HOME
goibhniu has quit [Ping timeout: 250 seconds]
<samueldr> noonien: (my config) you may like the idea I'm tempted to try
<noonien> symlinks and hiding might not be the worst solution
<noonien> samueldr: yes, i didn't want to ping you
<samueldr> definitely :)
<noonien> is that what you use gobohide for?
<samueldr> and you didn't
<samueldr> nah, just hide stuff in /
<noonien> ah, i see
<samueldr> setting my home to something like "/Users/samuel/Application Data", but still owning /Users/samuel
<samueldr> so that those damn dotfiles using files will save them in there
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52419 → vscode: fix rpath for native modules → https://git.io/fpAIu
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhQvt
<samueldr> main issue I can see is that some software will default open/save dialogs to $HOME
<samueldr> but I *think* most will default to another XDG spec
<noonien> hmm, yeah, that might be a better solution than patching the kernel to hide files, or map paths
_kwstas has quit [Client Quit]
<noonien> even if not perfect
<noonien> i wonder if i can get zsh to behave as if ~ == $HOME/..
<noonien> so i can just `cd` to go home
<samueldr> (and semi-related, I was thinking of doing the dumbest thing just to see what breaks, of having gobohide hide everything, and have C:/Documents and Settings/samuel/ be my home :))
<noonien> haha
aanderse has joined #nixos
<samueldr> oooh, right, hadn't thought of shells and `cd`
<noonien> gobohide seems to require quite a bit of hacking though
aanderse_ has quit [Ping timeout: 244 seconds]
<noonien> you never know when hacks might break
<samueldr> right, a reason why I haven't upstreamed the patch
<MichaelRaskin> nsjail with a proper set of mounts
shibboleth has quit [Quit: shibboleth]
<noonien> a LD_PRELOAD hack might work
<MichaelRaskin> Until the first Go program
<noonien> or setting $HOME for programs that might abuse it
<MichaelRaskin> (or FPC program…)
eadwu has quit [Quit: WeeChat 2.3]
ibxth has quit [Ping timeout: 246 seconds]
eadwu has joined #nixos
<noonien> hmm, now that i have my own overlay, i'll try to get opensnitch running at some point
<{^_^}> [nixpkgs] @samueldr merged pull request #55040 → Fix manual Makefile by including function doc generation → https://git.io/fhybg
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fhQvu
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55362 → vscode: 1.30.2 -> 1.31.0 → https://git.io/fh99a
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhQvg
Church_ has joined #nixos
<tazjin> samueldr: Thanks for the merge!
<samueldr> thanks for the fix tazjin
<tazjin> I was also the one who originally broke it, so it evens out 😉
mr_noobs has quit [Ping timeout: 244 seconds]
mrnoobs has joined #nixos
Mrmaxmeier has quit [Quit: Ping timeout (120 seconds)]
mrnoobs has quit [Client Quit]
Mrmaxmeier has joined #nixos
ibxth has joined #nixos
iqubic has quit [Ping timeout: 264 seconds]
tuxubuntu[m] has joined #nixos
<noonien> is there a documentation for nixpkgs.lib?
<noonien> i'm trying to understand fetchFromGithub and related functions
<noonien> and i don't even know where it is defined
<ottidmes> noonien: I just always read the source code
<ottidmes> noonien: that particular fetcher is defined in all-packages.nix
<qyliss> fetchFromGitHub isn't actually part of lib, fwiw
<noonien> i see
<tazjin> noonien: yes there is, but it's not yet on the public website
<noonien> is there a command i can run so i can go to the file that defines, for example, fetchFromGitHub?
<tazjin> at least for the lib stuff
<qyliss> nix edit nixpkgs.fetchFromGitHub
<tilpner> That doesn't work for functions
<qyliss> Oh, yes, my bad
<qyliss> I usually do stuff like `git grep fetchFromGitHub =`
<tilpner> Same here
<qyliss> err, `git grep 'fetchFromGitHub ='`
<noonien> hmm, ok
<noonien> is there a way of getting the nix store path of a channel?
<noonien> or, an easy way to just cd to it, so i can grep inside
seanparsons has quit [Remote host closed the connection]
<ottidmes> noonien: I don't use channels via nix-channel, so I cannot test, but I guess this ought to work: realpath "$(nix-instantiate --eval --expr '<nixpkgs>')"
<tazjin> noonien: if you just type `<nixpkgs>` or whatever into the repl you'll get the path
<tazjin> or what ottidmes said
seanparsons has joined #nixos
cswl has quit [Quit: Connection closed for inactivity]
<noonien> i see
<noonien> ottidmes: do you have that aliased by any chance? isn't that something you do often?
<ottidmes> noonien: I do have an alias, but I never really use it, no
<noonien> hmm, is there an other way you browse through nixpkgs's source? do you have a local clone?
<ottidmes> noonien: not sure what your use case is? I use <nixpkgs> in scripts often enough, but I rarely actually need to know what that resolves to myself
<ottidmes> local clone
<noonien> i see
<ottidmes> for PRs and some local patches
<ottidmes> and I use it instead of nix-channel
ddellacosta has quit [Ping timeout: 250 seconds]
<noonien> i see
rcshm has quit [Remote host closed the connection]
<noonien> hmm, i want to create a derivation for installing specific fonts from nerdfonts, each font has an url from which it can be downloaded
ddellacosta has joined #nixos
<noonien> i'm unsure if i should create a derivation for each font, create a derivation on the fly, something like `nerdfonts.font "Something"`, or provide package options, with a default set of functions
<noonien> s/functions/fonts
rcshm has joined #nixos
<ottidmes> well if you create one for each font, it should be easy enough to combine them, so that would be the most flexible I guess
endformationage has quit [Ping timeout: 272 seconds]
<noonien> imho, the best solution would be to create a derivation for each font, however, in this case, should i have one folder per derivation? or one file?
<noonien> or, better yet, since i have a list of "name" "url" "sha", perhaps generate the derivations from that
random_yanek has joined #nixos
<ottidmes> you could even have a whole bunch in a single file, the boilerplate per font can just be done by a function
<ottidmes> right
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<noonien> i see, that would make sense, however, how can i generate a package from each derivation?
<noonien> i currently have `nerdfonts = callPackage ./pkgs/nerdfonts { };` in my overlays
Glider_IRC_ has joined #nixos
<ottidmes> you would have to add `pkgs.recurseIntoAttrs yourPkgSet` to make it a attrset of packages
<{^_^}> [nixpkgs] @eadwu opened pull request #55535 → [18.09] vscode backports - 20190210 → https://git.io/fhQvd
<ottidmes> well its not necessary to make it usable as an attrset of packages, but it allows it to be found by the build machines and search tools
halfbit has joined #nixos
Glider_IRC has quit [Ping timeout: 240 seconds]
<noonien> attrset, so using it as nerdfonts.afont?
<ottidmes> yep
<noonien> hmm, that's pretty awesome
_kwstas has joined #nixos
<arianvp> what's the benefit of nix-copy'ing a closure over to a server, instead of sending it the nixfile and letting it nix-instantiate itself?
_kwstas has quit [Client Quit]
<arianvp> it shouldnt make a difference, if the build server and the server to deploy share the same build cache, right?
q6AA4FD has joined #nixos
<arianvp> wondering if it would be more pratical to send nix files to my servers in prod, than nix-copy-closur'ing
<noonien> is this a commmon convetion? are there packages that don't follow this conventions and do something similar to nerdfonts-afont?
_kwstas has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<ottidmes> noonien: its actually uncommon, I could not find many examples of it myself at least, when writing those mods/engines for openra, there are of course the language packages
<noonien> i remember xorg doing this
<noonien> xdpyinfo is actually xorg.xdpyinfo
<ottidmes> right, xorg is another example
slack1256 has joined #nixos
sakalli_ has joined #nixos
<ottidmes> so what they do, and in hindsight I should have done as well, is just use callPackage as you always do, and have { pkgs }: as the argument at least
iqubic has joined #nixos
<ottidmes> for your set file
sakalli_ has quit [Client Quit]
xkapastel has quit [Quit: Connection closed for inactivity]
rcshm has quit [Remote host closed the connection]
<noonien> i'm unsure about the comment
rcshm has joined #nixos
<noonien> and why exactly they call lib.callPackageWith
xkapastel has joined #nixos
<tilpner> arianvp: It makes a great difference if your evaluation needs many local files
<tilpner> arianvp: You are speaking of copying the closure of derivations (not outputs), right?
o1lo01ol1o has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
ddellacosta has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
i1nfusion has quit [Remote host closed the connection]
<laas> what's the difference between all the normal packages and the unwrapped packages?
longanonname has joined #nixos
<longanonname> Hiho
<longanonname> I'm having some trouble with a fresh nixos setup on my laptop
o1lo01ol1o has joined #nixos
<longanonname> been using it without trouble on my desktop for a while but I got a new laptop and I just set the networking.wireless.enable to true and thought everything'd be fine
<longanonname> but I can't connect (or more like I can't get an ip address? there's no dhclient?) to the internet no matter what
fl0_id_ is now known as help
<longanonname> and I can't rebuild-switch into a networkmanager cause I don't have internet
<longanonname> -_-
help is now known as Guest35439
Guest35439 is now known as step21
<ottidmes> longanonname: if you cannot connect via ethernet, maybe use the liveCD again and mount your filesystems, and do another nixos-install (after changing your config to include networking.networkmanager.enable = true;)
<longanonname> egh
<longanonname> was afraid that'd be the answer
<longanonname> so no idea why wpa_supplicant aint working?
<ottidmes> its probably possible somehow without going with that route, but is definitely the easiest route
<longanonname> to be precise: I can scan and find networks, I can activate the networking interface, I can register a network and put in a ssid etc. but then I get stuck on what I perceive to be the penultimate step: getting an ip address and re
<ottidmes> never used wpa_supplicant myself, I always sticked with networkmanager since it never failed to work for me
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ottidmes> maybe someone else can help
<longanonname> okay
<longanonname> I'll just go with network manager then
<lassulus> longanonname: can you run dhcpcd $yourwifi
<longanonname> sec
<longanonname> aha
<longanonname> no such file or directory for dhcpcd.conf
<longanonname> also was not aware of this dhcpcd command
agander has quit [Ping timeout: 244 seconds]
<lassulus> not sure if it's the default, it's been a while since I last installed nixos without networkmanager
<lassulus> how do you connect to the wifi? wpa_cli? are you editing /etc/wpa_supplicant.conf manually?
<longanonname> tried both of those
<longanonname> and also making the supplicant.conf thing with wpa_passphrase or whatever it was called
<longanonname> but yeah becoming increasingly clear that network manager is the way to go -_-
<lassulus> does iwconfig show the wifi as connected?
<srhb> longanonname: network manager actually has a tui (nmtui) these days that isn't horrible.
<infinisil> Maybe take a look at `systemctl status dhcpcd`
<longanonname> no it does not @lassulus
<infinisil> longanonname: ^
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55522 → greybird: 3.22.9 -> 3.22.10 → https://git.io/fhHp2
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhQfC
<lassulus> then there is a problem with the wifi-config I would guess
halfbit has quit [Ping timeout: 268 seconds]
<longanonname> okay I checked the service status and it's failing arp_open and arp_announce
random_yanek has quit [Ping timeout: 244 seconds]
<longanonname> but I'm 99% sure it's that I don't have this dhcpcd.conf thing
<longanonname> so I'm going to figure that out and see what happens
<lassulus> `read_config: fopen `/etc/dhcpcd.conf': No such file or directory` is also shown for me, but it's just a warning at the beginning, afterwards an ip is still requested
<longanonname> oh
<longanonname> huh
<longanonname> then I'm somewhat out of ideas except going back to the installation media
o1lo01ol1o has joined #nixos
_kwstas has quit [Quit: _kwstas]
<lassulus> does journalctl -u wpa_supplicant show any errors? association attempts?
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
Church_ has quit [Ping timeout: 246 seconds]
<noonien> hmmm, i have a derivation with dontBuild = true, yet i still get "patching, configuring, installing" these are not part of the build process?
<srhb> noonien: dontBuild skips the build phase, not patch, configure, or install phases.
knupfer has joined #nixos
<noonien> hmm, i see, i have a zip of ttf files that only really need copying to a path
<longanonname> hey thanks all for the help I fixed it
<longanonname> and now I have networkmanager (y)
<noonien> is it safe to just do phases = [ 'install' ];? or is this not recommended?
<lassulus> noonien: you can just use the src derivation directly?
ryantrinkle has joined #nixos
<noonien> yes
<lassulus> or the src of the derivation, if you don
<lassulus> don't need to edit it in any way
<noonien> nope, i just need to change a path
<ottidmes> noonien: try buildCommand instead
<ottidmes> if you just have a src and want to do something with just the src
<ottidmes> no standard phases that is
<noonien> i just do `mkdir -p $out/share/fonts/truetype; cp *.ttf $out/share/fonts/truetype` in instalPhase
<obadz> POLL - I'm switching out of GMail and looking for a good desktop E-mail client (would have gone for Mutt but need HTML E-mails). Thinking Thunderbird. Any recommendations?
<lassulus> imo setting phases to [ "install" ] is a good enough solution
<noonien> ottidmes: hmm, it seems fetchzip doesn't actually unzip
<noonien> or, actually, just a second
<lassulus> obadz: people recommended sylpheed to me, haven't really looked into it
random_yanek has joined #nixos
<obadz> lassulus: thanks will have a look.
longanonname has quit [Quit: Page closed]
<noonien> oh, nvm, cool!
<noonien> btw, the sha256 from fetchzip is the sha256 of the zip, not the content, correct?
<{^_^}> [nixpkgs] @Mic92 merged pull request #54125 → iwd: 0.12 -> 0.14 → https://git.io/fhlbB
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fhQf2
<ottidmes> seems to be from the unpacked content
<noonien> hmm, that's odd
<ottidmes> it has recursiveHash = true;
knupfer has quit [Ping timeout: 240 seconds]
<noonien> i guess that makes sense, still kinda weird though
<ottidmes> why weird?
<noonien> i was expecting to set the sha of the actual zip
_d0t has joined #nixos
<noonien> but that would probably mean having an entry in the store for the zip, and another for its content
<_d0t> hi! Is there something like python3.withPackages but for python2?
<ottidmes> python2.withPackages?
<{^_^}> [nixpkgs] @hedning merged pull request #55481 → webkitgtk: 2.22.5 -> 2.22.6 → https://git.io/fhHPf
<{^_^}> [nixpkgs] @hedning pushed to master « webkitgtk: 2.22.5 -> 2.22.6 (#55481) »: https://git.io/fhQf1
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<_d0t> ottidmes: no such thing, it seems
<simpson> > python27.withPackages
<{^_^}> <LAMBDA>
<simpson> > python2.withPackages
<{^_^}> <LAMBDA>
<_d0t> hmm...
asymmetric has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @bennofs merged pull request #55495 → nix-script: init at 2015-09-22 → https://git.io/fhHHO
<{^_^}> [nixpkgs] @bennofs pushed commit from @rnhmjoj to master « nix-script: init at 2015-09-22 (#55495) »: https://git.io/fhQf7
<{^_^}> [nixpkgs] @worldofpeace opened pull request #55538 → backport changes to autoPatchelfHook → https://git.io/fhQf5
o1lo01ol1o has joined #nixos
jackdk has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
ddellacosta has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
shibboleth has joined #nixos
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
o1lo01ol1o has joined #nixos
Makaveli7 has quit [Quit: Leaving]
Thra11 has quit [Ping timeout: 245 seconds]
dermetfan has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
rprije has joined #nixos
Ariakenom has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @florianjacob opened pull request #55540 → Security: Matomo 3.7.0 -> 3.8.1 → https://git.io/fhQJa
_praetorg_ has joined #nixos
simukis has quit [Quit: simukis]
praetorg_ has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #55541 → doc: doCheck: add the special case of 'buildPython*' → https://git.io/fhQJx
endformationage has joined #nixos
ng0 has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Ekleog opened pull request #55542 → ocropus: 20170811 -> 1.3.3 → https://git.io/fhQUe
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
slack1256 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
shibboleth has quit [Quit: shibboleth]
o1lo01ol1o has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
eadwu has joined #nixos
o1lo01ol1o has joined #nixos
lfish has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
eadwu has quit [Quit: WeeChat 2.3]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @wucke13 opened pull request #55543 → pivx: init at 3.1.1 → https://git.io/fhQU0
o1lo01ol1o has joined #nixos
run500 has joined #nixos
_d0t has quit [Quit: Konversation terminated!]
<run500> is there a list "contains element" test in the nix language? looking around in the manual but havent found anything
<noonien> is there a builtin/lib function to turn `somethingLike-this` into `somethinglike_this`?
<matthewbauer[m]> Yes builtins.replaceStrings
<noonien> yes, combined with something that lowers the case, just wanted to know if there was a helper for doing this already
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<simpson> run500: builtins.elem?
<simpson> > builtins.elem 42 [ 0 1 2 ]
<{^_^}> false
dsiypl4_ has quit [Ping timeout: 244 seconds]
<simpson> > builtins.elem 2 [ 0 1 2 ]
<{^_^}> true
<{^_^}> [nixpkgs] @matthewbauer closed pull request #55189 → libvdpau: pull a few upstream commits → https://git.io/fhSQl
<ottidmes> > (s: toLower (replaceStrings [ "-" ] [ "_" ] s)) "somethingLike-this"
<{^_^}> "somethinglike_this"
<ottidmes> noonien: ^
o1lo01ol1o has joined #nixos
<noonien> yeah, it's what i ended up doing
<ottidmes> for more complex cases builtins.split is also very useful
<{^_^}> [nixpkgs] @matthewbauer pushed to master « openblas: fix on darwin »: https://git.io/fhQU7
<run500> simpson: thanks! for some reason i overlooked that in the docs
daniele- has joined #nixos
__monty__ has quit [Quit: leaving]
o1lo01ol1o has quit [Ping timeout: 246 seconds]