sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
srid6390803 has quit [Read error: Connection reset by peer]
srid6390803 has joined #nixos
MmeQuignon has quit [Ping timeout: 258 seconds]
<slabity> yip: Why not just make a new profile for your testing?
<slabity> Or a container?
webster23 has quit [Ping timeout: 250 seconds]
ris has quit [Ping timeout: 258 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #65447 → go-chromecast: init at 0.0.11 → https://git.io/fjyBE
stepcut has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
jasongrossman has joined #nixos
lord| has quit [Quit: WeeChat 2.5]
jluttine has quit [Ping timeout: 246 seconds]
abf_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjyBV
lord| has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
_deepfire has quit [Remote host closed the connection]
<kisik21> yip: I got a wiki article! https://nixos.wiki/wiki/Adding_VMs_to_PATH
<kisik21> I'm sure it needs some improvement, but I captured the gist of it (complete with my crude Nix code examples)
joehh has joined #nixos
justanotheruser has joined #nixos
lord| has quit [Quit: WeeChat 2.5]
lord| has joined #nixos
shibboleth has quit [Quit: shibboleth]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 272 seconds]
hyper_ch has quit [Ping timeout: 245 seconds]
joehh has quit [Ping timeout: 264 seconds]
kreetx has joined #nixos
ambro718 has quit [Ping timeout: 245 seconds]
kreetx has quit [Ping timeout: 248 seconds]
<ivan> konsole segfaults in master for me, any idea what is up
<ivan> kate can't find libstdc++.so.6
<ivan> spectacle also segfaults
noonien has quit [Quit: Connection closed for inactivity]
<ivan> oh the kate thing is a PEBKAC thing for me, I guess all Qt segfaults
selfsymmetric-mu has quit [Remote host closed the connection]
stepcut_ has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
KarlJoad has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<adisbladis> ivan: I can confirm :/
<ivan> thanks
<adisbladis> ivan: When did you start seeing this?
<ivan> adisbladis: I went from before the recent staging merge to 5f9145d56ca543cfe7e7514d74ac9415bb8a1a20
<clever> ivan: git bisect
stepcut has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c5592fabba8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fusion809 has joined #nixos
<KarlJoad> Is there a way to declare the channels you want to use in the /etc/nixos/configuration.nix file?
iyzsong has joined #nixos
<ivan> adisbladis: it's working on 5f33bcd953a17c903e407e6a5fce51039bae239c before the staging-next merge
<{^_^}> #65399 (by ttuegel, 1 day ago, open): Tracking issue for wrapQtAppsHook
dansho2 has joined #nixos
<{^_^}> #65446 (by ttuegel, 1 hour ago, open): Revert "qtbase: Fix paths returned by qmake -query"
selfsymmetric-mu has joined #nixos
<dansho2> how can i change what xdg-open uses to browse directories?
<dansho2> for some reason it's opening them with baobab
hio has quit [Quit: Connection closed for inactivity]
<kisik21> ohhh xdg-open
ng0_ has joined #nixos
<kisik21> I hated it since the beginning of my Linux journey
<kisik21> dansho2: I think there is something in ~/.config/mimeapps.list
<kisik21> or how its called
<ivan> click .jpg in chrome downloads -> opens in wine internet explorer
<kisik21> Edit ~/.config/mimeapps.list to set the associations you want
<kisik21> Hm, I think I need to make a home-manager module for that!
ng0 has quit [Ping timeout: 260 seconds]
<dansho2> kisik21: xdg.mime.enable is set to 'true', but i can't find that file
<kisik21> dansho2: in home-manager config? I don't see an option like that
<dansho2> nixos config
<kisik21> ugh if the file is not present I think you may create it
<kisik21> it's an INI file
is_null has joined #nixos
<kisik21> put "inode/directory=<desktopfilename>.desktop" in [Default Applications] to determine which application will open a directory
<dansho2> ty
kreetx has joined #nixos
mexisme_ has joined #nixos
<kisik21> I hate the incredible statefulness of xdg-open architecture
ng0_ has quit [Quit: Alexa, when is the end of world?]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
ericsagnes has quit [Ping timeout: 276 seconds]
kreetx has quit [Ping timeout: 248 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
vonfry has joined #nixos
stepcut has quit [Remote host closed the connection]
jluttine has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<KarlJoad> Is there a way to declare the channels you want to use in the /etc/nixos/configuration.nix file?
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 248 seconds]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<kisik21> KarlJoad: "Pinning" <nixpkgs> may be what you want. https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs has a bit of information on that.
<KarlJoad> Also, is there a way to specify installation of a newer version of a package? evdion my system only shows 1.5 something. On the nixpkgs git repo, it shows 1.6. 1.5 is failing, and I would like to try 1.6.
<kisik21> Again, you can use "pinned" nixpkgs for that! Use packageOverrides and a let block to add a "evdion" package from newer Nixpkgs version
<KarlJoad> Thanks!
<kisik21> something like nixpkgs.packageOverrides = let nixpkgs-master = import (builtins.fetchGit { name = "nixpkgs-master"; url = https://github.com/nixos/nixpkgs; rev = "master"; }) {}; in { evdion = nixpkgs-master.evdion; };
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericsagnes has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
vonfry has quit [Ping timeout: 248 seconds]
zeta_0 has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
<KarlJoad> kisik21: I've split my packages out into its own file. It goes: environment.systemPackages=with pkgs; [<pkgs>]; Would it go outside, as it's own list?
kreetx has joined #nixos
<kisik21> Um... probably not. I'm not sure
kreetx has quit [Ping timeout: 246 seconds]
<ivan> adisbladis: are you also on NVIDIA?
zeta_0 has quit [Remote host closed the connection]
kreisys has joined #nixos
zeta_0 has joined #nixos
<zeta_0> how do i install ghc 8.6.5 in home.nix, `haskellPackages.ghc_8_6_5` is not working?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65449 → nixos/xdg: disable portals (again, again) → https://git.io/fjyRo
kisik21 has quit [Ping timeout: 268 seconds]
<zeta_0> does anyone know how to do this?
<zeta_0> infinisil: does hie have support for ghc 8.6.5 or should i just stick with ghc 8.6.4?
<ivan> zeta_0: how is it not working in particular
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
<zeta_0> ivan: when i run nixos-rebuild swith it throws an error, do you want me to paste bin my home.nix code for ghc?
phreedom has quit [Ping timeout: 260 seconds]
phreedom has joined #nixos
<ivan> ah no I see it now too
<zeta_0> ivan: well here's my home.nix code for ghc and hie: https://gist.github.com/zeta-00/2a50873a187ec9c22b085aab22a101aa
fragamus has joined #nixos
jasongrossman has joined #nixos
<KarlJoad> I added the 19.03 channel to my channel list, and now I can't perform a `nix search`
<KarlJoad> It always errors out with "error: no results for the given search term(s)!"
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
kori has quit [Ping timeout: 252 seconds]
<zeta_0> so how do i fix the my code so ghc 8.6.5 installs?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #65428 → openjpeg_1: disable tests → https://git.io/fjyWL
<zeta_0> i can't find ghc 8.6.5 in the nix pakages?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<ivan> zeta_0: install haskell.compiler.ghc865 instead?
kori has joined #nixos
<zeta_0> ivan: i don't see it in the nixos packages but i'll try to install it like that
<ivan> I had no idea either but put ghc into https://hydra.nixos.org/jobset/nixpkgs/trunk#tabs-jobs
<ivan> then looked for something that was green
<zeta_0> ivan: does it take a while to load?
<zeta_0> ivan: it finally loaded, so i can use these even though they are not in nixos packages?
<ivan> they're packages
<ivan> nix search is probably just being unhelpful
<ivan> "The Haskell package set is not registered in the top-level namespace because it is huge" https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
<KarlJoad> I'm having another issue. I added the 19.03 channel to my channel list, and now I can't perform a `nix search`. It always errors out with "error: no results for the given search term(s)!"
<zeta_0> ivan: ok that makes sense, now i just need to figure out how i am going to change my code to get it to work(here's the 2 links): https://hydra.nixos.org/job/nixpkgs/trunk/haskell.compiler.ghc865.x86_64-linux https://gist.github.com/zeta-00/2a50873a187ec9c22b085aab22a101aa
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
kreetx has joined #nixos
<ivan> maybe some haskell person knows
kreisys has quit [Remote host closed the connection]
<zeta_0> ivan: well this is nixos specific so i don't think they will be able to help me with this, so i guess i will just experiment with it until i can get it to work
<zeta_0> ivan: thanks for the help
mkoenig_ has joined #nixos
kreetx has quit [Ping timeout: 246 seconds]
kreetx has joined #nixos
mkoenig has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @titanous opened pull request #65450 → add ccextractor → https://git.io/fjyR7
zeta_0 has quit [Remote host closed the connection]
kreetx has quit [Ping timeout: 245 seconds]
schneid3306 has joined #nixos
revtintin has joined #nixos
rprije has joined #nixos
schneid3306 has quit [Client Quit]
zeta_0 has joined #nixos
<zeta_0> why is this code not installing guys, is there a syntax error or something? https://gist.github.com/zeta-00/c6146b2d3434c178040ea1b339ab336e
schneid3306 has joined #nixos
<clever> zeta_0: haskellPackages.ghc_8_6_1 is not a function
<clever> zeta_0: you want something like haskell.packages.ghc864.ghcWithPackages
dansho2 has quit [Remote host closed the connection]
jasongrossman has joined #nixos
<zeta_0> clever: well why does it not show up in nixos packages? https://nixos.org/nixos/packages.html#haskell.packages.ghc864.ghcwithpackages
<zeta_0> clever: what is the link to see all of the haskell packages?
rprije has quit [Ping timeout: 245 seconds]
<clever> zeta_0: its a function that takes arguments and returns a package
<clever> zeta_0: packages.html only shows packages, not functions
<KarlJoad> I'm having another issue. I added the 19.03 channel to my channel list, and now I can't perform a `nix search`. It always errors out with "error: no results for the given search term(s)!"
<clever> zeta_0: and the haskellPackages set contains every single package from hackage, with matching names
<zeta_0> clever: i am still confused, but thanks
<jasongrossman> KarlJoad: Have you done (sudo) nix-channel --update?
<KarlJoad> jasongrossman: Yeah, I did the nix-channel --update with sudo. I still can't update the search cache and the search terms
schneid3306 has quit [Quit: ZZZzzz…]
<{^_^}> [nixpkgs] @samueldr opened pull request #65451 → cool-retro-term: Wrap with wrapQtApps → https://git.io/fjy0v
<zeta_0> clever: i'll give it a try and let you know if it works or not
zeta_0 has quit [Remote host closed the connection]
<KarlJoad> jasongrossman: I do get some good output. There are some derivations made and symlinks made, but I still get similar problems.
schneid3306 has joined #nixos
___laika has joined #nixos
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
___laika has quit [Ping timeout: 245 seconds]
hyper_ch has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65451 → cool-retro-term: Wrap with wrapQtApps → https://git.io/fjy0v
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjy0m
abathur has quit [Ping timeout: 244 seconds]
vmandela has joined #nixos
Drakonis has quit [Ping timeout: 250 seconds]
endformationage has quit [Quit: WeeChat 2.5]
zeta_0 has joined #nixos
<zeta_0> clever: it took a long time to install but it worked
brycec-M has joined #nixos
<brycec-M> .
<zeta_0> clever: thanks
palo1 has joined #nixos
owickstrom has joined #nixos
ericsagnes has quit [Ping timeout: 272 seconds]
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @wahjava opened pull request #65453 → sshguard: do not create ipset in post-start → https://git.io/fjy00
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/eb4e067686d (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lstanley has quit [Quit: uwotm8 -- https://liam.sh]
lstanley_ has joined #nixos
joehh has joined #nixos
lstanley_ is now known as lstanley
ericsagnes has joined #nixos
kreetx has joined #nixos
kreetx has quit [Ping timeout: 272 seconds]
KarlJoad has quit [Quit: Konversation terminated!]
zeta_0 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<siraben> Has anyone used the Mathematical Components library for Coq on NixOS?
<siraben> I tried installing mathcomp from nixpkgs but can't seem to import it into Coq.
zmlww has quit [Ping timeout: 246 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamantium has joined #nixos
<adamantium> Curious: is there a meta package that will install typical userland utilities all in one go. Like if i wanted all the things you'd find on your average fedora or ubuntu or debian
<adamantium> From time to time I find a package is missing that I'm used to just being there on other distros by default, and it annoys me to go edit my nix file after searching for the name of the tool, then finally rebuild switch.
alex`` has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
tmaekawa has joined #nixos
<siraben> Hm, but if I run "nix-shell --packages coq coqPackages.mathcomp" then I can type "From mathcomp Require Import eqtype." in coqtop
<siraben> So I guess for now I'll launch Proof General from within a nix shell like that
kreetx has joined #nixos
mexisme_ has joined #nixos
adamanti` has joined #nixos
kreetx has quit [Ping timeout: 248 seconds]
mexisme_ has quit [Ping timeout: 264 seconds]
adamantium has quit [Ping timeout: 268 seconds]
MmeQuignon has joined #nixos
abf_ has quit [Quit: Leaving]
astrofog has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
MmeQuignon has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
ericsagnes has quit [Ping timeout: 250 seconds]
___laika has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #65454 → Python: introduce NIX_PYTHONEXECUTABLE in order to set sys.executable → https://git.io/fjyEO
owickstrom has quit [Quit: Connection closed for inactivity]
___laika has quit [Ping timeout: 258 seconds]
kreetx has joined #nixos
domogled has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @jojosch opened pull request #65455 → dbeaver: 6.1.0 -> 6.1.3 → https://git.io/fjyEn
cinimod has joined #nixos
kreetx has quit [Ping timeout: 258 seconds]
vmandela has left #nixos ["Leaving"]
kreetx has joined #nixos
kreetx has quit [Ping timeout: 246 seconds]
<aveltras> anyone having bluetooth speakers working only with alsa and bluez-alsa ?
LysergicDreams has quit [Ping timeout: 248 seconds]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @markus1189 opened pull request #65456 → dragon-drop: git-2014-08-14 -> 1.1.0 → https://git.io/fjyE4
xkapastel has joined #nixos
astrofog has quit [Remote host closed the connection]
orivej has joined #nixos
ng0 has joined #nixos
cinimod has quit [Ping timeout: 268 seconds]
adamanti` has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
xavierm02 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
kreetx has joined #nixos
arahael1 has joined #nixos
Arahael has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
cinimod has joined #nixos
cinimod` has joined #nixos
cinimod has quit [Ping timeout: 246 seconds]
MmeQuignon has quit [Ping timeout: 268 seconds]
chloekek has joined #nixos
<{^_^}> [nixpkgs] @ck3d opened pull request #65457 → redo-apenwarr: update to release 0.42 and added docs and checks → https://git.io/fjyEP
wfranzini has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @ck3d opened pull request #65458 → vdr: fix shebang of svdrpsend → https://git.io/fjyED
<siraben> aveltras: My Bose speakers works with blueman
dansho2 has joined #nixos
hmpffff has joined #nixos
ericsagnes has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #65445 → rust-bindgen: 0.50.0 -> 0.51.0 → https://git.io/fjyBC
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjyE7
<cinimod`> I am trying to use the instructions for R here: https://nixos.wiki/wiki/R
<cinimod`> If I `shell.nix` this https://gist.github.com/idontgetoutmuch/574c2ae83f185043dd6db35d06639046 then afaict the R packages are not present
* cinimod` goes to check
<cinimod`> [nix-shell:~/nixtest]$ R
<cinimod`> loadedNamespaces()
<cinimod`> [7] "methods" "base"
<cinimod`> [1] "compiler" "graphics" "utils" "grDevices" "stats" "datasets"
<cinimod`> So no dplyr for example :(
noogie has quit [Ping timeout: 245 seconds]
noogie has joined #nixos
FRidh has joined #nixos
mac10688 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lrworth opened pull request #65460 → postgis: allow on Darwin → https://git.io/fjyEx
o1lo01ol1o has quit [Remote host closed the connection]
dansho2 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @steshaw opened pull request #65461 → idrisPackages.sdl2: 2018-01-19 -> 0.1.1 → https://git.io/fjyue
kreetx has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos
abbe has joined #nixos
___laika has joined #nixos
vmandela has joined #nixos
o1lo01ol1o has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
sb0 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
ljxfstorm has joined #nixos
o1lo01ol1o has joined #nixos
<ljxfstorm> Hello, newbie here. I got a question when configuring default fonts that Plasma 5 have pre-defined default fonts and the 'mkBefore' trick got a 'undefined variable' error. How can I get my prefer fonts over the KDE one?
kenshinCH has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<clever> ljxfstorm: lib.mkBefore
<ljxfstorm> nix-rebuild returned an 'undefined variable' for 'lib'...
<clever> ljxfstorm: { pkgs, lib, ... }:
kenshinCH has quit [Client Quit]
<ljxfstorm> 'pkgs.lib.mkBefore' worked. Thanks very much.
<{^_^}> [nixpkgs] @FRidh merged pull request #65346 → pythonPackages.simple-salesforce: init at 0.74.3 → https://git.io/fjDib
<{^_^}> [nixpkgs] @FRidh pushed commit from @costrouc to master « pythonPackages.simple-salesforce: init at 0.74.3 »: https://git.io/fjyuE
<{^_^}> [nixpkgs] @FRidh merged pull request #65425 → pythonPackages.fastapi: init at 0.33.0 → https://git.io/fjyCL
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to master: https://git.io/fjyuz
kreetx has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #65454 → Python: introduce NIX_PYTHONEXECUTABLE in order to set sys.executable → https://git.io/fjyEO
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « Python: introduce NIX_PYTHONEXECUTABLE in order to set sys.executable »: https://git.io/fjyua
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0dfb5c51087 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Uniaika has joined #nixos
kreetx has quit [Ping timeout: 272 seconds]
<Uniaika> hello!
<Uniaika> I'm running nix on Fedora, and I'm trying to install universal-ctags
<Uniaika> this page: https://nixos.org/nixos/packages.html#universal-ctags tells me that it's only available on the NixOS channel?
<Uniaika> I use nixpkgs-unstable
<clever> Uniaika: its in all channels
<clever> Uniaika: packages.html just assumes your channel is called nixos
<Uniaika> then I have a subsequent question:
<Uniaika> ❯ nix-channel --update && nix-env -iA universal-ctags
<Uniaika> error: attribute 'universal-ctags' in selection path 'universal-ctags' not found
<Uniaika> unpacking channels...
<{^_^}> [nixpkgs] @FRidh merged pull request #65295 → Add checkPhase to pythonPackages.astropy and several other related packages → https://git.io/fjDLl
<{^_^}> [nixpkgs] @FRidh pushed 7 commits to master: https://git.io/fjyu6
<Uniaika> what did I do wrong?
<clever> Uniaika: you didnt specify your channel name
<clever> Uniaika: nix-env -iA nixpkgs.universal-ctags
<Uniaika> even though I only have one channel?
<clever> yes
<Uniaika> (thank you :)
<Uniaika> okay!
<Uniaika> so uh, what's the point of primary and secondary channels?
<clever> it lets you have different sets of versions to pick from
<Uniaika> cool, I get it
<Uniaika> thanks!
Uniaika has left #nixos [#nixos]
ljxfstorm has left #nixos [#nixos]
ljxfstorm has joined #nixos
<cinimod`> clever: did you see my question?
ljxfstorm has quit [Remote host closed the connection]
eagle2com has joined #nixos
<clever> cinimod`: ive not done anything with R packages
ljxfstorm has joined #nixos
zupo has joined #nixos
ljxfstorm has quit [Client Quit]
<cinimod`> I wonder if someone has a full small example of working with R packages?
<cinimod`> I just tried something that worked for me about a year ago but got lots of error messages - I guess I should have pinned nixpkgs :(
<clever> cinimod`: you can try an older channel like the release-17.09 branch on github
<cinimod`> True
* cinimod` goes to try
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @FRidh merged pull request #65157 → python.pkgs.numpy: don't exclude f2py test anymore → https://git.io/fjMWs
<{^_^}> [nixpkgs] @FRidh pushed commit from @flokli to staging « python.pkgs.numpy: don't exclude f2py test anymore »: https://git.io/fjyub
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fjyux
<cinimod`> 18.09 seems to make my derivation build (am I using the right words?)
xkapastel has quit [Quit: Connection closed for inactivity]
<clever> cinimod`: yep
zupo has joined #nixos
eagle2com has quit [Ping timeout: 245 seconds]
hellrazor has quit [Quit: WeeChat 2.5]
hellrazor has joined #nixos
asheshambasta has joined #nixos
nek0 has joined #nixos
<nek0> hey guys, I have a fascinating problem with libGL.so.
<nek0> it is missing. Did anybody else observe this?
<symphorien> ,locate libGL.so
<{^_^}> Found in packages: libglvnd, primusLib, libGLU_combined
<symphorien> what do you mean by "it is missing" ?
mexisme_ has joined #nixos
kreetx has joined #nixos
benny has joined #nixos
benny is now known as Guest43664
nek0 has quit [Quit: ZNC 1.7.4 - https://znc.in]
nek0 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging « python: Cython: 0.29.12 -> 0.29.13 »: https://git.io/fjyzn
mexisme_ has quit [Ping timeout: 268 seconds]
kreetx has quit [Ping timeout: 245 seconds]
<nek0> i have activated hardware.opengl in my configuration.nix and have selected my proper nvidiaLegacy driver, but there is still nothing I can start that needs OpenGL...
<nek0> I tried switching to nouveau, which had the same results...
<{^_^}> [nixpkgs] @pacien opened pull request #65463 → matrix-synapse: 1.1.0 -> 1.2.1 → https://git.io/fjyzl
mexisme_ has joined #nixos
<cinimod`> After many minutes of building I got
<cinimod`> Setup: Encountered missing dependencies:
<cinimod`> base ==4.11.*
mexisme_ has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<cinimod`> With 19.03 I get
<cinimod`> error: Package ‘libapparmor-2.13.1’ in /nix/store/c88f3xrijhhfw6hkqz5q7vr4cy0paafb-nixos-19.03.tar.gz/pkgs/os-specific/linux/apparmor/default.nix:22 is not supported on ‘x86_64-apple-darwin’, refusing to evaluate.
tmaekawa has joined #nixos
<cinimod`> I will try with 18.09
<symphorien> nek0: did you reboot ? Opengl relies on environment variables so a switch is not enough
zupo_ has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
webster23 has joined #nixos
thc202 has joined #nixos
kreetx has joined #nixos
kreetx has quit [Ping timeout: 245 seconds]
vmandela has quit [Quit: Leaving]
Hail_Spacecake has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pacien opened pull request #65464 → [security] [19.03-backport] matrix-synapse: 0.99.5.2 -> 1.2.1 → https://git.io/fjyzy
Hail_Spacecake has joined #nixos
sb0 has quit [Quit: Leaving]
FRidh has quit [Remote host closed the connection]
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @SRGOM closed pull request #61118 → Added database from vim-awesome → https://git.io/fjcrt
<{^_^}> [nixpkgs] @megheaiulian opened pull request #65465 → vagrant: add bash completions → https://git.io/fjyzQ
zmlww has joined #nixos
magnetophon has quit [Ping timeout: 245 seconds]
<aria> would anyone happen to know why my font rendering is really wide with this font? https://i.imgur.com/CIIRczx.png source code pro font from nixpkgs :D
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @Ekleog closed pull request #65413 → matrix-synapse: 1.1.0 -> 1.2.0 → https://git.io/fjyOh
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xelxebar has quit [Remote host closed the connection]
<ottidmes> What might be the cause that when I try the nixos installer on my laptop the screen remains black for like 5 seconds after selecting nixos from the EFI boot loader, but then it shows NixOS booting, while when I build my own nixos installer based on <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix> the screen remains black
xelxebar has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @megheaiulian opened pull request #65466 → avocode: 3.8.1 -> 3.9.0 → https://git.io/fjyzp
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #65467 → openscenegraph: 3.6.3 -> 3.6.4 → https://git.io/fjygJ
eagle2com has joined #nixos
magnetophon has quit [Ping timeout: 245 seconds]
asheshambasta has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #65468 → gitaly: fix hashes → https://git.io/fjygL
kreetx has joined #nixos
chaoflow has joined #nixos
<chaoflow> I'm looking for infocmp, which I think should be part of ncurses but (on nixos) isn't. Any suggestions?
<{^_^}> [nixpkgs] @Ekleog merged pull request #65464 → [security] [19.03-backport] matrix-synapse: 0.99.5.2 -> 1.2.1 → https://git.io/fjyzy
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to release-19.03: https://git.io/fjygt
<symphorien> ,locate bin infocmp
<{^_^}> Found in packages: ncurses.dev, ncurses5.dev
<symphorien> chaoflow: try ncurses.dev
kreetx has quit [Ping timeout: 245 seconds]
<chaoflow> symphorien: thx, I can see it in my store and it contains infocmp. However, I "nix-env -iA nixos.pkgs.ncurses.dev" does install the normal version, not the .dev variant.
<symphorien> hum, probably a limitation of nix-env. Can you use /etc/nixos/configuration.nix or home-manager instead ?
<infinisil> ,libraries chaoflow
<{^_^}> chaoflow: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<symphorien> infinisil: here infocmp is an executable
<chaoflow> symphorien: Is that locate service you used also available outside this channel, e.g. offline on nixos?
<symphorien> as far as I understand
<symphorien> chaoflow: install nix-index
<symphorien> (the executable is nix-locate)
<infinisil> Hm I see
<{^_^}> [nixpkgs] @Ekleog merged pull request #65463 → [security] matrix-synapse: 1.1.0 -> 1.2.1 → https://git.io/fjyzl
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fjygc
<aanderse> so if i've somehow managed to get a file to exist under /nix/store/trash that has a filename at least 4096 characters long (possibly longer)
<aanderse> and i can't even ls /nix/store/trash
<aanderse> would it be ok to remount /nix as rw and just rm /nix/store/trash?
<clever> aanderse: nix should delete everything in trash next time you GC
<clever> aanderse: nix-collect-garbage --max-freed 1
<aanderse> clever: yeah thats the thing... i can't even run GC anymore :\
<aanderse> filename too long
<clever> aanderse: then rm would likely fail for the same reason, have you tried a reboot and fsck?
<aanderse> zfs
<aanderse> and yes, i have rebooted
<clever> aanderse: you could try mounting it rw, but i'm not sure rm will work
<aanderse> its "safe" enough to just rm the entire /nix/store/trash dir yeah?
<clever> aanderse: yeah
<aanderse> thanks
<{^_^}> [nixpkgs] @terlar opened pull request #65469 → [WIP] cnijfilter: add 3.80 → https://git.io/fjyg4
<infinisil> Huh, I'm pretty sure zfs has a filename length restriction of 256 chars
<aanderse> well this isn't promising...
<aanderse> rm -rf /nix/store/trash/ is just sitting there, like almost any operation i run on /nix/store/trash/
<aanderse> can't ls
<aanderse> can't do much
<aanderse> -_-
<chaoflow> symphorien: thanks a lot! nix-index is being built and infocmp showed up after adding it via configuration.nix
<symphorien> aanderse: try find /nix/store/trash -delete, I think it uses the at variant of syscalls instead of the normal one
<aanderse> oh that doesn't look right... :\
<aanderse> find: cannot delete '/nix/store/trash/...': no such file or directory
<aanderse> for... everything
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aanderse> why do i feel like this is going to end with me making a new zfs data set for root -_-
<clever> aanderse: i would check with the #zfsonlinux guys
<aanderse> clever: mhm
<aanderse> thanks for all suggestions
xkapastel has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @ttuegel merged pull request #65446 → Revert "qtbase: Fix paths returned by qmake -query" → https://git.io/fjyBW
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/fjygu
johanot has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65395 → libva: 2.4.1 -> 2.5.0 → https://git.io/fjyUf
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to staging: https://git.io/fjygg
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65396 → mesa: 19.1.1 -> 19.1.3 → https://git.io/fjyUM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjyg2
chaoflow has quit [Quit: WeeChat 1.9.1]
chaoflow has joined #nixos
dansho has quit [Quit: Leaving]
chaoflow has quit [Client Quit]
chaoflow has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65353 → plex-media-player: fix startup using wrapQtAppsHook → https://git.io/fjDXA
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjygQ
ericsagnes has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65143 → ladspa-sdk & ladspah: 1.13 ->1.15 → https://git.io/fjMcB
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjygF
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65146 → wolf-shaper: 0.1.6 -> 0.1.7 → https://git.io/fjMcw
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjygN
kp__ has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #65470 → [WIP] ceph: 12.2.7 -> 14.2.1 → https://git.io/fjygx
kreetx has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65115 → blockbook: increase ulimit -n on darwin for packr execution → https://git.io/fjMsE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjygp
hellrazor has quit [Quit: WeeChat 2.5]
hellrazor has joined #nixos
srid6390803 has quit [Ping timeout: 272 seconds]
kreetx has quit [Ping timeout: 244 seconds]
<symphorien> I am trying to use breakPointHook. I have attached the build sandbox with cntr attach ....
<symphorien> it leaves me in /var/lib/cntr
<symphorien> where can I find the build directory ?
kreetx has joined #nixos
<symphorien> there is no /build
ericsagnes has joined #nixos
kreetx has quit [Ping timeout: 246 seconds]
johanot has quit [Quit: WeeChat 2.4]
leo60228 has joined #nixos
<leo60228> hello
<leo60228> i've purchased a zen 2 processor (currently on a ryzen 2400g), and want to make sure it works on nixos
<leo60228> i don't see a commit in nixos/systemd that looks relevant
<leo60228> should i modify the package to build off systemd master?
<symphorien> nixos has a fork of systemd
<symphorien> so I don't expect systemd master to work
kiloreux has joined #nixos
<symphorien> you would have to rebase
<leo60228> ok
<leo60228> i guess i'll cherry-pick and PR
<kiloreux> I am using multiple source nixpkgs sources (through fetchTarball) and it's causing the evaluation time of experessions to take quite some time. Is there anyway to improve on this situation?
<clever> kiloreux: best option is to use fewer copies of nixpkgs, and use packageOverrides to update select things
<{^_^}> [nixpkgs] @nbardiuk opened pull request #65472 → vimPlugins.nvim-typescript: Init at 2019-07-27 → https://git.io/fjy2k
srid6390803 has joined #nixos
<kiloreux> clever, thank you. So there's now way to cache evaluations or something similar?
<clever> kiloreux: not really
<kiloreux> clever, Thank you very much.
mmlb has joined #nixos
<leo60228> wait
<leo60228> the original zen2 fix was from a nixos contributor
<leo60228> but it was never pr'd to nixos???
<leo60228> the fork that fixed it was forked off nixos/systemd, not systemd/systemd
<{^_^}> [systemd] @leo60228 opened pull request #31 → Cherry-pick "random-util: eat up bad RDRAND values seen on AMD CPUs" → https://git.io/fjy2m
cinimod` has quit [Ping timeout: 246 seconds]
<niso> why does line 2 fail, while line 5 works? does line 2 try to import [arion doc tests] rather than just arion? http://paste.debian.net/1093286/
o1lo01ol1o has joined #nixos
cinimod` has joined #nixos
<clever> niso: the docs are wrong, default.nix returns a set with 3 things, and you cant put a set in systemPackages
<anton-latukha[m]> ====
<anton-latukha[m]> Recently I managed to fully integrate NixOS / Nix, Haskell IDE Engine (HIE) and Emacs (Spacemacs):
<niso> clever: thanks, i'll submit a PR
kreetx has joined #nixos
kreetx has quit [Ping timeout: 258 seconds]
leo60228 has quit [Remote host closed the connection]
mmlb has quit [Ping timeout: 246 seconds]
<immae> ,find getent
<{^_^}> ,find is temporarily unimplemented
Neo-- has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Neo-- has quit [Remote host closed the connection]
logzet has joined #nixos
stepcut has joined #nixos
logzet has quit [Client Quit]
logzet has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
anon has joined #nixos
noudle has joined #nixos
anon is now known as Guest9052
kp__ has quit [Quit: WeeChat 2.5]
kp__ has joined #nixos
Chiliparrot has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
ottidmes has quit [Remote host closed the connection]
vmandela has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
kreetx has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bdebbbe9598 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
kreetx has quit [Ping timeout: 244 seconds]
b has joined #nixos
o1lo01ol1o has joined #nixos
magnetophon has joined #nixos
joehh has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @megheaiulian opened pull request #65473 → smartgithg: 18.2.4 -> 18.2.9 → https://git.io/fjyaT
mac10688 has joined #nixos
endformationage has joined #nixos
kreetx has joined #nixos
Thra11 has joined #nixos
Neo-- has joined #nixos
alex`` has quit [Ping timeout: 248 seconds]
kreetx has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
zupo has joined #nixos
daurnimator has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @pasqui23 closed pull request #65431 → zsh-powerlevel10k:init at 2019-07-23 → https://git.io/fjylT
__monty__ has quit [Ping timeout: 268 seconds]
iyzsong has quit [Ping timeout: 276 seconds]
hamishmack has joined #nixos
__monty__ has joined #nixos
cinimod` has quit [Ping timeout: 258 seconds]
hmpffff has quit [Quit: nchrrrr…]
kp__ has quit [Quit: WeeChat 2.5]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
o1lo01ol1o has quit [Remote host closed the connection]
kp__ has joined #nixos
kreetx has joined #nixos
kp__ has quit [Client Quit]
kp__ has joined #nixos
fragamus has joined #nixos
wildtrees has joined #nixos
srid6390803 has quit [Ping timeout: 245 seconds]
kp__ has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dd47b2d50a4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
johnny101m2 has joined #nixos
johnny101m has quit [Ping timeout: 245 seconds]
johnny101m has joined #nixos
johnny101m2 has quit [Ping timeout: 245 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shibboleth has quit [Quit: shibboleth]
fragamus has joined #nixos
o1lo01ol1o has joined #nixos
Guest9052 has quit [Ping timeout: 244 seconds]
Drakonis has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has quit [Ping timeout: 248 seconds]
Guest9052 has joined #nixos
hmpffff has joined #nixos
<{^_^}> [docker] @peti pushed 2 commits to master: https://git.io/fjyay
<{^_^}> [docker] @peti merged pull request #8 → Set content of nsswitch.conf file → https://git.io/fjyJh
cyris212 has quit [Quit: ZNC 1.7.3 - https://znc.in]
cyris212 has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #65371 → dovecot: 2.3.7 > 2.3.7.1 → https://git.io/fjDbz
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fjyaH
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bdebbbe9598 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
o1lo01ol1o has quit [Remote host closed the connection]
Thra11 has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64891 → wmc-mpris: init at 2019-04-12 → https://git.io/fjXpa
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjyah
kreetx has quit [Ping timeout: 272 seconds]
xavierm02 has left #nixos ["Leaving"]
srid6390803 has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #65432 → k9s: Init at 0.7.13 → https://git.io/fjylZ
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Gonzih to master « k9s: init at 0.7.13 (#65432) »: https://git.io/fjyVv
vmandela has left #nixos ["Leaving"]
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
hyper_ch has joined #nixos
hyper_ch has quit [Remote host closed the connection]
tmaekawa has joined #nixos
hyper_ch has joined #nixos
<ar> /24
<aveltras> has anyone already used postgres in a nix-shell ? by use i mean, starting the server on a specified port
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/aa81b2c1e59 (from 27 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<aveltras> right now, i have a problem with "FATAL: could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": No such file or directory"
<aveltras> not sure that location can be changed
<tilpner> Does that directory exist?
<aveltras> no
<tilpner> Use -k to change the socket location
<aveltras> -k as an argument to which command ?
<tilpner> postgres, I guess
kreetx has joined #nixos
<tilpner> And every other one too :/
<tilpner> There was a discussion about this
magnetophon has quit [Ping timeout: 245 seconds]
<tilpner> You can also just create that directory
<tilpner> Or locally revert that PR
<aveltras> the -k option seems to be working
<aveltras> im trying to have the whole state of the app in the development directory
<aveltras> seems it's now listening on 5432
<aveltras> i'll try to connect to it now and report
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
<tilpner> Huh?
o1lo01ol1o has joined #nixos
<tilpner> Oh, you're also passing -i?
<aveltras> the use case is the following
<aveltras> im using direnv to manager a project
MmeQuignon has joined #nixos
fragamus has joined #nixos
hyper_ch has joined #nixos
<aveltras> and i'd like the .envrc script to init the database and automatically start the server
<aveltras> all the postgresql state is in the app directory
<aveltras> only clashing part would be the port
<aveltras> not passing "-i" right now
fusion809 has quit [Remote host closed the connection]
<aveltras> tilpner: works nicely :)
<aveltras> tilpner: thanks for the -k option, didn't find it on google
srid6390803 has quit [Ping timeout: 245 seconds]
leo60228 has joined #nixos
<leo60228> is there a way to use mesa master without compiling basically my entire system myself?
<__monty__> worldofpeace: I've squashed my commits but I'm holding off on pushing until I get an answer about the ofborg failure. (for wire-desktop)
<clever> leo60228: mesa is a weird package in nixos, and you can use the hardware.opengl.package to override it, without rebuilding the world
magnetophon has joined #nixos
stepcut has joined #nixos
<leo60228> clever: thanks!
srid6390803 has joined #nixos
zupo has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___laika has joined #nixos
<worldofpeace> __monty__: After looking into that we shouldn't set the platforms like that
<worldofpeace> __monty__: don't think it would matter at that point
<__monty__> worldofpeace: Ok, makes sense to me to just have the meta information to be complete. Will amend that.
leo60228 has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
fragamus has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<__monty__> worldofpeace: Dropped, squashed and pushed : )
mac10688 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64931 → wire-desktop: refactor to add Darwin support → https://git.io/fj1kZ
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjyVz
<worldofpeace> __monty__: thanks, merged
<srid6390803> why does restarting display-manager.service kills my tmux sessions?
<__monty__> 🎉
kreetx has quit [Ping timeout: 245 seconds]
taylskid has joined #nixos
<taylskid> hi, I'm trying to use home-manager to link some dot files. I have `".emacs.d".source = ./emacs.d` but it gets linked in from nixstore which is read-only. What's the proper way I should be linking to my emacs conf? I saw someone mention a string of the absolute path, which I also tried but same issue
<clever> taylskid: you could either link each file seperately (they will still be read-only, but the dir will be writeable)
<clever> taylskid: or you can use one of the permission fields to make it writeable
stepcut has joined #nixos
<clever> but nix will undo the changes
o1lo01ol1o has quit [Remote host closed the connection]
matthuszagh has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<taylskid> Yeah I really just wanted the dir to be writable
<taylskid> Thanks clever
gagbo has quit [Quit: I'm out !]
zeta_0 has joined #nixos
kreetx has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ng0 has joined #nixos
o1lo01ol1o has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
kreetx has quit [Ping timeout: 245 seconds]
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Client Quit]
<{^_^}> [nixpkgs] @samueldr merged pull request #65455 → dbeaver: 6.1.0 -> 6.1.3 → https://git.io/fjyEn
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjyV5
<{^_^}> [nixpkgs] @samueldr closed pull request #64480 → dbeaver: 6.1.0 -> 6.1.2 → https://git.io/fjiQ3
eagle2com has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #65475 → sequoia: init at 0.9.0 → https://git.io/fjyVb
johnw has joined #nixos
mmlb has joined #nixos
wildtrees has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fjyVA
<{^_^}> [nixpkgs] @samueldr merged pull request #65465 → vagrant: add bash completions → https://git.io/fjyzQ
srid6390803 has quit [Ping timeout: 268 seconds]
stepcut has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eagle2com has joined #nixos
zupo has joined #nixos
mmlb4 has joined #nixos
mmlb has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #65476 → bspwm: 0.9.7 -> 0.9.8 → https://git.io/fjyVh
<{^_^}> [nixpkgs] @samueldr closed pull request #48279 → lib.version: change from "pre-" to "post-" → https://git.io/fxBvI
<{^_^}> [nixpkgs] @samueldr closed pull request #48913 → Updated mysql Package to support the change of root password of the mysql-server → https://git.io/fxXTP
<{^_^}> [nixpkgs] @samueldr closed pull request #51508 → Steam runtime refactor backport → https://git.io/fpihj
<{^_^}> [nixpkgs] @samueldr closed pull request #52645 → Revert firmware-linux-nonfree to fix broken Ath10k/QCA9377 wlan adapters [18.09] → https://git.io/fhfda
carloabelli has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b5590fff46b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @samueldr merged pull request #59336 → check-meta: don't execute check-meta.nix 15,000 times (backport) → https://git.io/fjqQq
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to release-19.03: https://git.io/fjywf
mmlb4 has quit [Ping timeout: 244 seconds]
<samueldr> ayone with knowledge about the haskell ecosystem up to help me review #59583 ? I feel it's likely to be fine to backport to stable, but don't really know what it all means
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59583 (by Taneb, 14 weeks ago, open): Backport Haddock typechecker plugins fix
srid6390803 has joined #nixos
stepcut has quit []
carloabelli has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
johnny101 has quit [Ping timeout: 244 seconds]
johnny101 has joined #nixos
kreetx has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
kreetx has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #65433 → fluxctl: init at 1.13.1 → https://git.io/fjyln
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Gonzih to master « fluxctl: init at 1.13.1 (#65433) »: https://git.io/fjywZ
wildtrees has joined #nixos
WilliamHamilton has joined #nixos
<WilliamHamilton> it is my understanding that if I call `nix-shell` in a dir that has no `shell.nix`, `default.nix` is used instead. My question is: when I call a file with `nix-shell`, what's by default the set of parameters that's passed in?
MmeQuignon has joined #nixos
<clever> WilliamHamilton: an empty set
<clever> WilliamHamilton: --arg and --argstr can be used to supply params
<WilliamHamilton> clever that was a reasonable assumption, but then how can I call `nix-shell` on a `default.nix` that's generated by `cabal2nix`? The packages wouldn't be supplied
Chiliparrot has joined #nixos
<WilliamHamilton> so my question could be: what's the difference in expected arguments between `default.nix` and `shell.nix` generated by `cabal2nix`?
<clever> WilliamHamilton: you want to put the cabal2nix output into a foo.nix (named after the cabal file), then use a default.nix, that does haskellPackages.callPackage ./foo.nix {}
<clever> and shell.nix should `(import ./. {}).env`
<WilliamHamilton> I see, and if I want to use `withHoogle = true`, where should I put that?
<clever> WilliamHamilton: not sure where that would go
cnidario has joined #nixos
moet has joined #nixos
moet has quit [Client Quit]
moet has joined #nixos
o1lo01ol1o has joined #nixos
<WilliamHamilton> I get the error: `error: attribute 'override' missing`
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<WilliamHamilton> and I can't understand why, since if I open a repl, `haskellPackages.override` exists
xkapastel has joined #nixos
<clever> WilliamHamilton: not clear why
<zeta_0> i can't install some nix packages because they are `broken`, does that mean the packages just do not work, or does that mean some things need to be fixed and/or there is missing things that need to be added? and is there a link to those packages that shows the progress of the things that need to be done before they are marked as stable?
<samueldr> zeta_0: there is no fine-grained meaning to broken, sadly
<clever> zeta_0: usually, its because the build fails, and its disabled to stop you from wasting time installing something that wont build
<clever> zeta_0: but you can force it to build anwyays and try your hand at debugging it
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/bdebbbe9598 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<zeta_0> well there is two packages that i need that are broken: `haskell-overridez` and `ihaskell`, i guess next week i could try and build them and try to figure out what is not working
aanderse has quit [Excess Flood]
aanderse has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #65478 → luaPackages.luv: 1.29.1-2 -> 1.30.0-0 → https://git.io/fjywr
<zeta_0> i am going to spend a lot of time learning and experimenting with haskell so i really want `ihaskell` to make my workflow for that more smooth, and that `haskell-overridez` seems like it will come in handy down the road
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #65479 → libuv: 1.30.0 -> 1.30.1 → https://git.io/fjywo
kxlljoyy[m] has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 1.13.3 -> 1.13.4 »: https://git.io/fjywP
kreetx has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed 2 commits to release-19.03: https://git.io/fjywX
work_ has joined #nixos
work_ has quit [Client Quit]
noonien has joined #nixos
kreetx has quit [Ping timeout: 245 seconds]
kreetx has joined #nixos
kreetx has quit [Client Quit]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @doronbehar opened pull request #65480 → syncthingtray: init at 0.9.1 → https://git.io/fjyw7
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/82e1691d3b1 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
o1lo01ol1o has joined #nixos
<zeta_0> clever: thanks for the help yesterday, was finally able to install the version of ghc that i wanted(it took a long time), but do i need: `ghcWithHoogle` in order for it to work with `all-hies`? or can i just install `ghc` and install `hoogle` separately with the sub packages? https://gist.github.com/zeta-00/27794e17d45430154a5117eb72776264
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<WilliamHamilton> zeta_0 that's the same problem I have: I have to understand how to get hoogle inside a `shell.nix` in order to have it playing nice with hie
Acou_Bass has joined #nixos
<WilliamHamilton> are you using the spacemacs guide that was posted today?
<zeta_0> infinisil: if you could help with answering this question as well, thanks
<zeta_0> oh and i am trying to do this declaratively in `home.nix`: https://gist.github.com/zeta-00/27794e17d45430154a5117eb72776264
srid6390803 has quit [Read error: Connection reset by peer]
srid6390803 has joined #nixos
<zeta_0> WilliamHamilton: well, i did this in `home.nix`, i am not sure how to do this with `shell.nix`
<infinisil> Wait what's the problem exactly?
o1lo01ol1o has quit [Remote host closed the connection]
moet has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
justanotheruser has joined #nixos
MmeQuignon has quit [Ping timeout: 268 seconds]
MmeQuignon has joined #nixos
<zeta_0> infinisil: i got `ghc`, `hoogle` and `all.hies` working together great in `emacs`, but my question is do i have to use `ghcWithHoogle` in order to integrate `hoogle` with `all-hies` or can i install `hoogle` as a separate package with the other haskell sub packages, if i do this will `hoogle` not integrate with `all-hies`? https://gist.github.com/zeta-00/27794e17d45430154a5117eb72776264
<zeta_0> infinisil: but it looks like everything is working correctly in emacs so i'm happy: https://gist.github.com/zeta-00/b5fdeeeee8c97dc99cbe0e365aa3e29e
<infinisil> Seems like you answered the question yourself
<dminuoso> I want to write a minor mode that executes shell commands. Now the problem is, that the shell commands I want need to be executed from inside a nix-shell relating to the project Im in.
<dminuoso> (Emacs)
<dminuoso> Does someone have a hint for me perhaps?
MmeQuignon has quit [Ping timeout: 268 seconds]
<WilliamHamilton> infinisil I get the error: `error: attribute 'override' missing`at line https://gist.github.com/meditans/f439af1697651713385cf9558d0d643b#file-shell-nix-L35 . Any clue of what could be going on?
fragamus has joined #nixos
<zeta_0> infinisil: well i was just trying to clarify some of the confusion i had, but so far `all-hies` has been great, sometimes it slows down and freezes but i think that has to do with emacs though
MmeQuignon has joined #nixos
<infinisil> WilliamHamilton: What's in the overlay?
mexisme_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> zeta_0: all-hies is just a way to get HIE, it does nothing more than allowing you to install it, so you need to thank the HIE developers for HIE working great :)
<infinisil> WilliamHamilton: Yeah .extend doesn't work with .override.. It's a bit of a mess
<infinisil> I suggest using .override for everything
kori has quit [Ping timeout: 264 seconds]
<{^_^}> #26561 (by ElvishJerricco, 2 years ago, open): "haskellPackages.extend" and "haskellPackages.override" are incompatible
chloekek has quit [Ping timeout: 248 seconds]
fragamus has quit [Ping timeout: 258 seconds]
<noonien> is there an easy way to run a binary compiled on a nixos system, on another nixos system, without much ritual?
<WilliamHamilton> infinisil thansk, so instead of `haskellPackages = super.haskellPackages.extend (selfHS: superHS: STUFF)` I should write `haskellPackages = super.haskellPackages.override { overrides = (selfHS: superHS: STUFF); }` and that's all?
<infinisil> dminuoso: Perhaps https://github.com/wbolster/emacs-direnv
<dminuoso> infinisil: Mmm. johnw seems to suggest running emacs from inside the project is the easiest solution heh.
<dminuoso> As long as your emacs starts up blazingly fast, it's a somewhat workable solution.
<infinisil> WilliamHamilton: Well, it's even a bit more complicated than that to actually have multiple overrides compose: `.override (old: { overrides = lib.composeExtensions (old.overrides or self: super: {}) (self: super: { ... }); })`
o1lo01ol1o has joined #nixos
<infinisil> dminuoso: Yeah, and that's also the most reliable solution. emacs-direnv can have some trouble with the order of operations
<WilliamHamilton> is there a way to put `ghc = super.ghc // { withPackages = super.ghc.withHoogle; }; ghcWithPackages = self.ghc.withPackages;` in the overlay? I tried but encountered infinite recursion
<infinisil> noonien: You should be able to `nix copy` it from one to the other system
<noonien> i build it using `gcc` right now
<noonien> don't have a nix build yet
kori has joined #nixos
<infinisil> noonien: You could just scp the directory over
<noonien> the source code?
<infinisil> Yea
<noonien> well, then i need all the other build-time dependencies :D
<noonien> would be easier just to setup nix build in this case
<infinisil> Well you can probably ignore the source code if you want, but at least the binary and the nix files so you can nix-shell to get the dependencies
<noonien> so there isn't really any way around nix, if i choose to use nixos
<infinisil> Yeah mostly
<WilliamHamilton> infinisil could I use `properExtend` from the issue you linked? It's unclear to me how to do the proper modification
<noonien> kind of a bummer :(
<infinisil> WilliamHamilton: Regarding the overlay, I suggest not trying to override `ghc` directly, but go through `haskellPackages` or `haskell.packages...` instead (which also influences the top-level ghc attribute)
<infinisil> noonien: So your problem is that you can't copy a binary around and have it run just like that on other systems?
<WilliamHamilton> infinisil I'd like a concrete example, sadly I don't follow your previous comment
<noonien> infinisil: well, kind of. i don't want any binaries to run like this, that's missing the entire point of nix. but a hello world shouldn't be that hard
<infinisil> WilliamHamilton: For overriding the ghc attribute: `haskellPackages = super.haskellPackages.override (old: { overrides = lib.composeExtensions (old.overrides or hself: hsuper: {}) (hself: hsuper: { ghc = hsuper.ghc....; }); })`
<noonien> i'm probably going to create a nix-build file, but i have quite a few single-source binaries i want to run on other systems, and it gets pretty annoying
<clever> noonien: one min
<infinisil> noonien: Yeah that is indeed missing the point of Nix. If you made it a working nix-build (which shouldn't be very hard), you can easily run it on other systems because of how nix tracks dependencies
<clever> noonien: these nix files allow you to create a completely static haskell binary
<infinisil> noonien: I don't think they're talking about haskell
<clever> noonien: since its static, it doesnt care where ld.so is or any other dynlib
<noonien> clever: yeah, i'm looking if `nim` supports static builds (i'm playing around with nim atm)
<infinisil> noonien: By "single-source binaries", you mean they have a single nim file as source code?
<noonien> in this case, yes. however, the same applies to C files or other languages i use
<noonien> hmm, it would be really helpful if i there was a tool to pack binaries to be self sustained
<clever> noonien: musl-c
liberiga has joined #nixos
<clever> noonien: or nix-bundle for something heavier
<clever> noonien: here is a heavily stripped down static ghc example, based on nh2's stuff: https://github.com/cleverca22/nix-tests/blob/master/haskell-init/default.nix#L3-L13
<infinisil> Just package them with Nix, you'll get used to it over time, and soon enough you won't want to use anything else to package stuff
<infinisil> static builds with musl-c would be a whole lot of effort, and nix-bundle is way too heavy for just a simple package
cnidario has quit [Remote host closed the connection]
eagle2com has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/82e1691d3b1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<noonien> i'm currently using overlays to get a more current version of nim, that means i'd have to also include that modification in my build file
<noonien> which makes sense, but it's really annoying since i'm just testing stuff
<infinisil> What makes it annoying/
<infinisil> ?
<infinisil> Ah, having the overlay in all nix expressions?
<noonien> yes
<noonien> mostly it being separate from the nixos config
<infinisil> Is it an overlay just to get a more recent nixpkgs version?
<noonien> no, i override the derivation's src
hmpffff has quit [Quit: nchrrrr…]
<infinisil> I see, well you could put a whole bunch of utility functions all over the place
<infinisil> Like have `import <nim-stuff> {}` be a collection of things you commonly need
<noonien> hmm
zeta_0 has quit [Remote host closed the connection]
<noonien> that sounds good, how can i define <nim-stuff>?
hmpffff has joined #nixos
<infinisil> Or you could even put it in a repo and import it with `fetchTarball "https://github.com/noonien/nim-stuff/tarball/master"`
<infinisil> Um, `import (fetchTarball "...")`
<noonien> also, kind of an unrelated question, can i choose to have nix build certain packages outside the global nix store?
<noonien> in my case, i want some packages to be built in my encrypted home, not on the root drive
<infinisil> noonien: nix.nixPath = [ "nim-stuff=/path/to/file" ] ++ options.nix.nixPath.default;
<noonien> (the root drive is also encrypted, but that's irrelevant
<infinisil> noonien: There are ways, but I've never used them. Nix does support arbitrary store locations
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<noonien> when doing `import <common-stuff>`, common-stuff is a channel right? can i only add a channel to a http url or can i make it point to a local path?
<___laika> whats the best route to go about getting something merged to improve build-support for a language? i can work on the PR, but it seems like the ocaml build-support nix expression itself hasn't been touched since 2016. how would i go about finding a good reviewer and making sure it gets merged?
<___laika> i guess im asking, if a language doesn't receive a lot of attention in nixpkgs, would i be better served working on an overlay for my own system or working on a PR?
<infinisil> noonien: As I just showed above, you can make it point to a file
<noonien> yeah, i just wannted something more global, so i don't have to get the right paths always
<infinisil> ___laika: If you have the time, motivation and knowledge, I'd say you should definitely go for a PR. You can ping people that touched the file before, or have packaged ocaml stuff in nixpkgs
__monty__ has quit [Quit: leaving]
justanotheruser has quit [Read error: Connection reset by peer]
<infinisil> noonien: channels aren't any more global than the nix.nixPath setting
zupo_ has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
<___laika> ill go for it
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
johnny101m2 has joined #nixos
<averell> how could i wrap a setgid program? security.wrappers will not survive a wrapProgram and i tried makeWrapper with the wrapper, but that asserts the executable already exists at package creation time for some reason.
<samueldr> nothing in the store can have set*id permissions
<samueldr> https://nixos.org/nixos/options.html#security.wrappers security.wrappers have to be used on nixos
johnny101m has quit [Ping timeout: 245 seconds]
<samueldr> on non-nixos, not sure what can be done
<averell> i know. that's what i did, but these wrappers they don't survive makeWrapper, because the only set effective UID
alex`` has quit [Ping timeout: 245 seconds]
<averell> so i can't security-wrap a wrapProgram. i tried the reverse, but there is an assertExecutable in makeWrapper, so i can't reference a non-existant /run/wrappers/bin/thing
<samueldr> oh, I see, sorry for having misread; somehow I didn't see you were using security.wrappers :/
<averell> maybe i can just override the assertExecutable in my derivation? but I'm not sure I'll get that through review :)
alex`` has joined #nixos
<samueldr> involve Cunningham's Law
<noonien> are there any simple examples of a nix build file that just compiles a .c file in the current directory?
Guest9052 has quit [Quit: WeeChat 2.4]
johnny101m has joined #nixos
johnny101m2 has quit [Ping timeout: 245 seconds]
lukas7257 has joined #nixos
<lukas7257> Hello, Thanks for this awesome Operating System
<lukas7257> i found a problem which is kinda urgent
<{^_^}> #65481 (by Luraktinus, 3 minutes ago, open): Teamspeak crash when open options
<lukas7257> could someone here help me to debug this?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65482 → lxqt: use qt5's mkDerivation → https://git.io/fjyrV
<infinisil> samueldr: Fyi, for setuid wrappers on non-NixOS: https://github.com/NixOS/nixpkgs/pull/60289
<{^_^}> #60289 (by Infinisil, 13 weeks ago, closed): [Experiment] Separate security wrappers from NixOS
<samueldr> neat
<___laika> so, infinisil, curious if you can offer some guidance: in ocaml's build support expression, a package called camlp4 is included, which used to be used to implement syntactic extensions for the language. it has been deprecated, and hasn't yet received support for the newest ocaml 4.08 compiler. my thought is, in order to make sure older versions continue working as expected, pass a "supportsCamlp4 ? true" flag
<___laika> to the argument set in the build support expression, and pass false when the compiler version is above 4.07. does that sound like a good pattern to adopt?
<infinisil> ___laika: Sounds good to me, Haskell's generic-builder.nix does things like this too
<lukas7257> my internet is off in two hours btw
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/112f522d48c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @ajs124 closed pull request #53024 → sshd: Add user options for ForceCommand and ChrootDirectory → https://git.io/fhI2m
<infinisil> lukas7257: I've had such a teamspeak segfault for a while earlier this year I think, but I haven't been able to figure it out. Because teamspeak is closed-source it's almost impossible to debug.
<lukas7257> :/
<infinisil> lukas7257: I ended up switching to the free and open-source mumble instead, which doesn't and won't have such problems
<{^_^}> [nixpkgs] @ajs124 reopened pull request #53024 → sshd: Add user options for ForceCommand and ChrootDirectory → https://git.io/fhI2m
<clever> infinisil: i looked into it earlier, the wrong qt is being used
<ajs124> I should really learn how to use git -.-
<lukas7257> well, i cant use mumble
<infinisil> clever: You sure? I fixed that a while ago: https://github.com/NixOS/nixpkgs/pull/55944
<{^_^}> #55944 (by Infinisil, 22 weeks ago, merged): teamspeak_client: Fix
<clever> infinisil: a more subtle error
<clever> infinisil: it runs, but then segfaults
<samueldr> infinisil, clever, lukas7257: there's been a bunch of Qt regressions since the last staging merge
<{^_^}> #65448 (by ivan, 19 hours ago, open): Qt programs segfault on startup in master
<clever> when you check the elf headers of teamspeak, you can see which qt it was originally compiled against
<clever> which is much older then what nixpkgs was using
ng0 has quit [Quit: Alexa, when is the end of world?]
<infinisil> Ah lol, that would explain things
<clever> and infact, the one teamspeak wants, is flagged as broken
<clever> i had to patch it to even build
<clever> let me find it again...
<infinisil> lukas7257: There is hope after all ^^ :)
<lukas7257> thanks you two, i really need TS for work tomorrow and i dont want Arch anymore
<clever> infinisil: it was compiled against qt 5.6, but 5.6 has broken h264 support, so it doesnt build
<{^_^}> [nixpkgs] @arcnmx opened pull request #65483 → llvm8 bare metal fixes → https://git.io/fjyrM
<clever> infinisil: but teampseak doesnt use h264, so disable!
<infinisil> Nice
<infinisil> lukas7257: So you can try above nix expression, just put that somewhere, then `nix-build path/to/file.nix`, followed by `result/bin/ts3`
andrewzah has joined #nixos
justanotheruser has joined #nixos
Okinan has joined #nixos
<andrewzah> hi all, are there people here who have experience using/working on Carnix?
MmeQuignon has quit [Ping timeout: 272 seconds]
<andrewzah> i have a question about a generation issue related to that
<lukas7257> infinisil its running, it gives no output
MmeQuignon has joined #nixos
<lukas7257> oh, now it gives output
kiloreux has quit [Ping timeout: 272 seconds]
<___laika> are there any detailed guides for contributing to nixpkgs? CONTRIBUTING.md is rather short
<srhb> andrewzah: Your best bet is probably to ask and see if someone knowledgeable responds :)
<srhb> ___laika: It's a bit scattered, there's some notes in the manual too. Any specific questions?
<___laika> nothing overly specific: ive made some rudimentary changes that i think will work, so i imagine the next steps are to test my local copy of nixpkgs where i saw a problem originally and make sure things work
<___laika> beyond that, i was curious about linting procedures, tests, etc
<andrewzah> i'm building a rust crate with carnix that pulls in `serenity-rs`, which has a feature of `http = []`. in its errors.rs, it uses #[cfg(feature = "http")] to gate a Reqwest crate dependency
<andrewzah> when I run carnix generate-nix --standalone --src ./. it generates a check for reqwest, not http
<andrewzah> ++ (if features.serenity."0.6.3".reqwest or false then [ (crates.reqwest."${deps."serenity"."0.6.3".reqwest}" deps) ] else [])
ambro718 has quit [Ping timeout: 245 seconds]
<___laika> (found docs here that im following https://nixos.wiki/wiki/Nixpkgs)
<{^_^}> [nixpkgs] @arcnmx opened pull request #65484 → stdenv: correct cross CMAKE_SYSTEM_NAME → https://git.io/fjyrH
<___laika> great :D
<averell> https://github.com/NixOS/nixos/blob/master/modules/security/setuid-wrapper.c shouldn't this preserve the environment when execing?
<samueldr> heads up, this is the old nixos repo, it's likely the file is different now
dansho has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
justanotheruser has quit [Ping timeout: 245 seconds]
MmeQuignon has quit [Ping timeout: 245 seconds]
MmeQuignon has joined #nixos
webster23_ has joined #nixos
slack1256 has joined #nixos
dansho has quit [Ping timeout: 248 seconds]
webster23 has quit [Ping timeout: 264 seconds]
Thra11 has quit [Quit: WeeChat 2.5]
Ariakenom has joined #nixos
<mkaito> hey andrewzah
<andrewzah> yo
<mkaito> few people actually use carnix. tazjin and andi- are the only ones I know do.
<mkaito> plus the author seems to be MIA busy or something
ericsagnes has quit [Ping timeout: 245 seconds]
<mkaito> it's probably worth opening an issue on pijul nest or nixpkgs github to get some more leg out of the discussion
<andrewzah> yeah
<andrewzah> i'm still building the Cargo.nix now
<{^_^}> [nixpkgs] @arcnmx opened pull request #65485 → nixos/taskserver: crl file is optional → https://git.io/fjyrd
<{^_^}> [nixpkgs] @TheSandwichMakr opened pull request #65486 → multimc: wrapQtAppsHook, add xrandr for lwjgl 2.9.2 → https://git.io/fjyrx
<arcnmx> andrewzah: hm, what's the entire generated manifest look like? that check isn't necessarily wrong, the crate just isn't meant to be used without both reqwest and http features set (and I hope carnix models the inter-feature stuff?)
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @Infinisil merged pull request #65461 → idrisPackages.sdl2: 2018-01-19 -> 0.1.1 → https://git.io/fjyue
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjyrj
<mkaito> arcnmx: I had the same issue. carnix generates a check for a `reqwest` feature on `serenity`, doesn't find it, and so it doesn't pass the required `--external`. it *should* pull in `reqwest` via `rustls` though, but doesn't.
<mkaito> I verified this by adding a `http = [ "reqwest" ]` bogus feature in `serenity`
wildtrees has quit [Remote host closed the connection]
<mkaito> if you replace the conditional feature gate in crates-io.nix for serenity->reqwest, it also compiles fine.
<mkaito> it's just checking for the wrong feature gate
justanotheruser has joined #nixos
<arcnmx> mkaito: yeah I just found your post with the tarball, and was looking through the generated .nix file.
wildtrees has joined #nixos
<mkaito> search for serenity in crates-io.nix
<mkaito> and see the check for reqwest
<andrewzah> arcnmx: see this for the generated output https://gist.github.com/azah/222b220f64962660d8e87d7526db7aeb
wgh has joined #nixos
<arcnmx> mm it's basically just not treating x/y features as a dependency on both x and x->y?
<mkaito> seems like it
<mkaito> doesn't seem to handle the transitive feature gate
knupfer has quit [Ping timeout: 264 seconds]
tmaekawa has quit [Quit: tmaekawa]
plp_ has quit [Ping timeout: 245 seconds]
ericsagnes has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
wildtrees has quit [Quit: Leaving]
plp_ has joined #nixos
noudle has quit []
Rusty1 has joined #nixos
<noonien> i've created a build file for a package, how can i copy/run it inside a docker container?
m0rphism has quit [Ping timeout: 272 seconds]
<noonien> i just want to run it "outside" my machine, i want to test udp broadcasts, since they're not echoed back to the same machine
lukas7257 has quit [Remote host closed the connection]
<mkaito> just `docker run` some nixos image and `-v $pwd:/whatever` inside, then you can do whatever
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<noonien> i'd have to build again, which i want to avoid
<mkaito> mount the nix store?
<mkaito> at that point, you might just want to run a nixos container instead
<noonien> does that work?
<noonien> does it have a network stack?
<mkaito> sure. might require some config. check the manual.
<mkaito> depends on what you need it to do
alex`` has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 258 seconds]
<___laika> can i opt out of binary caches as a command line option?
thc202 has quit [Ping timeout: 250 seconds]
<arcnmx> okay that was wayyyy too much of a pain because I can't figure out how to use pijul and the github mirror is outdated :(
<mkaito> I wanted to try pijul but it refuses to build
<mkaito> but andrewzah already keeps his own fork
<mkaito> the author of carnix seems to not like forks, and wants to keep it in the pijul.
<mkaito> I'm not sure he understands what "free software" means
<andrewzah> lol
<arcnmx> been meaning to look into it but time and effort... I started to get into carnix and got halfway through rewriting buildRustCrate before realising I needed to be doing other things
<mkaito> if any of you who actually know hot to carnix could update the nixpkgs manual, that'd be great :P
<andrewzah> well, it's not invoking diesel_cli per se but the main app binary is calling code from the diesel_migrations crate
<mkaito> oh you're embedding those
<mkaito> yeah can't do that, requires glibc 2.29, and nixpkgs has 2.27, and I *really* don't want to open that can of worms
<andrewzah> so what do you mean when you say make a custom derivation?
<mkaito> see the file I linked
<mkaito> there's effectively 3 derivations
<mkaito> 1 pulls from git, one wraps it and adds a cargo.nix, then that one is fed into buildRustPackage
<mkaito> (I could probably replace that with a runCommand...)
MmeQuignon has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65487 → hackage-packages.nix: gdk_pixbuf -> gdk-pixbuf → https://git.io/fjyoc
MmeQuignon has joined #nixos