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
sanscoeur has quit [Ping timeout: 246 seconds]
dermetfan has joined #nixos
drakonis has joined #nixos
countingsort has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 264 seconds]
vk3wtf has joined #nixos
dslegends has quit [Quit: dslegends]
epicmetal has quit [Quit: epicmetal]
fpob has quit [Ping timeout: 245 seconds]
keta has quit [Quit: Page closed]
countingsort has joined #nixos
fpob has joined #nixos
kisonecat has joined #nixos
erictapen has quit [Ping timeout: 244 seconds]
rprije has joined #nixos
Boobie has quit [Quit: This computer has gone to sleep]
Synthetica has quit [Quit: Connection closed for inactivity]
Mr_Keyser_Soze has quit [Remote host closed the connection]
LnL has quit [Ping timeout: 268 seconds]
eadwu has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #30479 → singularity-tools: Only copy into /bin what is specified in contents → https://git.io/vdyJl
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhZuH
duoi is now known as duoi-
duoi- is now known as duoi
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #53721 → icestorm: parallel builds, use pypy3 → https://git.io/fhZuN
LnL has joined #nixos
LnL is now known as Guest54470
Guest54470 has quit [Ping timeout: 250 seconds]
jasongrossman has joined #nixos
ris has quit [Ping timeout: 260 seconds]
shibboleth has quit [Quit: shibboleth]
jasongrossman has quit [Read error: Connection reset by peer]
LnL7 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #53722 → termbox: fix build → https://git.io/fhZuj
fusion809 has joined #nixos
goibhniu has quit [Ping timeout: 252 seconds]
counting1ort has joined #nixos
thc202 has quit [Ping timeout: 268 seconds]
countingsort has quit [Ping timeout: 250 seconds]
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #53723 → python3Packages.pika-pool: fix build → https://git.io/fhZzT
drakonis has quit [Read error: Connection reset by peer]
alex`` has quit [Quit: WeeChat 2.3]
shibboleth has joined #nixos
hcs^ has quit []
labancle has joined #nixos
abaiste has joined #nixos
<labancle> hi
<gchristensen> hello
chessai has quit [Ping timeout: 244 seconds]
sigmundv_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #53724 → pythonPackages.xml2rfc: fix build → https://git.io/fhZz4
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #53473 → r18.09: afl-qemu: update to qemu 2.10.0, as specified by afl 2.52b → https://git.io/fhsfc
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to release-18.09: https://git.io/fhZzE
griff_ has quit [Quit: griff_]
o1lo01ol1o has joined #nixos
rprije has quit [Read error: Connection reset by peer]
dermetfan has quit [Ping timeout: 268 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhZzg
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sary has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Ma27 opened pull request #53725 → bonfire: fix build → https://git.io/fhZz1
unyu has quit [Remote host closed the connection]
gagbo has quit [Ping timeout: 250 seconds]
unyu has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #53726 → thrift: fix build → https://git.io/fhZzQ
Rusty1 has joined #nixos
kvda has joined #nixos
protocol has quit [Quit: sleepu]
epicmetal has joined #nixos
smolboye has quit [Read error: Connection reset by peer]
smolboye_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #53727 → shadowsocks-libev: 3.2.0 -> 3.2.3 → https://git.io/fhZgL
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
shibboleth has quit [Quit: shibboleth]
ashkitten has quit [Ping timeout: 244 seconds]
silver has quit [Read error: Connection reset by peer]
kisonecat has quit [Ping timeout: 246 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
timon37 has quit []
acarrico has quit [Ping timeout: 245 seconds]
kingemp has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
ashkitten has joined #nixos
epicmetal has quit [Quit: epicmetal]
labancle has left #nixos ["ERC (IRC client for Emacs 25.2.2)"]
<duairc> So due to my ongoing difficulties with MATE, I decided to give Gnome flashback a try. One thing I've noticed is that gnome-panel is not picking up any applets from gnome-applets.
<duairc> It prints this error message: Error opening directory “/nix/store/0i1pj3501zrzq4rrmk9ds84w1afrgwa6-gnome-panel-3.30.0/share/gnome-panel/applets”: No such file or directory
<duairc> It seems that path is hardcoded somewhere whereas it should probably be something liks /run/current-system/sw/share/gnome-panel/applets, because that's where the applets from gnome-applets end up
<duairc> But I think I'm missing something, because that can't really be right either, because what if the user installs applets in their own profile?
ashkitten has quit [Ping timeout: 245 seconds]
<duairc> How does any of this ever work?
<duairc> So I figured, I'll try to see how mate-panel does it... and the code seems pretty much the same (it is a fork). But I've compiled my own mate applets and installed them with nix-env and mate-panel does pick them up
<duairc> I wonder what I'm missing
<{^_^}> [nixpkgs] @kballard opened pull request #53728 → hexyl: init at 0.3.0 → https://git.io/fhZg8
ng0_ has joined #nixos
sary has joined #nixos
ng0 has quit [Ping timeout: 256 seconds]
<gchristensen> shlevy: so I spent a few minutes working towards a store-path-as-~, and saw all the files in ~ that I want to exist, just don't love their location (like .lesshst) -- what do you do? seems ... eh, annoying
<worldofpeace> duairc: I think gnome-flashback working is currently WIP, see https://github.com/NixOS/nixpkgs/issues/47451
<{^_^}> #47451 (by jtojnar, 14 weeks ago, open): Add GNOME Flashback support
<gchristensen> shlevy: also, are you able to switch ~ store paths while logged in okay?
ashkitten has joined #nixos
<samueldr> gchristensen: at one point I was thinking of doing $HOME bankruptcy and have my actual files outside of $HOME in like $REAL_HOME and $HOME be set to something like $REAL_HOME/Settings (and XDG_CONFIG too to something similar) because of all that annoying cruft :/
griff_ has joined #nixos
sir_guy_carleton has joined #nixos
<duairc> I wonder what I'm missing
detran has joined #nixos
<duairc> Sorry, didn't mean to send that again
<duairc> worldofpeace: I know it's WIP, but I guess I'm asking a more general question about how paths work in NixOS. Like is there a single place on the system where everything gets symlinked together, and if not, are there loads of different PATH-type environment variables that are getting magically passed around behind the scenes?
<gchristensen> samueldr: you've seen shlevy's solution? his ~ was a tmpfs for a while, now no longer.
<samueldr> gchristensen: yeah, stumbled upon it
<samueldr> I'm thinking those are not mutually exclusive
<gchristensen> ~ as a tmpfs seems terribly dangerous
Mr_Keyser_Soze has joined #nixos
<samueldr> I was thinking about doing it as a fuse FS with shenanigans like redirecting known good and unknown writes
<samueldr> (and reads)
<samueldr> so it's a bit less scary to lose things (if you trust the fuse fs lol)
<samueldr> but at the same time: if you lose something, it's probably not going to have been in your home for a long time
<samueldr> (unless you never reboot)
<gchristensen> I have an idea... *writes it up*
Mr_Keyser_Soze has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @veprbl pushed to master « adv_cmds: switch url to use https »: https://git.io/fhZg2
sary is now known as sheth
<gchristensen> a bit annoying since it doesn't update without a reboot
<samueldr> since I don't have experience with zfs I can't see anything wrong, though with that at least you keep your things available for whenever you lose anything
pareidolia has quit [Ping timeout: 264 seconds]
<gchristensen> eliminating places of state seems best... not papering over it.
<aleph-> Man sharing state across threads sucks
o1lo01ol1o has joined #nixos
pareidolia has joined #nixos
<gchristensen> erlang's GC is nice there, aleph-
<aleph-> gchristensen: So after I finish this Golang CI system, I'm porting some Erlang stuff to Go actually
<gchristensen> aye
<aleph-> gchristensen: My problem is, spinning off a goroutine holding a pointer to a Worker struct, the goroutine doing some tcp stuff and also updating info on the struct, and then trying to read updated info on the struct back in main() so I can schedule stuff.
<Myrl-saki> Can anyone review #53600 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53600 (by adrianparvino, 2 days ago, open): nixos/modules/system/boot/stage-1.nix: Add support for mounting files encrypted with luks
<aleph-> I sorta get the bits and pieces of what I was told to do to write stuff into the goroutine/struct
<aleph-> But reading out is kinda eh
<detran> hello, I'm trying update the leiningen version, but when I try to build it with nix-build -A I get this error:
<detran> error: cannot auto-call a function that has an argument without a default value ('stdenv')
<detran> how do I fix that?
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<samueldr> I'm not 100% sure, but this seems like a callPackage invocation is required
<samueldr> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<detran> ok, I'll give that a try
<{^_^}> [nixpkgs] @alunduil opened pull request #53729 → maintainer-list.nix: update alunduil's email address → https://git.io/fhZg1
<detran> thanks, I think that put me on the right path. I'm getting new and different errors now
<detran> :)
<{^_^}> [nixpkgs] @Infinisil merged pull request #52992 → Upgrade Anydesk package to version 4.0.1 → https://git.io/fhkXv
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhZgD
<jtojnar> duairc: I think the applets are looked up in XDG_DATA_DIRS
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyounkins has joined #nixos
hamishmack has joined #nixos
cyounkin_ has quit [Ping timeout: 268 seconds]
hamishmack has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #53729 → maintainer-list.nix: update alunduil's email address → https://git.io/fhZg1
<{^_^}> [nixpkgs] @veprbl pushed commit from @alunduil to master « maintainer-list.nix: update alunduil's email address »: https://git.io/fhZg5
<AK> how to install font-awesome?
griff_ has quit [Quit: griff_]
freeman42x has quit [Ping timeout: 252 seconds]
griff_ has joined #nixos
<worldofpeace> AK with `fonts.fonts = [ ];` https://nixos.org/nixos/options.html#fonts.fonts
griff_ has quit [Client Quit]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d26f11d3890 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #53730 → fff: init at 0.3.2 → https://git.io/fhZ2t
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #53731 → neofetch: 5.0.0 -> 6.0.0 → https://git.io/fhZ2O
justan0theruser is now known as justanotheruser
sanscoeur has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<AK> worldofpeace: error: The option `fonts.fonts' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/config/fonts/fonts.nix' is already declared in `/etc/nixos/fonts.nix'.
<AK> and is it normal for /per-user/root/ or how to enable my own user ?
cyounkins has quit [Ping timeout: 268 seconds]
griff_ has joined #nixos
sanscoeur has quit [Remote host closed the connection]
appleclusters has quit [Quit: Connection closed for inactivity]
hamishmack has joined #nixos
sanscoeur has joined #nixos
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
eadwu has quit [Ping timeout: 252 seconds]
<AK> I have a package polybar in nixpkgs. but with mpd built in support. so how can I edit the file and enable mpd support?
Supersonic has joined #nixos
<worldofpeace> AK: ? I'd really like to see how you've used `fonts.fonts` from reading that error.
<worldofpeace> AK: polybar takes an argument `mpdSupport` and setting that to true should achieve what you want. reading https://nixos.org/nixos/manual/index.html#sec-customising-packages should instruct you properly.
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<yl[m]> 19:59 <yl[m]> Hey guys, at work we're re-defining our entire workflow and currently Nix is responsible for the dev environments and the CI. We are moving towards a mono repo and we have decided to use Bazel (choice was between Bazel and nix-build). There's one question that I was not able to answer that pushed Bazel forward. Consider two binaries A and B both dependent on a library C and a commit that touches on C, can nix
<yl[m]> figure out that
<Ashy> has anyone successfully run azure storage explorer on nixos?
<Ashy> i can't find a nix derivation for it and the binary in the "linux" tarball won't run on nixos for some reason
<lopsided98> yl[m]: It sounds like you are trying to use Nix as a build system instead of something like CMake, autotools, or in you case Bazel. Is that right? While Nix could be used that way, it is generally used at a higher level in conjunction with a build system that manages the dependencies between individual source files (such as Bazel).
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d26f11d3890 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
griff_ has quit [Quit: griff_]
<lopsided98> Nix would normally be used to manage the build at a higher level, where there would be a single derivation (package) for a particular application or library in you code base. You can also build docker images within Nix
<lopsided98> I have to go now, but maybe that helps a little (or maybe I'm completely misunderstanding what your trying to do)
jtojnar has quit [Quit: jtojnar]
unyu has quit [Remote host closed the connection]
unyu has joined #nixos
kochev has joined #nixos
unyu has quit [Quit: brb again]
unyu has joined #nixos
okuu has joined #nixos
<AK> worldofpeace: Thanks polybar problem solved
<worldofpeace> AK: Glad I could help :)
<yl[m]> lopsided98: thanks for the explanation, yes you understood me right. We will stick with bazel for now then
<AK> worldofpeace: I now would work for fonts
jasongrossman has joined #nixos
Boobie has joined #nixos
<worldofpeace> AK: How have you declared `fonts.fonts`?
okuu has quit [Remote host closed the connection]
<AK> worldofpeace: I have no fonts.fonts in configuration file.
<worldofpeace> AK: I'm sorry, I don't understand the issue?
<AK> worldofpeace: I just did fonts.fonts = [pkgs.terminus_font];
sanscoeur has quit [Remote host closed the connection]
<worldofpeace> AK: can you paste `/etc/nixos/fonts.nix`?
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhZ26
<detran> is there a tool that can tell you the sha256 of something you get with fetchurl? I've tried `wget <url> | sha256sum`, but it's complaining that the hashes don't match
<detran> *and nix-build is complaining that the hashes don't match
<simpson> detran: nix-prefetch-url
<simpson> ,locate nix-prefetch-url
<{^_^}> Found in packages: nix, nix.debug, nixUnstable, nix-bash-completions
<worldofpeace> detran: ,tofu
<simpson> Oh, it's in the standard `nix` package. So it should be available to you already.
<worldofpeace> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<detran> sorry, cat stepped on keyboard : )
<simpson> worldofpeace: Note that, for `fetchurl` in particular, we *can* prefetch fine and the tool is supported.
<worldofpeace> simpson: A community member also made a nice script https://github.com/samueldr/nix-universal-prefetch
<simpson> worldofpeace: Right, replacing the older nix-prefetch-git and friends.
<porrifolius> Does anybody have the haskell-ide-engine installed and working in their editor? I'm confused as to what I have to explicitly install... I've got domenkozar's hie-wrapper installed, the LanguageClient-neovim plugin, and some haskellPackages eg ghc-mod, brittany, hlint.
<porrifolius> Hitting F5 and reformatting code works, lots of other stuff doesn't. Do I have to manually figure out all the little tools that haskell-ide-engine uses to get the job done and install them myself?
<porrifolius> Or is the domenkozar/hie install supposed to pull them in? Or am I supposed to be doing some nix trickery to make a derivation out of the haskell-ide-engine git repo and install it?
joshie has joined #nixos
unyu has quit [Quit: brb]
unyu has joined #nixos
<detran> ok, I'd like to install my updated version of leiningen, the manual says `nix-env -i leiningen -f pkgs/development/tools/build-managers/leiningen/default.nix`, but that's giving this error:
<detran> error: cannot auto-call a function that has an argument without a default value ('stdenv')
<detran> I tried using -E to run an expression, but that doesn't seem to work with nix-env
worldofpeace has quit [Ping timeout: 245 seconds]
tilpner has quit [Ping timeout: 250 seconds]
<benkolera> porrifolius: I had to bring them in. See the list here: https://github.com/benkolera/spacemacs-hie-nix/blob/master/default.nix#L18
o1lo01ol1o has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<wedens> I've installed qutebrowser via nix on Arch, and I get "could not initialize GLX". are there some caveats?
s2mitrov has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<fpletz> wedens: 3d acceleration and webgl will probably not work for you
<fpletz> wedens: this is due to the fact that the package does not directly depend von the opengl drivers because nixos will link those depending on your hardware configuration into /run/opengl-driver
esmerelda has joined #nixos
<fpletz> you could try to fix that by symlinnking /run/opengl-driver to /usr if the api/abi of the glx lib of arch matches
tbenst has joined #nixos
<tbenst> Hi there! I'm making a nix derivation whose executables call java. This works if I first do `nix-env -iA nixos.jdk` and then run the executable, but I'm guessing this isn't the "nix way" ;)
<fpletz> hi tbenst, the standward way is to add a wrapper that appends the jdk to the PATH environment variable
<fpletz> you can just grep for `makeWrapper` and/or `wrapProgram` to find examples in nixpkgs
<tbenst> interesting, thanks. I'll give that a try
<wedens> fpletz: makes sense. I expected this kind of problems. it would be too good if absolutely everything worked with nix on non-nixos :)
<esmerelda> hey, how do I get the value of an argument specified with --arg or --argstr?
<{^_^}> [nixpkgs] @jb55 opened pull request #53732 → clightning: 0.6.2 -> 0.6.3rc1 → https://git.io/fhZ2N
rprije has quit [Remote host closed the connection]
<fpletz> esmerelda: these are just regular attrset arguments to a function that is called if you instantiate/build the expression
rprije has joined #nixos
<fpletz> esmerelda: for instance: { foo }: "the value is ${foo}"
thomasjm_ has joined #nixos
<esmerelda> ahhhh cool, got it!
<porrifolius> benkolera: Hmmm, more serious problems perhaps... I'm getting some sort of "[Error] Got error while processing diagnostics: readCreateProcess: /nix/store/w4nj.../bin/cabal-helper-wrapper..." when nvim starts up with a haskell file. Not sure what the full error is, it disappears on me. The utility binaries are in the PATH.
<benkolera> Yeah if the cabal helper wrapper dies then lots of things don't work.
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<benkolera> It'll be fixing that. Usually needing to cabal configure in the nix-shell or making sure the right version of the cabal lib is around.
<benkolera> Making that error not disappear will be the first step. It's normally something pretty easy once you know the error.
s2mitrov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<esmerelda> is it possible to call an override from nix-shell?
<esmerelda> it's saying attribute "override" wasn't found.
<esmerelda> but the output is definitely lib.makeOverridable drvFun {}
<wedens> "Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf" I also get this error running app installed via nix on non-nixos
<wedens> fwiw, I've managed to start qutebrowser using this weird tool https://github.com/guibou/nixGL
<fpletz> esmerelda: you mean something like this? nix-shell -p 'hello.override { stdenv = stdenvNoCC; }'
vk3wtf has quit [Ping timeout: 252 seconds]
<esmerelda> fpletz: well, I've sort of stumbled into a frankensteinian way of doing things, but there might be a better way:
<esmerelda> nix-shell ~/.nix-home/all-envs.nix -A env-python --arg extraPkgs "[ ''requests'' ]"
<esmerelda> then all-envs.nix contains
<esmerelda> env-python = python-env.override {
<esmerelda> inherit extraPkgs extraPaths;
<esmerelda> };
<esmerelda> which then triggers the envFun that returns a mkDerivation
<esmerelda> my end-goal is to have a simple one-liner I can use to initialize a python dev environment with arbitrary nix expressions and extra packages included
neminis has joined #nixos
<neminis> hello, how can i fetch a file without specifying the sha256? fetchurl wants a sha256 but i just want nixos to download a file
<esmerelda> neminis: nix-prefetch-url is your friend
<neminis> ty
rprije has quit [Remote host closed the connection]
<wedens> neminis: builtins.fetchurl
rprije has joined #nixos
<neminis> even better ty
johnnyfive has quit [Quit: I quit now.]
hedning has joined #nixos
* esmerelda wonders to herself when builtins.bitXor is useful
jackdk has quit [Ping timeout: 250 seconds]
simukis has joined #nixos
<fpletz> esmerelda: hm, how is python-env defined? using python.withPackages or something else?
neminis has quit [Ping timeout: 256 seconds]
<fpletz> not sure if this is applicable because it depends on what you're doing to the python-env, but for python I like to do oneliners like: nix-shell -p 'python3.withPackages (ps: [ ps.requests ])'
<{^_^}> [nixpkgs] @nalbyuites opened pull request #53733 → pgsanity: init at 0.2.9 → https://git.io/fhZaO
<esmerelda> fpletz: oh, it's turtles all the way down. I'll post a gist
<fpletz> :)
nalbyuites has joined #nixos
aleph- has quit [Ping timeout: 246 seconds]
<drager> What's the prefered way when I want to install an application that cannot be found by searching for it via nix?
sanscoeur has joined #nixos
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @yurrriq opened pull request #53734 → WIP: Update noweb (and icon-lang) → https://git.io/fhZaZ
<esmerelda> I'm still definitely learning... this is the easiest way I've found to wire my custom python shell into arbitrary nix expressions for python packages
sanscoeur has quit [Remote host closed the connection]
<AK> if I'm not wrong, we don't need dotfiles for a program if we configure it through configuration.nix?
<esmerelda> configuration.nix affects all users. per-user config is just like someone with their own nix installation and profile
<esmerelda> also, you may want multiple different types of shells defined, like I have set up for python (with pydbgp and neovim) or C# (with VS Code) etc.
tzemanovic has joined #nixos
<AK> esmerelda: I have nixos on my laptop so
<AK> I'm the only user on it
Ariakenom has joined #nixos
cfricke has joined #nixos
palo1 has joined #nixos
<ldlework> AK you learn so fast
kochev has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
rauno has quit [Ping timeout: 252 seconds]
tzemanovic has quit [Ping timeout: 252 seconds]
Ariakenom has joined #nixos
<AK> ldlework: Thank you ;-) It's my 2nd day on nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @agentpt5 opened pull request #53735 → Flexget 2.17.20: add transmissionrpc as dependency → https://git.io/fhZaB
cfricke has quit [Ping timeout: 258 seconds]
Mateon3 has joined #nixos
<AK> services.mpd.musicDirectory = "${HOME}/mus"; is there something wrong?
unyu has quit [Quit: brb]
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
<fpletz> esmerelda: hm, weird, the code doesn't look wrong to me and I just tried a minimal test case in nix repl and it does succeed
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #53736 → gtk3: fix segfaults when opening dialogs → https://git.io/fhZaa
<{^_^}> [nix-mode] @etu pushed 2 commits to master: https://git.io/fhZaV
<{^_^}> [nix-mode] @etu merged pull request #71 → Prioritize closing } over regular indentation → https://git.io/fhG7V
<hyper_ch2> test
hyper_ch2 has quit [Client Quit]
<etu> Hohoho, I made commits :D
griff_ has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @dpetranek opened pull request #53737 → leiningen: 2.8.1 -> 2.8.3 → https://git.io/fhZai
<fpletz> esmerelda: when trying to run your code I get different errors but the override seems to work though
esmerelda has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @hedning opened pull request #53738 → libmediaart: turn off broken tests until fixed → https://git.io/fhZaX
paulvictor has joined #nixos
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
ddellacosta has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
tty777 has joined #nixos
<thomasjm_> hello, does anyone know why nodejs would fail to install with exit code 2, with the output cutting off abruptly during the install process? output looks like this: https://gist.github.com/thomasjm/d924ff2c08cd7e6222777f0c367581ee . i'm kind of stumped because i can build/install it successfully in nix-shell, but it doesn't work from nix-build
o1lo01ol1o has quit [Ping timeout: 250 seconds]
eyJhb has joined #nixos
<AK> mpd service not found.
<eyJhb> Has anybody experienced that the cursor will blink/fade rapidly in Chromium, when hovering over the tabs at the top? (moving across the tabs)
ZoomZoomZoom has joined #nixos
Ariakenom has quit [Quit: Leaving]
<ZoomZoomZoom> Hi everyone! Any tips on running multihead multigpu setups?
labancle has joined #nixos
<labancle> hi
esmerelda has joined #nixos
<esmerelda> fpletz: oh, I should have mentioned that I fixed it before I pasted it!
<fpletz> ah, great :)
rauno has joined #nixos
spacefrogg has quit [Ping timeout: 250 seconds]
spacefrogg has joined #nixos
<labancle> can anyone tell me how I can run a few shell commands from my configuration.nix file?
jeaye has quit [Quit: WeeChat 2.0]
<labancle> more specifically; I want to create a few symlinks when nixos boots up (if they dont already exist)
jeaye has joined #nixos
<ZoomZoomZoom> labancle, maybe try OneShot systemd units?
ZoomZoomZoom has quit [Quit: Leaving]
<AK> There is no efistub support?
rauno has quit [Ping timeout: 258 seconds]
dermetfan has joined #nixos
rauno has joined #nixos
<labancle> ZoomZoomZoom; would prefer not to use systemd
agander has joined #nixos
<labancle> can I do something with system.activationScripts ?
<labancle> is it possible to play with system.activationScripts in the nix repl? I can't find it.
agander_ has joined #nixos
carlosdagos has quit [Quit: Connection closed for inactivity]
agander has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dywedir merged pull request #53728 → hexyl: init at 0.3.0 → https://git.io/fhZg8
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhZVl
leothrix has quit [Ping timeout: 250 seconds]
esmerelda has quit [Ping timeout: 252 seconds]
<siers> "nix-prefetch-git https://github.com/siers/haskell-telegram-api master" why doesn't this work? shows two fatal errors https://clbin.com/T5xRE
civodul has joined #nixos
leothrix has joined #nixos
unyu has joined #nixos
Ariakenom has joined #nixos
<siers> hm, not even nixpkgs-channels.git works, so something's broken
tzemanovic has joined #nixos
Tucky has joined #nixos
knupfer has joined #nixos
ng0_ is now known as ng0
<{^_^}> [nixpkgs] @tzemanovic opened pull request #53739 → Node packages.elm live → https://git.io/fhZVj
ThatDocsLady_ has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
Makaveli7 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @akru opened pull request #53740 → Parity → https://git.io/fhZwZ
<manveru> you want something like `nix-prefetch-git https://github.com/siers/haskell-telegram-api --rev "$(git ls-remote https://github.com/siers/haskell-telegram-api --rev master | cut -f1)"`
<manveru> origin/master is not a valid revision
Makaveli7 has quit [Quit: Leaving]
<manveru> siers: ^
<siers> thanks! I'm not sure why I couldn't find this info myself.
<siers> it does work
thomasjm_ has quit [Quit: Page closed]
goibhniu has joined #nixos
agander_ has quit [Ping timeout: 246 seconds]
<wedens> https://github.com/NixOS/nixpkgs/issues/9415 is it supposed to be fixed on libgl side?
<{^_^}> #9415 (by joepie91, 3 years ago, open): libGL not working on non-NixOS (without setting up)
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
AK is now known as que
<joepie91> that thread is probably the #1 source of highlights for me in this channel :P
que is now known as AK
<{^_^}> [nixpkgs] @primeos merged pull request #53685 → scons: 3.0.2 -> 3.0.3 → https://git.io/fhZm4
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fhZwB
<manveru> what a fun thread :P
<wedens> joepie91: you opened a can of worms :)
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
o1lo01ol1o has joined #nixos
kai_w has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
johanot has joined #nixos
periklis has joined #nixos
kochev has joined #nixos
Dedalo has joined #nixos
<drager> What's the prefered way to do when I want to install an application that cannot be found by searching for it via nix?
gagbo has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<symphorien> what application ?
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<kai_w> has anybody had issues/success with the Raspberry Pi 3B+ and kernel 4.19.13? I have no wifi with this kernel, but 4.19.9 is OK.
<domenkozar> that was just fixed recently
<domenkozar> or PR exists, search github
thc202 has joined #nixos
agander_ has joined #nixos
<kai_w> ah nice! I searched issues but not PRs and didn't see anything
<kai_w> is that going to be backported to 18.09?
<kai_w> the PR (53694) only patches 4.20, not 4.19 which is broken for me
<domenkozar> do leave a comment :)
<joepie91> wedens: apparently :D
Dedalo has quit [Ping timeout: 258 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
esmerelda has joined #nixos
__Sander__ has joined #nixos
<siers> manveru, ah, refs/heads/master also works
Dagger has quit [Excess Flood]
Dagger has joined #nixos
agander_ is now known as agander
kochev has quit [Ping timeout: 272 seconds]
owickstrom has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « elm2nix: use package from hackage »: https://git.io/fhZwF
<drager> symphorien: Just some that doesn't exist. Not one specific at this moment
<drager> Or I cannot find adb though
<drager> But yeah, more generallyt
<symphorien> adb is definitely in nixpkgs
<symphorien> more generally, depending on the package, actually packaging it in nix can be easy
<symphorien> with binary only packages (not built from source) you will have a lot of troubles, though
<symphorien> specific things have dedicated tools: missing python packages can be generated with pypi2nix and so on
griff_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fhZrI
__Sander__ has quit [Ping timeout: 258 seconds]
<drager> What does exactly "packaging it in nix" mean?
v0|d has quit [Remote host closed the connection]
__Sander__ has joined #nixos
<symphorien> write a nix file describing how to build it
<drager> So a nix module?
<{^_^}> [nixpkgs] @vcunat merged pull request #53365 → nixos/nsd: Don't override bind via nixpkgs.config → https://git.io/fhY9p
<symphorien> a "module" is for nixos (so system configuration) not packaging software
<drager> Oh ok
<symphorien> but I imagine you get the point
griff_ has quit [Ping timeout: 245 seconds]
<drager> Yeah, where would you keep these? I saw somewhere about forking nixpkg and keeping your own fork and then bring in upstream. Is this what you do in this case?
<symphorien> yes. You don't absolutely need to fork nixpkgs but it is not more trouble to do so and then the PR is a click away
<drager> So it's common to package things and then send PR's that gets into upstream?
<symphorien> well it depends on the package of course.
<drager> Yeah
<drager> Thank you for all the answers!
owickstrom has quit [Quit: Leaving]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<AK> dunno why I started loving this yet innocent looking nixos :-)
Tucky has quit [Quit: WeeChat 2.2]
Tucky has joined #nixos
ubert has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #53741 → home-assistant: 0.84.6 -> 0.85.0 → https://git.io/fhZra
<duairc> I'm trying to split my configuration.nix up into smaller, independent modules
<duairc> I want to write a networkmanager one, which enables networkmanager, installs networkmanagerapplet and adds "networkmanager" to the extraGroups of every user defined in users.users
Dedalo has joined #nixos
<duairc> It's the last one that's causing a problem, infinite recursion as you might imagine
<duairc> I know there's mkIf that magically fixes that in certain cases, but I don't think that's exactly what I need here
orivej has quit [Ping timeout: 272 seconds]
<duairc> But how does mkIf do it, and can I do something similar here?
<{^_^}> [nixpkgs] @zimbatm pushed to master « nomad: 0.7.1 -> 0.8.6 »: https://git.io/fhZrr
<AK> duairc: I'm noob to nixos but what you wanna achieve same I had in mind and I accomplished it with this configuration.nix
<wedens> duairc: where is the recursion?
<wedens> how do you add `extraGroups`?
<AK> I would shorten it once I'm happy with my setup. I'm thinking of `imports` and I'll remove all those things and add another file.nix in /etc/nixos then import it. I think that would work.
<immae> Hi everyone! I have this warning with nixops when deploying: ''warning: The option `ipAddress' defined in `/tmp/nixops-tmp4qK0KF/physical.nix' has been changed to `ipv4.addresses' that has a different type. Please read `ipv4.addresses' documentation and update your configuration accordingly.'' (it’s a hetzner server) I would like to update the ipAddress to use the new ipv4.addresses, but it’s not in my
<immae> configuration file. I can see it in the nixops sqlite database though, what way do I have to fix the value? (I don’t want to destroy the current server of course :p )
<AK> As I said I'm newb so don't even know if that's the true way but how much I have learnt in these two days with nixos I'm sure, it will
<AK> immae: your configuration.nix?
<immae> AK: it’s not in there, it’s written by nixops
<duairc> wedens: The recursion is on config.users.users I'd imagine, it's defined in terms of itself
<AK> immae: nixops is new term to me ;-)
<immae> AK: basically it’s a set of scripts to automate deployment of servers https://nixos.org/nixops/manual/
<immae> in particular some part of the configuration is (computed at creation and) written in an sqlite database, and it includes the one I’m talking about
<AK> cool
<wedens> duairc: I don't think you can just add every user to the group like that. I'm not entirely sure though
<immae> The problem is that I see no other way of fixing the configuration than to go edit the sqlite value, so I wondered if I have other options that I missed
<duairc> wedens: There must be some way I can do this so that I only have to declare the users once, and if I enable my networkmanager module, then everyone is added to the group?
<wedens> duairc: do you get infinite recursion error?
<duairc> wedens: Yeah
<wedens> duairc: how about something like `users.groups.networkmanager.members = config.users.users`. I'm not sure what value it'll have in the end though
<duairc> wedens: Ah, I didn't know about users.groups. That could work.
<AK> is there
<AK> aan
<AK> is there a way to set python3 as default python? I can't find an option
<{^_^}> [nixpkgs] @taku0 opened pull request #53742 → flashplayer: 32.0.0.101 -> 32.0.0.114 → https://git.io/fhZrF
<duairc> wedens: That seems to have worked, thanks!
<wedens> duairc: have you checked that it doesn't result in an empty list? :)
<{^_^}> [nixpkgs] @7c6f434c pushed to master « sbcl: fix a thread safety bug with an upstream patch »: https://git.io/fhZrA
<duairc> wedens: Haha, it actually adds every user on the system... I guess I want to filter isNormalUser or something
strobelight has quit [Read error: Connection reset by peer]
init_6 has joined #nixos
<siers> two of the nix shell expressions for react-native aren't building :(
Synthetica has joined #nixos
<esmerelda> builtins.toPath "./foo" expands to /home/esmerelda/foo inside nix repl, but it's not expanding for some reason in my invocation of nix shell... is there a reason?
<wedens> esmerelda: you may want to do `toString ./foo`
rauno has quit [Ping timeout: 268 seconds]
<esmerelda> wedens: it's already a string though
iyzsong has joined #nixos
<esmerelda> it's being passed to callPackage, which is complaining
alex`` has joined #nixos
orivej has joined #nixos
<wedens> esmerelda: maybe try `./. + "foo"`
<esmerelda> wedens: hm... that works now, but it gives the directory where the nix file lives rather than pwd
<wedens> esmerelda: yeah. that's what it should do
Dedalo has quit [Ping timeout: 252 seconds]
<esmerelda> true. I guess I need to resolve absolute paths in my wrapper script
ashijit_ has joined #nixos
porrifolius has quit [Ping timeout: 272 seconds]
ferriswheel has quit [Ping timeout: 250 seconds]
nalbyuites has quit [Ping timeout: 258 seconds]
ashijit_ is now known as nalbyuites
jtojnar has joined #nixos
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @baracoder opened pull request #53743 → linuxPackages.nvidia_x11*: Add me as a maintainer → https://git.io/fhZog
<{^_^}> [nixpkgs] @prusnak opened pull request #53744 → gcc-arm-embedded: 7-2018-q2-update -> 8-2018-q4-major → https://git.io/fhZoa
ng0 has quit [Quit: Alexa, when is the end of world?]
IRC-Source_40609 has joined #nixos
knupfer has joined #nixos
agander has quit [Ping timeout: 250 seconds]
Dedalo has quit [Ping timeout: 245 seconds]
agander has joined #nixos
<mudri> I submitted this pull request a while ago. It adds to the changelog, so leads to a minor merge conflict. How can I best get it to move forward? https://github.com/NixOS/nixpkgs/pull/53080
<{^_^}> #53080 (by laMudri, 1 week ago, open): ibus-engines.table: 1.9.20 -> 1.9.21
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #53745 → firefox, firefox-bin: 64.0 -> 64.0.2 → https://git.io/fhZoy
hedning has quit [Quit: hedning]
__monty__ has joined #nixos
hedning has joined #nixos
IRC-Source_40609 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
IRC-Source_40609 has joined #nixos
IRC-Source_40609 has quit [Client Quit]
IRC-Source_40609 has joined #nixos
esmerelda has quit [Ping timeout: 268 seconds]
Dedalo has joined #nixos
IRC-Source_40609 has quit [Client Quit]
IRC-Source_40609 has joined #nixos
knupfer has quit [Ping timeout: 268 seconds]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @zaninime opened pull request #53746 → nexus: 3.12.1 -> 3.14.0-04 → https://git.io/fhZoS
IRC-Source_40609 has quit [Client Quit]
IRC-Source_40609 has joined #nixos
<wedens> does fontconfig use configuration from the host when I run nix package that uses fontconfig on non-nixos system?
tzemanovic has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #53714 → glib: fix libgio segfaults → https://git.io/fhZ0n
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/fhZo7
<{^_^}> [nixpkgs] @bkchr opened pull request #53747 → linux: Adds patch for fixing wifi on raspberry pi → https://git.io/fhZod
IRC-Source_40609 has left #nixos [#nixos]
<wedens> am I blind or fonts are rendered differently in those two termite instances? https://i.imgur.com/YX6XrhD.png
lordfluffywobble has joined #nixos
<wrl> wedens: tiniest bit smoother on the right
<wrl> took me a minute
<wedens> actually it's more visible when zoomed out https://i.imgur.com/RPZQqzh.png
<wrl> look at the edges of the "w"s in the permissions
<{^_^}> [nixpkgs] @vcunat pushed 314 commits to staging-next: https://git.io/fhZop
<{^_^}> [nixpkgs] @7c6f434c merged pull request #53745 → firefox, firefox-bin: 64.0 -> 64.0.2 → https://git.io/fhZoy
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fhZoh
<wrl> tiny tiny differences
<wedens> I'm not sure why though
rprije has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jacereda opened pull request #53748 → purescript: fix build compiling with ghc 8.4.4 → https://git.io/fhZKv
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-resolver: 3.2.0 -> 3.2.1 »: https://git.io/fhZKf
<Taneb> Is there a way to move a hydra instance from one machine to another, keeping all data, easily?
<wedens> it should read the same /etc/fonts/fonts.conf as native one, I think
<wedens> and judging from strace output, it does
<wedens> with some suspicious errors
<{^_^}> [nixpkgs] @jacereda opened pull request #53749 → psc-package: 0.4.2 -> 0.5.1 → https://git.io/fhZKT
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danbst has joined #nixos
<danbst> \o
o1lo01ol1o has joined #nixos
esmerelda has joined #nixos
<danbst> is there shortcut in Nix for a fake sha256 attribute? Like, write `sha256 = "fake";`, wait it errors out and prints correct hash?
<etu> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<danbst> oh
<danbst> my main problem is that I never can remember how many digits should be in hash, so I have to google fake one
<etu> danbst: I usually steal a hash from some place else and just change a few chars so it should be wrong, that way I don't have to guess how many chars to put in :p
<danbst> so you google to, right
<danbst> *too
<etu> danbst: "some place else" is another package or so
<danbst> gotcha
<etu> :)
o1lo01ol1o has quit [Remote host closed the connection]
rauno has joined #nixos
<danbst> I'd like than `sha256 = null;` would generate error with correct hash, rather than "error: value is null while a string was expected"
strobelight has joined #nixos
<Synthetica> danbst: Or a lib.emptyHash or something
Dedalo has quit [Ping timeout: 272 seconds]
<danbst> or, `sha256 = "";`. It generates "error: hash '' has wrong length for hash type 'sha256'", but maybe better would be to include real hash
<Synthetica> Any of those would be good
<drager> How long would things I install via `nix-env` be present on the system? I mean if I run `nix-env -i` and later changes `configuration.nix` and do other changes so a new entry is added and then I install packages via `nix-env` and then I rollback for some reason. Packages only from the first `nix-env` run will be present then?
<danbst> Syntetica: great, I'll fill up an issue
<{^_^}> [nixpkgs] @adisbladis merged pull request #53331 → Emacs packages update → https://git.io/fhY3e
<{^_^}> [nixpkgs] @adisbladis pushed 5 commits to master: https://git.io/fhZKt
<danbst> drager: packages installed with nix-env are independent from configuration.nix ones.
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fhZKq
<danbst> drager: in your case everything you've installed with nix-env will be present, no matter how many and in which order `nixos-rebuild switch --rollback` you do
<danbst> or are you talking about `nix-env` rollbacks?
<drager> danbst: Oh okey
<adisbladis> danbst: re hash shortcuts: You can use the output from sha256sum
<drager> No, just rollbacks from nixos-rebuild
fendor has joined #nixos
<drager> Thanks danbst
<danbst> adisbladis: oh, like `echo|sha256sum`
<adisbladis> Yeah :)
<{^_^}> [nixpkgs] @markuskowa closed pull request #49245 → tbb: 2018_U5 -> 2018_U6 → https://git.io/fxHeR
<danbst> though I like the lib.fakeSha256 approach. It would be 1) easier to notice that it is fake one, 2) less typing
<jonaswouters> if a package's hash (from the stable or unstable channel) is no longer up to date, and thus does not want to install the package, is there an easy way to ignore the hash?
<{^_^}> [nixpkgs] @vcunat pushed commit from @hedning to staging-next « gtk3: fix segfaults when opening dialogs »: https://git.io/fhZKZ
<danbst> jonaswouters: no, you have to override/remove affected package
<Synthetica> jonaswouters: "A package's hash"? The hash for the source? Or for the whole package?
<jonaswouters> the hash of the source
<{^_^}> [nixpkgs] @hedning closed pull request #53736 → gtk3: fix segfaults when opening dialogs → https://git.io/fhZaa
<Synthetica> You can override the source with a new fetchUrl (or fetchFromGitHub or whatever) that has the correct hash
<jonaswouters> yeah they only seem to provide 1 download url "latest" so hard to hash that
<danbst> jonaswouters: well, I didn't want to say that overriding package is hard... You should try do it yourself: https://nixos.org/nixpkgs/manual/#sec-pkg-overrideDerivation
<Synthetica> Or you can use builtins.fetchUrl "https://foo.bar", which doesn't need a hash but is impure
<jonaswouters> danbst: yeah I know it's not that hard, I've got a couple overrides, but this one keeps changing and that is annoying
<Synthetica> Sorry, *fetchurl
<jonaswouters> maybe that would make more sense in this case.
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to staging: https://git.io/fhZKl
<{^_^}> [nixpkgs] @markuskowa merged pull request #53512 → gnutar: 1.30 -> 1.31 → https://git.io/fhs0P
<__monty__> Maybe you can fetch a specific version tag with fetchGit or fetchGithub?
Makaveli7 has joined #nixos
<jonaswouters> i think it's unfree software.
esmerelda has quit [Ping timeout: 245 seconds]
<Synthetica> jonaswouters: https://i.imgur.com/TGYC0Q2.jpg
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhZKE
<{^_^}> [nixpkgs] @markuskowa merged pull request #53510 → transmission-remote-gtk: 1.4.0 -> 1.4.1 → https://git.io/fhsR7
esmerelda has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #53469 → libbladeRF: 2.0.2 -> 2.2.0 → https://git.io/fh3pf
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhZKo
erictapen has joined #nixos
<gchristensen> yl[m]: you can us Nix to build your docker images, so you don't need a list of A and B.. :)
acarrico has joined #nixos
periklis has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
abcrawf has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
fendor has quit [Ping timeout: 252 seconds]
abcrawf has joined #nixos
fusion809 has quit [Remote host closed the connection]
mariel__ has joined #nixos
ThatDocsLady_ has quit [Read error: Connection reset by peer]
fendor has joined #nixos
Havvy has quit [Ping timeout: 246 seconds]
johann__ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #53733 → pgsanity: init at 0.2.9 → https://git.io/fhZaO
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhZ6J
<drager> How do you guys handle different versions of programming languages such as python 2 and python 3? For e.g. Rust, do you still handle rust versions etc using rustup?
<gchristensen> for python I have a shell.nix per project, and the shell.nix refers to python2 or python3
<gchristensen> for rust, I have a shell.nix per project, and the shell.nix refers to rustA or rustB :)
<drager> Oh okey, and you keep those in version control for the specific project?
<gchristensen> yea
<drager> Cool
<drager> And if it's an lets say open source project where you can't check them in?
<gchristensen> I'll put a shell.nix in there anyway, and not commit it
<drager> Sounds reasonable, thanks!
<Yaniel> or put the project on nixpkgs
<gchristensen> nix-shell is good stuff. I use it for everything. I don't have much of anything installed globally, because I use shell.nix for everything
<Yaniel> then you can use the package to set up a nix-shell
<drager> gchristensen: Yeah, it sounds great. Haven't gotten to it yet since I'm new with nixos etc
<drager> Yaniel: How do you mean?
<Yaniel> write a package definition for it and submit it to the nixpkgs repo
<Yaniel> because you can use nix-shell to get an environment suitable for a given package as well
<Yaniel> (not sure of that pulls in dev dependencies or only runtime though)
<{^_^}> [rfcs] @edolstra closed pull request #35 → [RFC 0035] Default `name` from `pname` → https://git.io/fxkVD
<drager> I'm not sure I follow. If I write a private anything using Rust that is private and I want to use rustc 1.31, how would that work as you write?
<{^_^}> [rfcs] @edolstra closed pull request #21 → [RFC 0021] Pull Request Testing on Hydra → https://git.io/fhZ6O
<ben> I think the suggestion is for when there's an open source project that is on github but doesn't want to ship a .nix file, not for private things
<Yaniel> if you want to hack on something privately you'd just use a shell.nix
<Yaniel> but if it's a public project you might as well package it publicly
<drager> Ah alright!
<drager> Yeah, that sounds like a good plan
<Yaniel> the .nix file is going to be almost the same for shell.nix and a package anyway
<drager> ah ok
<drager> Thanks!
esmerelda has quit [Ping timeout: 272 seconds]
<Twey> drager: For py2/py3 we have python/python3 symlinks anyway, and we use python.withPackages, which uses Python site-packages directories to make sure the dependencies don't conflict
<Twey> drager: (as a local developer who isn't packaging you can stick one in a shell and use venv/pipenv/env-of-the-week normally if you prefer)
periklis has joined #nixos
<drager> Haha alright, thanks :)
<{^_^}> [nixpkgs] @dotlambda pushed to master « python3.pkgs.pyhomematic: 0.1.53 -> 0.1.54 »: https://git.io/fhZ6C
<{^_^}> [nixpkgs] @danbst opened pull request #53754 → lib: add étalon fake hashes → https://git.io/fhZ68
<danbst> Synthetica: ^
<Synthetica> danbst: Cool!
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Makaveli7 has quit [Quit: Leaving]
periklis has quit [Ping timeout: 240 seconds]
tdbgamer has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.pyfakefs: 3.4.3 -> 3.5.5 »: https://git.io/fhZ6V
Makaveli7 has joined #nixos
fendor has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
ottidmes has joined #nixos
kisonecat has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.zstd: 1.3.5.1 -> 1.3.8.1 »: https://git.io/fhZ6D
<__monty__> What does readFile do with interpolation syntax when reading a file?
<Synthetica> __monty__: I'd hope absolutely nothing
<Twey> Nothing at all, it just reads the file into a string literally
<duairc> Is there a way to forcibly remove a package from envrionment.systemPackages that's getting added by another module?
<wedens> you can change priority
<__monty__> Twey: So I can just interpolate variables defined in the context of the readFile call-site?
fendor has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.scapy: 2.4.0 -> 2.4.1 »: https://git.io/fhZ67
<duairc> wedens: But that would only be for if I was trying to replace it with another package, right? It will still be in the list
<wedens> __monty__: there is replaceStrings
<danbst> duairc: no. If package isn't a core one, you can make it null via overlay. So it will be technically in list, but will be null (or an empty derivation)
<Taneb> Is it known what NixOS 19.03 will be codenamed?
<duairc> danbst: But what if some other packages depends on it, I don't necessarily want to make it null, I just don't want it showing up in environment.systemPackages?
<{^_^}> #32405 (by MrSorcus, 1 year ago, open): Possible to exclude some package from environment.systemPackages?
<danbst> duairc: actually there is a way, but not very fun
<duairc> danbst: Oh yeah? Haha, tell me
<__monty__> wedens: Hmm, I guess, interpolation doesn't work then? Guess that would lead to problems anyway considering ${VAR} is valid shell syntax.
<{^_^}> [nixpkgs] @dotlambda merged pull request #53741 → home-assistant: 0.84.6 -> 0.85.0 → https://git.io/fhZra
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhZ6p
<wedens> __monty__: use @var@ (default substitution syntax for nix)
iyzsong has quit [Ping timeout: 246 seconds]
<wedens> __monty__: you _can_ use ${var}, btw
Makaveli7 has quit [Quit: Leaving]
<wedens> you'll just need to be careful to escape when you replace
init_6 has quit [Ping timeout: 258 seconds]
<__monty__> Default as in that's automatically interpolated when using readFile? Or default as in convention?
<wedens> __monty__: there is also substituteAll, but it produces a path in the store, not just a literal string
gagbo has quit [Ping timeout: 272 seconds]
<wedens> __monty__: e.g. substituteAll uses @var@ for subtitution
init_6 has joined #nixos
<__monty__> And that syntax is only for substituteAll?
<duairc> danbst: Actually, in this case I can solve this with an override. I'm using MATE but I don't want Gnome terminal installed. But I do have services.xserver.desktopManagers.gnome3.enabled = true;, because that does some magic that makes MATE work better. But I can make an overlay that takes gnome-terminal out of pkgs.gnome3.corePackages
<wedens> __monty__: no idea, tbh :)
<__monty__> wedens: Alright, np, thanks.
<Synthetica> __monty__: If you want different syntax, you could use some sed magic in a derivation
<srhb> __monty__: substite and the other bash functions all use the @varName@ syntax if you use subst-var over replace. What are you actually trying to do? :)
<danbst> duairc: nix-instantiate --eval -E '(with import <nixpkgs/nixos> { configuration = { boot.isContainer = true;imports = [ (<nixpkgs/nixos/modules/programs/ssh.nix>) ]; }; }; config.environment.systemPackages)'
orivej has joined #nixos
<duairc> danbst: Hahaha
<duairc> That's a good one alright
<__monty__> This was about being able to write a config file with syntax highlighting. It's broken when it's included in an expression as a multi-line string.
<{^_^}> [nixpkgs] @edolstra pushed to master « nixUnstable: 2.2pre6526_9f99d624 -> 2.2pre6600_85488a93 »: https://git.io/fhZiT
<__monty__> However, there's interpolation in the string currently. So I'm looking for a replacement.
<danbst> this is a Nix expression to obtain list of all systemPackages, which module generates. You then filter it and mkForce in you configuration.nix resulting expression
<danbst> instead of <nixpkgs/nixos/modules/programs/ssh.nix> you should put your configuration file
<srhb> __monty__: Avoiding readFile and friends and using the shell substitution files sounds like the right solution then.
<srhb> er, shell substitution functions*
dslegends has joined #nixos
erictapen has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @yorickvP opened pull request #53756 → nixos/borgbackup: use coercedTo instead of apply on `paths` → https://git.io/fhZit
<wedens> I've had a problem with readFile { substituteAll { .. } } just yesterday. so yeah, avoid that :)
<danbst> but make sure you never introduce infinite recursion. So you should have configuration.nix = import ./configuration_real.nix; environment.systemPackages = lib.mkForce (that expression);, and ./configuration_real.nix should contain your current configuration
<danbst> duairc: ^
<__monty__> srhb: Shell substitution functions? substituteAll? So I have to export all the things I'm now interpolating as environment variables?
detran has quit [Ping timeout: 268 seconds]
<duairc> danbst: That's definitely a bit too crazy, but I appreciate you showing me that. I'll see if I can trick gnome into thinking gnome-terminal isn't a core package.
<srhb> __monty__: Either that or use substituteInPlace with --replace or something similar
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.h5py: 2.8.0 -> 2.9.0 »: https://git.io/fhZic
<wedens> __monty__: you can use substituteAll if you can reference a file in the store and not just a string
<srhb> __monty__: As in substituteInPlace --replace my_bash "${pkgs.bashInteractive}/bin/bash"
<__monty__> wedens: substituteAll seems less ergonomic tbh.
<__monty__> srhb: What's the advantage of substitute over replaceStrings? Other than the built-in @syntax@?
<wedens> it's a nix function, so it's more ergonomic IMO :)
<srhb> substituteAll is not a nix function.
<duairc> Hooray, it worked. Also needed to set services.gnome3.gnome-terminal-server.enabled = false, but yeah it works now.
<__monty__> Aren't all of replaceStrings, substitute/InPlace/All nix functions? The former is in builtins, the rest are in nixpkgs.
<wedens> srhb: it's implemented in bash, but it's also a nix function, isn't it?
<srhb> __monty__: substitute/InPlace/All and friends are bash functions in the generic builder
<srhb> wedens: Not to my knowledge.
<betaboon> how can i get a haskell package running that is not yet in hackage ?
<wedens> pkgs/build-support/substitute/substitute-all.nix
<__monty__> So unless substitute has an advantage I'm not sure why to depend on nixpkgs for this?
alex_giusi_tiri has left #nixos [#nixos]
<danbst> duairc: nice! btw, is MATE better than gnome shell? Maybe I should switch too?
<duairc> danbst: It's definitely a bit rough around the edges in Nix, but I'm getting there. I actually use i3 as my window manager but I like having a desktop environment as well. Gnome Shell doesn't support that.
<srhb> wedens: Ah, I didn't know that one.
<{^_^}> [nixpkgs] @Mic92 merged pull request #53747 → linux: Adds patch for fixing wifi on raspberry pi → https://git.io/fhZod
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fhZi2
<duairc> Gnome Flashback *does* support that, it's descended from the same codebase as MATE, in theory it should be the same, but it's only just been packaged for NixOS and it's even rougher around the edges than MATE (tried it out last night)
<srhb> Wait, I guess I did. I just seldom use it manually. If ever.
<wedens> srhb: it's pretty convenient to do `substituteAll { src =./file; inherit some_dep; };` :)
<srhb> Yeah.
<duairc> I actually use MATE with mostly gnome applications, I just prefer mate-terminal because gnome-terminal removed support for transparency. I guess I could equally just patch it back in, Ubuntu even has a patch for that, Nix makes that easy, but I don't want to do too many source-level patches or else I'll just be compiling all the time
LnL7 has quit [Quit: exit 1]
<duairc> danbst: I did try out Gnome Shell in Nix yesterday though. Do you find GDM to be really buggy? In particular everytime I did nixos-rebuild it restarted display-manager.service (which I thought it wasn't supposed to do, it doesn't do it for lightdm), and half the time it wouldn't come back up. I thought it might be a wayland thing so I disabled that but the behaviour was still more or less the same.
<srhb> __monty__: fwiw, exporting to bash env vars in stdenv.mkDerivation is as simple as setting foo = bar; attributes in the attrset passed to mkDerivation, so it's not horrible.
LnL has joined #nixos
LnL is now known as Guest62394
orivej has quit [Ping timeout: 246 seconds]
Guest62394 has quit [Client Quit]
<danbst> duairc: yes, I've had this bug too, but long ago. Recent half-year was clean regards to this
tzemanovic has joined #nixos
LnL7 has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<__monty__> srhb: Noted, thanks for the advice.
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
LnL7 has quit [Client Quit]
LnL has joined #nixos
LnL is now known as Guest25575
<betaboon> is github down ? oO
<wedens> betaboon: works on my machine (tm)
<__monty__> Not down for me either.
<betaboon> weird on my phone it works. on my landline i get timeouts
Guest25575 has quit [Changing host]
Guest25575 has joined #nixos
Guest25575 is now known as LnL
<danbst> betaboon: https://www.githubstatus.com/ yes, they are doing some maintenance since Jan 7
<betaboon> danbst: yeah saw that. thanks tho.
orivej has joined #nixos
<wedens> check your dns or something
<gchristensen> that maintenance only applies to the scheduled services brownout
hyper_ch2 has quit [Ping timeout: 256 seconds]
<betaboon> for me github.com resolves to 192.30.253.112 and 192.30.253.113. according to https://api.github.com/meta they also resolve to some 185 addresses. those 185 are pingable for me. the 192 ones are not
<betaboon> now the are back... maybe my ISP fucked up _again_
tzemanovic has joined #nixos
<wedens> your isp probably don't use nixos
<betaboon> my isp is the worst ...
babic has joined #nixos
<LnL> isn't the entire 192 range private?
<samueldr> only a part of
<gchristensen> 192.168.0.0/16 I think
<betaboon> LnL: only 192.168/16
<gchristensen> just the 10.0.0.0 is a full /8
<LnL> ah right it's only a /16
<samueldr> there aere other ranges in the 192 ranges used for other things https://en.wikipedia.org/wiki/Reserved_IP_addresses
<DigitalKiwi> is the 172.21 the same?
<betaboon> DigitalKiwi: 172.16/12 is private
<LnL> I also thought 172.16 was a /16 for some reason
<wedens> so, Arch and Nix seem to have incompatible fontconfig versions (2.13.1 arch and 2.12.6 nix). how can I work around that?
<DigitalKiwi> oh hmm i had some misconceptions about the 172 ones
orivej has quit [Ping timeout: 258 seconds]
__Sander__ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to gcc-8: https://git.io/fhZPZ
__Sander__ has joined #nixos
<Synthetica> fpletz: There is already the gcc8 branch that had some fixes
<Synthetica> But that's pretty old, so I'd support a new attempt
tzemanovic has quit [Remote host closed the connection]
<ottidmes> wedens: by upgrading the version in Nix maybe? like adding it to your overlay with a compatible version
pie_ has quit [Remote host closed the connection]
<fpletz> Synthetica: ah, didn't see that. thanks!
pie_ has joined #nixos
<wedens> ottidmes: it'll be recompiling the universe :/
<Synthetica> fpletz: Probably a pretty big source of merge conflicts if you want to update that tho :P
<fpletz> Synthetica: I'll probably only pick some commits from there
<fpletz> looking at it right now
johanot has quit [Quit: WeeChat 2.2]
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #53759 → fontconfig: 2.12.6 -> 2.13.1 → https://git.io/fhZPu
<{^_^}> #53759 (by Synthetica9, 36 seconds ago, open): fontconfig: 2.12.6 -> 2.13.1
<wedens> Synthetica: thanks! I'll wait for the cache :)
<danbst> gchristensen: "I don't have much of anything installed globally, because I use shell.nix for everything" - but how do you solve a gc-root pinning? Do you write nix-shell wrappers for each project?
<srhb> danbst: The easy solution is to not gc :P
<wedens> danbst: .direnv maybe?
<gchristensen> danbst: srhb's solution is pretty much what I do, I don't GC very often. once every 3mo or so? maybe even less.
<gchristensen> danbst: but I'm moving to a tool I've been hacking about on which auto-gc-roots nix-shells.... maybe one day it'll be OSS
<{^_^}> [nixpkgs] @dotlambda merged pull request #53735 → Flexget 2.17.20: add transmissionrpc as dependency → https://git.io/fhZaB
<{^_^}> [nixpkgs] @dotlambda pushed commit from @agentpt5 to master « flexget: add transmissionrpc as dependency (#53735) »: https://git.io/fhZPo
<danbst> gchristensen: not gc is luxury
<gchristensen> danbst: sure it is
<srhb> danbst: Compression and hardlinking helps though. :)
<wedens> direnv seems like a feasible solution
<danbst> gchristensen: will that tool have curses UI to prune unneeded roots? :)
<gchristensen> no
<danbst> alright. Have to write myself...
_lawlesseel has quit [Ping timeout: 256 seconds]
<gchristensen> (but also big disks aren't so expensive these days.. not like they used to be, hoo boy.)
dermetfan has quit [Ping timeout: 258 seconds]
<srhb> I'm so happy I finally moved to a bigger disk. I currently have effectively 140GiB of store.
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Remove MLX5_CORE_EN since this is enabled by default now »: https://git.io/fhZPP
mmlb2 has quit [Ping timeout: 250 seconds]
<srhb> Speeds up development so much when you work with a ton of different nixpkgs versions.
waleee has joined #nixos
<gchristensen> :D
o1lo01ol1o has joined #nixos
<gchristensen> my computer's disk space is approximately 5GB used in ~, (mostly in Cargo cache...) and then 500GB /nix/store
<srhb> Can't beat that... :P
<srhb> I do have a ton of snapshot space used in /home though
<gchristensen> my next computer is likely to be 128g or 256g. I don't need 512g .
tty777 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @fpletz pushed 341 commits to staging: https://git.io/fhZPQ
mkoenig has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to gcc-8: https://git.io/fhZP7
<danbst> 128G isn't enough
<srhb> I was bothered by 256 too tbh.
mmlb2 has joined #nixos
mkoenig has joined #nixos
<Synthetica> 256 isn't _that_ spacious, but it's also not too bad
<makefu> i am currently at 512gb but soon i will need to double or quadruple the disk space. i moved the home directory over a couple of generations
<gchristensen> beyond my source code checkouts and cargo cache, my ~ is like 10mb :|
<makefu> /dev/mapper/main-home 424G 341G 66G 84% /home
mr_noobs has quit [Quit: WeeChat 2.2]
<gchristensen> my guess is y'all do different things on these computer things
<Luciole> like, use a web browser? :p
tzemanovic has joined #nixos
<srhb> gchristensen: what
<srhb> :)
johann__ has quit [Ping timeout: 252 seconds]
mr_noobs has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
jabranham has joined #nixos
fendor has quit [Remote host closed the connection]
lawlesseel has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @fpletz opened pull request #53760 → [WIP] Build nixpkgs with gcc 8 by default → https://git.io/fhZXt
agander has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @hedning pushed 2 commits to master: https://git.io/fhZX0
<{^_^}> [nixpkgs] @hedning merged pull request #53738 → libmediaart: turn off broken tests until fixed → https://git.io/fhZaX
<{^_^}> [rfcs] @grahamc closed pull request #20 → [RFC 0020] Security On Call → https://git.io/fhZXE
<Baughn_> Aka. "We need to recompile and push new systemd versions to everything *right now*.
<gchristensen> Baughn_: it is being worked on right this moment
<Baughn_> That's what I was hoping to hear.
chessai has joined #nixos
<Baughn_> Synthetica: What tool is that?
<gchristensen> ncdu
<Synthetica> Baughn_: ncdu
<Baughn_> Neat.
<Synthetica> Very.
<Baughn_> Slow though. :V
<Baughn_> I suppose it does need to scan the entire FS.
<Synthetica> Can't we compile just systemd with gcc8? Or wouldn't that fix the problem?
<Baughn_> gcc8 + some compiler flags.
<Baughn_> But IME it's a bad idea to mix and match compiler versions for core software.
<{^_^}> [nixpkgs] @dotlambda merged pull request #53756 → nixos/borgbackup: use coercedTo instead of apply on `paths` → https://git.io/fhZit
<{^_^}> [nixpkgs] @dotlambda pushed commit from @yorickvP to master « nixos/borgbackup: use coercedTo instead of apply on `paths` (#53756) »: https://git.io/fhZXa
<Baughn_> The real problem here is, of course, that it's written in C. :X
devalot has joined #nixos
<gchristensen> ekleog tells me that the bug is not due to C, but is an architectural problem which wouldn't be solved by an arbitrary, memory-safe languages
fendor has quit [Ping timeout: 258 seconds]
<freusque> are there any good examples of private package repositories that accept package overrides?
<freusque> I have a private collection at work, which is a set of "callPackage" generated attributes, returned in "{} in pkgs // argopkgs" fashion
<freusque> I want package overrides to work on this private package set, though.
<{^_^}> [nixpkgs] @fpletz merged pull request #53633 → claws-mail: 3.17.2 -> 3.17.3 → https://git.io/fhGFF
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « claws-mail: 3.17.2 -> 3.17.3 »: https://git.io/fhZX1
<ottidmes> ,overlays freusque
<{^_^}> ottidmes: Did you mean overlay?
<{^_^}> freusque: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
dbmikus_ has joined #nixos
<freusque> aha
<freusque> thanks!
RRedcroft has joined #nixos
<freusque> I'm wondering
<freusque> has anyone tried to write a nixpkgs to haddock/hackage converter?
Makaveli7 has joined #nixos
<freusque> AFAIK there is no augmented source browser for nixpkgs ATM, aside from the nixpkgs package search page on nixos.org?
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.hpack: fix build »: https://git.io/fhZX9
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhZXH
<{^_^}> [nixpkgs] @bendlas pushed to master « systemtap: 3.3 -> 4.0 »: https://git.io/fhZX7
Tucky has quit [Quit: WeeChat 2.2]
<teehemkay> I'm using nix on macos with the multi-user config. The version of `<nixpkgs>` in channels_root is `nixpkgs-19.03pre160749.3a393eecafb` which seems to date back to November. It doesn't seem that `nix-channel --update` really updates `<nixpkgs>` nor that `nix search -u`
<{^_^}> [nixpkgs] @dotlambda opened pull request #53761 → python3.pkgs.aiohttp: 3.4.4 -> 3.5.2 → https://git.io/fhZXb
<srhb> teehemkay: root vs your user?
<Synthetica> sudo nix-channel --update ?
<Synthetica> @ teehemkay
fendor has joined #nixos
<teehemkay> srhb: my user (there's nothing in my ~/.nix-defexpr/channels)
<ottidmes> freusque: there might have been some experiments, but I do not know of any myself, you can use `nix search ...` and to get the source location of most packages there is also `nix-instantiate --eval --expr 'let pkgs = import <nixpkgs> { }; in pkgs.git.meta.position'` (in this case for the git package)
<srhb> teehemkay: Check root, as Synthetica suggested :)
<teehemkay> Synthetica: I've tried that, no change.
<Synthetica> What does sudo nix-channel --list say?
<{^_^}> [nixpkgs] @edolstra pushed 6 commits to master: https://git.io/fhZ1J
<{^_^}> [nixpkgs] @edolstra closed pull request #50960 → Rustfmt: 0.9.0 -> 0.99.5 → https://git.io/fpRNn
<catern> what package contains share/dict/words?
<teehemkay> Synthetica: nothing (= blank)
<catern> ,locate words
<{^_^}> Found in packages: ats2, ats2, geant4, neverball, plan9port, typespeed, factor-lang, factor-lang, netbsd.dict, link-grammar, link-grammar, link-grammar, link-grammar, rPackages.SnowballC, gnome2.gtksourceview, gnome3.gtksourceview.dev, python27Packages.twisted, python37Packages.twisted, gnome3.gtksourceview4.dev, haskellPackages.words.data
<Synthetica> sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
<Synthetica> Or whichever flavour you like
<teehemkay> Synthetica: the thing is there is already a channel that nix is using. I'll try to sudo and issue `nix-channel --update` as the root user.
<{^_^}> [nixpkgs] @ju1m opened pull request #53762 → Improving integration of `nslcd`, PAM and `openldap`. → https://git.io/fhZ1q
init_6 has quit [Ping timeout: 258 seconds]
<freusque> thanks ottidmes
<freusque> I'm wondering to what extent the nixpkgs code structure would even allow documentation generation,actually
<Dandellion[m]> Am I missing some packages or something, it's not very googlable :/
dermetfan has joined #nixos
<freusque> In general, the main difficulty I have with nix/nixpkgs is the lack of specified constraints on the structure of the nix code itself
<freusque> it's quite powerful which is amazing, but yeah. I know types were attempted, I'm wondering about a module system
<ottidmes> freusque: well you could say mkDerivation determines a lot of structure: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/make-derivation.nix and types are actually being used to check metadata: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/check-meta.nix
<teehemkay> Synthetica: Thanks for your help. Finally got it to update: i had to first `sudo -u root` and *then* `nix-channel --update` for it to work (`sudo -u root nix-channel --update` didn't work either)
<clever> teehemkay: root is the default user, so `-u root` isnt needed
<teehemkay> clever: Yes. I mean I had to `sudo -u root bash`
<clever> teehemkay: you want `sudo -i`
<samrose_> I have an application that is packaged to run on nixos, the application in turn will end up downloading binaries and running them on nixos. Is there a straightforward/recommended way to do this in nixos? are there specific directories where an application should place data, and binaries that are not part of "closures"?
<teehemkay> clever: Oh I had forgotten that one, thank you 😀
<{^_^}> [nix] @Mic92 opened pull request #2622 → nix build: print build derivations (cachix support/nix-build compatibility) → https://git.io/fhZ1l
<samrose_> I did find this thread on "just run binaries" https://nixos.org/nix-dev/2017-March/023213.html
<ben> samrose_: $XDG_CACHE_HOME / $HOME/.cache?
<samrose_> ben: I'll try it thanks. And I also found buildEnv from pkgs/build-support/buildenv and will investigate it
<ben> re: steam-run, my first thought was also whether you are packaging steam :)
<freusque> yeah, make-derivation is a big one, I suppose.
chessai has quit [Remote host closed the connection]
<ben> samrose_: if they're spooky non-nixos binaries that make weird assumptions about where their dependencies live, yeah, the whole build-fhs-* stuff sounds useful
<samrose_> ben: yeah, I am not packaging steam, so I might not start there. I forgot about https://nixos.org/patchelf.html too
<freusque> I have limited experience with PL design so any remark I can make is hazy anyways, thanks.
<ben> steam-run is just a wrapper script for that apparently
<samrose_> ah, made for steam-like binaries or something like that ok
<ben> freusque: there was some recent talk about designing a new module system. i only recall that it involves a bunch of angle brackets, sorry.
<samrose_> ah yeah, I forgot about buildFHSUserEnv and all that too
<{^_^}> [nixpkgs] @adisbladis pushed to master « emacsPackagesNg.forge: Add git as build input »: https://git.io/fhZ1V
<Taneb> Are people using unstable zfs successfully?
<freusque> :)
<Taneb> I tried very briefly (on 18.09) and it seems to fail pretty early on
<Mic92> Taneb: I have it on all my machines :)
pie___ has joined #nixos
<das_j> What is the proper way to inherit packages in a overlay from unstable? inherit (import <nixos-unstable> {}) configshell; doesn't seem to do it
<Taneb> Mic92: I ran "zpool create storage raidz2 (bunch of drives)" and got "cannot create 'storage': invalid feature 'async_destroy'"
<{^_^}> [nixpkgs] @liff opened pull request #53763 → emacs: tramp: detect wrapped gvfsd-fuse daemon → https://git.io/fhZ1o
<das_j> Never mind, it was another error
<ben> freusque: maybe somewhere around https://www.youtube.com/watch?v=8M6yvJC00J4&t=1392
<Mic92> Taneb: mhm. when was this feature introduced and what is your zfs version?
<ottidmes> freusque: ben: I believe it was this gist: https://gist.github.com/edolstra/29ce9d8ea399b703a7023073b0dbc00d
Ariakenom has quit [Ping timeout: 268 seconds]
<ben> ottidmes: oh yeah, thanks!
tilpner has joined #nixos
<Taneb> Mic92: I can't find the version but this is the zfsUnstable in nixos 18.09
<Mic92> Taneb: nix-shell -p zfsUnstable --command 'echo $buildInputs'
pie___ has quit [Ping timeout: 256 seconds]
<Taneb> Mic92: zfs-user-0.8.0-rc2
<Mic92> Taneb: ok. If you think this is a bug, it is the best to open an issue upstream at https://github.com/zfsonlinux/zfs/ with the commands you have entered.
<{^_^}> [nixpkgs] @christoph00 opened pull request #53764 → bitwigstudio2: 2.3.5 -> 2.4.3 → https://git.io/fhZ1H
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4d22e46dc8d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<Taneb> Mic92: I'm going to try rebooting, it might be weirdness with nixos-rebuild switch
<Taneb> Mic92: yeah, seems to work now...
<Mic92> Taneb: ah, you tried to upgrade zfsUnstable from the installer?
__Sander__ has quit [Quit: Konversation terminated!]
<Mic92> in that case you might still have the old kernel module loaded.
<Taneb> Mic92: I tried to go from zfs stable to unstable with nixos-rebuild
<Taneb> So yes
<das_j> Okay, umm nix goes OOM when I try to pin the pacakge as inherit (import <nixos-unstable> {}) configshell;
<das_j> Is there a better way?
npmccallum has joined #nixos
<AK> github is gonna allow you to create private repos wowo
<AK> Just created a repo for my nixos configureations
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.multidict: 4.4.2 -> 4.5.2 »: https://git.io/fhZMT
jacereda has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.py3status: 3.14 -> 3.15 »: https://git.io/fhZML
<AK> I use stow for dotfiles. and I maintain them at ~/.cfg so can't I create ~/.cfg/nix/etc/nixos/ and add my configuration files there?
<AK> lemme try it myself
<jabranham> AK: that's what I do, then symlink /etc/nixos to that
periklis has joined #nixos
<jacereda> how do you know a PR won't break the world? is there some page where hydra builds can be checked?
<AK> jabranham: na, I have to stow it to / or it won't work I think
<AK> jabranham: do you have a git repo for that?
<jabranham> AK: Oh, I don't use stow for that part. Just for my home dotfiles
<AK> jabranham: stow also use symlinks for that. and yeah its available in nix
ddellacosta has joined #nixos
Dedalo has joined #nixos
RRedcroft has quit [Remote host closed the connection]
sanscoeur has joined #nixos
pie_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin opened pull request #53765 → php73: 7.3.0 -> 7.3.1 → https://git.io/fhZMl
pie_ has joined #nixos
haslersn has joined #nixos
<{^_^}> [nixpkgs] @bendlas pushed to master « nixops: add checkPhase with a smoke test »: https://git.io/fhZM4
<wedens> If I install something to `$out/etc/fonts/conf.d` in a derivation, how do I make it appear in actual fontconfig directory?
<srhb> jacereda: ofborg takes care of the local integration test on PRs, not Hydra (at least, not for the NixOS/nixpkgs infra)
tzemanovic has joined #nixos
<srhb> jacereda: It doesn't check the world though, so we just revert/fix if it does in Hydra.
<srhb> And some people use tools like nox-review(?) to do this testing locally
periklis has quit [Ping timeout: 258 seconds]
<haslersn> Is there a maintained version of https://github.com/wavewave/nixos-shell ?
erasmas has joined #nixos
<infinisil> haslersn: Don't Nixos containers do that?
mkoenig has quit [Quit: Lost terminal]
mkoenig has joined #nixos
<haslersn> infinisil: nixos-shell is a command that creates a NixOS container. I don't want to change my configuration when test-deploying some project
<Church-> Oh neat
<Church-> Didn't know about that one
endformationage has joined #nixos
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @dasJ opened pull request #53766 → tt-rss-plugin-ff-instagram: Init at git-2019-01-10 → https://git.io/fhZMK
<AK> jabranham: here is what I achieved. https://imgur.com/a/TddD3Dz
<haslersn> infinisil: nixos-container seems to be stateful. nixos-shell creates the container, starts it, mounts the current directory and logs you in as root.
<{^_^}> [systemd] @fpletz pushed 4 commits to nixos-v239-security: https://git.io/fhZMy
<AK> so do I have some bad affects if these files aren't real files and links?
<{^_^}> [systemd] @fpletz pushed 0 commits to refs/tags/nixos-v239.20190110: https://git.io/fhZM9
<rain1> How do I get video thumbnails in pcmanfm in nixos?
<jacereda> srhb: I see, thanks
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #53767 → ssh: put custom options before generated options → https://git.io/fhZMH
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #53761 → python3.pkgs.aiohttp: 3.4.4 -> 3.5.2 → https://git.io/fhZXb
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhZM7
agander has joined #nixos
<betaboon> hello #nixos, i want to build a haskell package (namely postgrest). it is available in nixpkgs but only in version 5.1.0, the latest release i 5.2.0 (which is not yet available on hackage). the one in nixpkgs doesnt build. which options to i have ?
kai_w has quit [Quit: Konversation terminated!]
ddellacosta has quit [Read error: Connection reset by peer]
<srhb> betaboon: Usually an overlay with postgrest = callCabal2Nix (fetchFromGitHub ... ) -- if it's not too weird a package
<clever> > haskellPackages.callHackage "postgrest" "5.1.0" {}
<{^_^}> cannot import '/nix/store/vp9gi4dbhjl3spp3x832srbn5a0ddf15-cabal2nix-postgrest-5.1.0', since path '/nix/store/fyqk650phg4bc5id8jxpqxsycccw3cp0-cabal2nix-postgrest-5.1.0.drv' is not valid, at /var/lib/...
<clever> betaboon: you can also use this to load any version that happens to be in all-cabal-hashes
<Synthetica> clever: til
<clever> but it relies on IFD, and {^_^} has IFD disabled for security
ng0 has joined #nixos
<srhb> betaboon: Once you have that done, you can use overrideCabal and friends to fix any build errors.
<AK> rain1: I have to install some ffmpeg vidoe thumbnailer for that what you want but my file manager is ranger
<betaboon> srhb: thanks for the pointers. will read up and try :)
chessai has joined #nixos
<rain1> thanks I installed ffmpegthumbnailer AK
<rain1> but it did not make thumbnails happen
acarrico has quit [Ping timeout: 246 seconds]
<rain1> ranger file manager is not graphical?
orivej has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.fido2: run tests »: https://git.io/fhZDf
<AK> rain1: ranger is cosole based. and I'm still wandering to search the thumbnailer name ;-)
<AK> lemme install it and it will work for me then I'll help you too
drakonis has joined #nixos
Alling has joined #nixos
mkoenig has quit [Ping timeout: 258 seconds]
<Alling> Hello awesome #nixos! I decided to make the move from Windows on my desktop as well, so that I can use my 3x 1440p monitors for programming instead of a measly 1080p laptop monitor.
<{^_^}> [nixpkgs] @joachifm merged pull request #53683 → tor: 0.3.4.9 -> 0.3.5.7, add few deps → https://git.io/fhZmC
<{^_^}> [nixpkgs] @joachifm pushed 4 commits to master: https://git.io/fhZDJ
<wedens> gchristensen: hey, I've noticed you have twemoji-color-font in your config. can you actually see emojis with color in e.g. terminal?
<betaboon> Alling: congrats :)
<Alling> However, I don't understand how to get any signal at all on my two PG278Q:s, connected with DP to my GTX 980. My DVI monitor works fine, but that's it. All DP outputs are "disconnected" according to xrandr.
<gchristensen> wedens: I don't seem to, in sakura
<Alling> They work just fine on Windows, but they are completely dead on NixOS.
<AK> Alling: welcome to linux world
mkoenig has joined #nixos
<Alling> But when I connected one of them to my laptop, it worked (at 60 Hz due to Intel GPU).
shpx has joined #nixos
<Alling> I'm also wondering how to use Wayland, or even how to tell if I'm using Wayland, or just how to get rid of the MASSIVE tearing everything I do suffers from.
<Alling> But first things first. Is there any way to make a PG278Q work on NixOS with an Nvidia GPU?
Alling has left #nixos [#nixos]
Alling has joined #nixos
<Alling> Back to Windows then, I guess. It was worth a try. I'll be staying with NixOS on my laptop though.
<AK> rain1: I got it working with ffmpegthumnailer in cosole without ranger. lemme reboot
<{^_^}> [nixpkgs] @dotlambda pushed to master « qmediathekview: 2017-04-16 -> 2019-01-06 »: https://git.io/fhZD3
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
sanscoeu_ has joined #nixos
acarrico has joined #nixos
haslersn has quit [Ping timeout: 256 seconds]
sanscoeu_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bendlas pushed to master « mps: 1.116.0 -> 1.117.0 »: https://git.io/fhZDl
<{^_^}> [nixpkgs] @hedning opened pull request #53768 → gnome3.gnome-system-log: remove, broken and obsolete → https://git.io/fhZD8
sanscoeur has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
<rain1> https://nixcloud.io/tour/?id=1 this seems to just say "downloading" forever
<Synthetica> rain1: What browser, etc?
<Synthetica> Works fine for me, even with noscript
<rain1> chromium
<rain1> I don't have noscript
babic has quit [Ping timeout: 268 seconds]
<samueldr> rain1: anything in the console? (press F12)
<rain1> hello from prerun. increasing TOTAL_MEMORY to 352321536 to be compliant with the asm.js spec (and given that TOTAL_STACK=5242880)
sigmundv_ has quit [Ping timeout: 244 seconds]
<rain1> oh well! it's okay
<samueldr> hm, if there's no errors, it might still be working, it's a huge asm.js app
<samueldr> oh
<samueldr> "huge"
zopsi_ has quit [Quit: Oops]
mariel__ has quit [Ping timeout: 244 seconds]
sanscoeur has joined #nixos
zopsi has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
<AK> rain1: it was working fine. Just I forgot to symlink my dots for ranger
<rain1> i see! thanks AK
<rain1> know what I should try?
<betaboon> srhb: thanks for the pointer to callCabal2nix, which seems to work. but it still fails to compile due to a dependency failing :(
<betaboon> and i know nothing about haskell :/
<AK> so this language we are manipulating configuration files is haskell?
juhe has joined #nixos
<betaboon> AK: the .nix-files? no that is nix.
<AK> betaboon: I'll read about it
sanscoeur has quit [Remote host closed the connection]
<Synthetica> betaboon: What package is failing?
<AK> still I found no help for efistub ;-)
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/fhZD5
<{^_^}> [nixpkgs] @Profpatsch merged pull request #53412 → Bazel 0.21.0 → https://git.io/fhOXq
<betaboon> Synthetica: http://hdiff.luite.com/cgit/Ranged-sets/tree/Data/Ranged/RangedSet.hs#n75 failing with "Could not deduce ..."
<Synthetica> Could not deduce what?
<betaboon> AK: helo wih efistub ?
<elvishjerricco> betaboon: Sounds like you're trying to use a version of a package that hasn't been fixed for GHC 8.4's new monoid constraints
<duairc> What's the best way to nuke my user nix-env and reset everything to the system default?
<betaboon> elvishjerricco: any options?
johann__ has joined #nixos
<Synthetica> elvishjerricco: betaboon: I didn't know that changed with GHC 8.4, good to know :)
<Synthetica> You could patch in the semigroup instance by yourself
<Synthetica> It's two lines of code
<AK> betaboon: efistub is directly boot kernel from efi without an extenal bootmanager like systemd-boot, grub etc.
<betaboon> Synthetica: what i find weird is that postgrest offers builds for their 5.3.0 release tho it doesnt build from their cabal-file.
<betaboon> Synthetica: i would love to but don't know how as i know nothing about haskell :D
<Synthetica> betaboon: Should be something like https://gist.github.com/Synthetica9/22bab6c901ff968f0518387f43c7e478
orivej has joined #nixos
<Synthetica> Untested, of course
<Synthetica> betaboon: Whoops, too quick on the copy-paste, fixed a thing
<betaboon> AK: yeah i know. i ment what kind of help do you need with that ?
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhZDj
<{^_^}> [nixpkgs] @Mic92 merged pull request #53754 → lib: add fake hashes → https://git.io/fhZ68
Ariakenom has joined #nixos
ubert has quit [Quit: Leaving]
<betaboon> Synthetica: in your gist: line 1+2 == new, line 4+5 == old !?
<betaboon> and how would i apply a patch to that dependent package ?
<AK> betaboon: I don't wanna use systemd-boot.
<betaboon> AK: i use refind and boot the kernel with efistub.
<Synthetica> betaboon: No, you include both instead of 75-77 of the original file
<Synthetica> both/all
<Synthetica> betaboon: Depends on how you are building the package
<AK> I'm sure if I create an entry for nix with efibootmgr, it will work. but what about the configuration.nix which has systemd variable in it? Do I have to remove it and it has no effect on config?
<{^_^}> [nixpkgs] @nlewo merged pull request #52870 → dockerTools: allow to pass extraCommands, uid and gid to buildLayered image → https://git.io/fhTUw
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fhZyJ
johann__ has quit [Ping timeout: 252 seconds]
<Synthetica> Assuming you are using Nix and standard mkderivation and all that, you can use patches = [ ./ghc84monoid.patch ] (or a better name)
<AK> refind is the one by rodsmith (the one whose domain has books in it) ?
<betaboon> AK: correct
<duairc> It's not possible to have both a <nixpkgs-overlays> in your NIX_PATH and a nixpkgs.overlays in configuration.nix at the same time?
<betaboon> Synthetica: currently i try to build it like this: https://gist.github.com/betaboon/dbd4ea358658fbdd0b4ed851d82505f2
<ekleog> Baughn_: about stack clash, I'm pretty sure this specific problem affects not only C but any language that allows arbitrary large `alloca`, not necessarily C, and technically the C code is most likely UB-free and perfectly well-defined acc. to the C standard (at least this part), the issue is that the actual implementation uses real-world memory and real-world memory is not an ideal stack and heap, but is some
<ekleog> flat addressing where the stack and heap are mixed together
<ekleog> and this breaks the abstraction boundary that C was supposed to provide, because when the stack grows too big it collides into the heap
<Synthetica> betaboon: I think you'd put it in args, but I'm not sure
<Baughn_> ekleog: That's a bug in GCC then, but fair enough.
<{^_^}> [nixpkgs] @globin merged pull request #53765 → php73: 7.3.0 -> 7.3.1 → https://git.io/fhZMl
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fhZyT
<ekleog> that can be considered as a bug in GCC, and is why -fstack-protector=stack-clash (or similar, I can't remember) has been implemented :)
<Baughn_> Yes, um.
<Baughn_> Are they also going to add -fdon't-launch-missiles?
<Baughn_> (Bugfixes should not be flag-gated.)
<gchristensen> I don't think it is considered a bug fix
<gchristensen> but I appreciate your position on it
waleee has quit [Quit: WeeChat 2.3]
<betaboon> Synthetica: i guess i gotta do some reading and experimenting XD
reinhardt has joined #nixos
cyounkins has joined #nixos
AK has quit [Quit: AK]
griff_ has joined #nixos
AK_ has joined #nixos
<duairc> I'm trying to import an overlay in configuration.nix and I keep getting infinite recursion. The overlay works from nix-env though.
humanoyd has joined #nixos
humanoyd is now known as Guest51058
drakonis_ has joined #nixos
Drakonis__ has joined #nixos
<duairc> And this happens even if I comment out literally every line of the overlay
<betaboon> duairc: can you share gist ?
<betaboon> Synthetica: btw adding a patch to a package via args: https://gist.github.com/betaboon/6729a86d9a89b79c9f30973505e8b85d
drakonis has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @tbenst opened pull request #53769 → add bftools, a java cmd tool for converting bioformats. → https://git.io/fhZyn
drakonis_ has quit [Ping timeout: 240 seconds]
Dedalo has quit [Ping timeout: 268 seconds]
<duairc> betaboon: I don't think it even needs one. Can you do a sanity check for me? Can you add a line to /etc/nixos/configuration.nix, like nixpkgs.overlays = [import /tmp/blah.nix];, and make /tmp/blah.nix just something like (self: super: {}), and tell me if you get infinite recusion?
dsiypl4 has joined #nixos
<betaboon> duairc: i am doing that in one of my deployments and can say it works
<duairc> betaboon: It's not working here :/
Alling has quit [Ping timeout: 256 seconds]
<duairc> betaboon: Like I'm literally just doing an empty overlay now and getting infinite recursion
<betaboon> duairc: i do it like this: `nixpkgs.overlays = import ovarlays.nix;` overlays.nix: `[ (import ./overlay/default.nix) ]` overlay/default.nix: `self: super: {}`
<betaboon> duairc: when using <nixpkgs-overlays> i use `export NIX_PATH=$NIX_PATH:"nixpkgs-overlays=$(pwd)/overlays.nix"`
<duairc> Oh FFS it was my shitty syntax, I needed parens around (import /tmp/blah.nix)
sheth has quit [Quit: Lost terminal]
<duairc> Too used to Haskell where there's a comma between list items
<duairc> betaboon: Thanks for your help!
<AK_> vim supertab ? how to install it?
<betaboon> duairc: you're welcome
griff_ has quit [Quit: griff_]
<ottidmes> is there an easy way to test whether my nativeBuildInputs are correct?
nwspk has quit [Quit: Quit: *.banana *.split]
<betaboon> can i change the ghc version when building with callCabal2nix ?
<ottidmes> > haskell.packages.ghc822 ? callCabal2nix
<{^_^}> true
<ottidmes> betaboon: haskell.packages.ghc822.callCabal2nix ... should probably work
nwspk has joined #nixos
<betaboon> ottidmes: thanks will try
knupfer has quit [Ping timeout: 268 seconds]
Dedalo has joined #nixos
ris has joined #nixos
<c00w> Anyone know if there is already an effort to automate package updates?
<ottidmes> c00w: there is, ryantm has a bot that automatically tries to update packages based on updates being done by other distros using information available on repology
<c00w> awesome! Any chance for a link to docs?
Guest51058 has quit [Ping timeout: 252 seconds]
<c00w> Thanks :D
Guest51058 has joined #nixos
Dedalo has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « ubridge: init at 0.9.14 »: https://git.io/fhZyj
ferriswheel has joined #nixos
Guest51058 has quit [Client Quit]
<ottidmes> c00w: some packages also have an updateScript attribute that can be used to generate a new version, but it is more meant to faciliate updating, not automate it completely like nixpkgs-update does, not sure about any good docs about it other than this: https://github.com/NixOS/nixpkgs/blob/d7cedf7394d71b1de49883191115ce4c99bff530/maintainers/scripts/update.nix#L95-L120
Dedalo has joined #nixos
<c00w> Makes sense - Just trying to figure out the current state of the world.
<{^_^}> [nixpkgs] @veprbl merged pull request #53666 → dmd: 2.083.1 -> 2.084.0, dub: 1.12.1 -> 1.13.0, dtools: 2.083.1 -> 2.084.0, Literate: 2018-12-23 -> 2019-01-08 → https://git.io/fhZUG
<{^_^}> [nixpkgs] @veprbl pushed 5 commits to master: https://git.io/fhZSL
<c00w> ottidmes++
<{^_^}> ottidmes's karma got increased to 9
sanscoeur has joined #nixos
<c00w> c++
gchristensen is now known as c
<c> c++
<{^_^}> c's karma got decreased to -1
c is now known as gchristensen
<etu> haha
<joko> lol
<gchristensen> c++
<{^_^}> c's karma got increased to 0
<Synthetica> Wait, if you do [self]++, it decreases? 😅
<c00w> I remember the original bug - no idea what just happened there.
<gchristensen> haha yeah, Synthetica
<{^_^}> [nixpkgs] @veprbl merged pull request #53300 → openra with extra mods → https://git.io/fhm1l
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhZSm
<gchristensen> you can only ++ things if the target has said something on IRC recently
<Synthetica> And if I do Synthetica-- ?
<gchristensen> you can't --
<gchristensen> there is no --
<ottidmes> gchristensen: I thought it still was a blacklist?
<c00w> That probably seems like a good decision :D
<betaboon> how about gchristensen << 8 ?
<Synthetica> Oof
<gchristensen> I think the prohibited nick list was dropped in favor of the smarts
<clever> i think it also counts twice if you talk about c++ and c++ in the same msg
<{^_^}> c's karma got increased to 1
<clever> or, it used to
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
<ottidmes> thinking about it, considering c++ now works, I could have deduced the blacklist is no longer in place
<{^_^}> c's karma got increased to 2
erictapen has joined #nixos
juhe has quit [Remote host closed the connection]
<DigitalKiwi> what happens if you get negative karma?
<gchristensen> then it is negative
<gchristensen> IIRC aszlig's karma is like -50
sigmundv_ has joined #nixos
sary has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #53661 → hcloud: 1.9.1 -> 1.11.0 → https://git.io/fhZf8
<{^_^}> [nixpkgs] @veprbl pushed commit from @zauberpony to master « hcloud: 1.9.1 -> 1.11.0 »: https://git.io/fhZSR
<ottidmes> gchristensen: now I am tempted to increase his karma to see if that is the case :P
<gchristensen> aszlig++
<{^_^}> aszlig's karma got increased to 1
<gchristensen> maybe infinisil reset it
<{^_^}> [nixpkgs] @Ma27 closed pull request #48476 → nixos/manual: document WPA2 enterprise configuration when declaratively configuring wifi networks → https://git.io/fxEDX
<infinisil> Goddamnit gchristensen
<infinisil> Now I gotta blacklist it again!
paulvictor has quit [Ping timeout: 272 seconds]
<infinisil> clever: I think I made that once max per nick, so c++ and foo++ should work
<{^_^}> c's karma got increased to 3
<infinisil> Or not
<infinisil> And yeah, negative karma's got reset :)
<ottidmes> infinisil: maybe give yourself and gchristensen a special command to change/blacklist it easy to fix those things?
<Synthetica> Is karma stored in some sort of finite-length signed integer?
<infinisil> (foo isn't a nick seen, c++ {^_^}++)
<{^_^}> c's karma got increased to 4, {^_^}'s karma got increased to 149
<infinisil> ottidmes: That might be a good idea yeah
* Synthetica can't find the source for the bot, and googling "karma got increased to" -logs doesn't help either :P
simukis has left #nixos [#nixos]
<infinisil> It's actually a list of entries now, and to calculate the karma it needs to loop through them
<LnL> you should probably blacklist that one tho, it's pretty annoying if we can't mention the language anymore without getting spammed by a bot
ststefa[m]1 has joined #nixos
<{^_^}> [nixpkgs] @leo60228 opened pull request #53771 → Fix Numpy on PyPy → https://git.io/fhZSw
simukis has joined #nixos
kisonecat has quit [Ping timeout: 258 seconds]
<Synthetica> infinisil: Int is finite-precission, so with enough ++'s , you can reach underflow :P
<klntsky> How do you `killall` on nixos? I find looking into `ps` output every time to get the pid quite annoying. Maybe it's time to write a wrapper script
Drakonis__ has quit [Read error: Connection reset by peer]
<Synthetica> klntsky: killall is a package (I think it's defined in unixtools) that can be installed lika any other
<gchristensen> you want to kill a process by name?
<klntsky> gchristensen: yes, by the name of the binary. killall just can't guess it because of the store path.
<{^_^}> [nixpkgs] @markuskowa merged pull request #53478 → ngspice: 29 -> 30 → https://git.io/fhsT3
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhZSP
<gchristensen> ah, I typically use pkill
<gchristensen> and pgrep
<betaboon> klntsky: killall is part of psmisc-package, pkill is part of procps-package
orivej has quit [Ping timeout: 246 seconds]
agander_ has joined #nixos
agander has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @pacien opened pull request #53772 → matrix-synapse: 0.34.0 -> 0.34.0.1 (CVE-2019-5885) → https://git.io/fhZS9
<klntsky> gchristensen: yes, pkill works fine. for some reason killall does not properly handle processess started via symlinks, e.g. it does not kill dunst daemon when it is started by home-manager.
juhe has joined #nixos
<klntsky> so I'll just use pkill from now on
porrifolius has joined #nixos
simukis has left #nixos [#nixos]
simukis has joined #nixos
agander_ is now known as agander
imdoor has joined #nixos
simukis has left #nixos [#nixos]
<{^_^}> [nixpkgs] @pstn opened pull request #53773 → matrix-synapse: 0.34.0 -> 0.34.0.1 → https://git.io/fhZSF
<clever> klntsky: i recently noticed, that killall only accepts the truncated name, as seen by `ps`, but not the full name from `ps aux`
<clever> klntsky: i believe the reason, is that the truncated name is a fixed-width char[] in the kernel, but the full name is argv[0], in the procs ram, which may be in swap
<clever> so there is a cost to getting the full name
aleph- has joined #nixos
simukis has joined #nixos
<danbst> clever: nice insight!
<clever> danbst: oh, and check the `-e` flag in `man killall`
agander_ has joined #nixos
<danbst> clever: I'd rather alias killall="echo use pkill"
agander has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
juhe has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bachp opened pull request #53774 → youtube-dl: 2019.01.02 -> 2019.01.10 → https://git.io/fhZ9O
<infinisil> LnL: c++ is blacklisted now (again, *cough* gchristensen *cough*)
orivej has joined #nixos
<gchristensen> I feel bad for when c becomes a member of the nixos community and can't get karma
<gchristensen> ;)
<{^_^}> [nixpkgs] @dywedir merged pull request #53770 → hexyl: 0.3.0 -> 0.3.1 → https://git.io/fhZ9s
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhZ9G
W1lkins has quit [Quit: Bye]
<infinisil> I wonder where all these 1-letter username are
W1lkins has joined #nixos
<gchristensen> registered many years ago, and in probably grumpier parts of IRC
<Taneb> I'm in a channel with one
<Taneb> Although not c
W1lkins has quit [Client Quit]
W1lkins has joined #nixos
shibboleth has joined #nixos
W1lkins has quit [Client Quit]
W1lkins has joined #nixos
<Synthetica> infinisil: I'm looking at the Karma plugin, and there are some... questionable parts
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @pstn closed pull request #53773 → matrix-synapse: 0.34.0 -> 0.34.0.1 → https://git.io/fhZSF
<Synthetica> (But I go full TA mode when reviewing other people's Haskell :P)
<{^_^}> [nix] @edolstra merged pull request #2617 → remove some dead code in nix/repl.cc → https://git.io/fhZJr
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fhZ9R
W1lkins has quit [Quit: Bye]
W1lkins has joined #nixos
tmaekawa has quit [Client Quit]
<{^_^}> [nix] @edolstra merged pull request #2608 → EvalState::resetFileCache: clear parse cache as well as eval cache → https://git.io/fht3F
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fhZ90
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @pacien opened pull request #53775 → matrix-synapse: 0.34.0 -> 0.34.0.1 (CVE-2019-5885) [18.09 backport] → https://git.io/fhZ9z
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fhZ92
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fhZ9w
<{^_^}> [nixpkgs] @Ekleog pushed commit from @pacien to release-18.09 « matrix-synapse: 0.34.0 -> 0.34.0.1 (CVE-2019-5885) »: https://git.io/fhZ9r
W1lkins has quit [Quit: Bye]
<danbst> gchristensen: how do you think: when upstream provides md5 hash for source, should we use it, or rather compute sha256 on our own?
kisonecat has joined #nixos
<{^_^}> [nixpkgs] @pacien closed pull request #53775 → matrix-synapse: 0.33.9 -> 0.34.0.1 (CVE-2019-5885) [18.09 backport] → https://git.io/fhZ9z
<gchristensen> calculate our own, bonus points for asking upstream to do better than md5
<{^_^}> [nixpkgs] @Ekleog merged pull request #53772 → matrix-synapse: 0.34.0 -> 0.34.0.1 (CVE-2019-5885) → https://git.io/fhZS9
<gchristensen> curious they added a new .1 at the end instead of .0 -> .1. I wonder what they think that .0 is for :)
<Synthetica> They already released 0.34.1, so they painted themselves into a corner
<gchristensen> ah :)
fendor has quit [Ping timeout: 272 seconds]
Guest29947 has joined #nixos
Guest29947 has quit [Excess Flood]
Guest29947 has joined #nixos
Guest29947 has quit [Max SendQ exceeded]
qushu has joined #nixos
Guest29947 has joined #nixos
Guest29947 has quit [Read error: Connection reset by peer]
<infinisil> Synthetica: Would love to hear some review, can you tell me in #nixos-chat?
<qushu> The documentation suggests something like `nix-shell -p 'python35.withPackages(ps: with ps; [ numpy toolz ])'`. Is there a way to adjust this so that tests don't get run for numpy and toolz?
<Synthetica> infinisil: Sure
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.scapy: 2.4.1 -> 2.4.2 »: https://git.io/fhZ96
drakonis has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #53768 → gnome3.gnome-system-log: remove, broken and obsolete → https://git.io/fhZD8
<{^_^}> [nixpkgs] @hedning pushed to master « gnome3.gnome-system-log: remove, broken and obsolete (#53768) »: https://git.io/fhZ91
kisonecat has quit [Quit: leaving]
genesis has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5d4f0de6891 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
W1lkins has joined #nixos
W1lkins has quit [Remote host closed the connection]
<AK_> cp: missing destination file operand after '/nix/store/n6k6lbagxabjk9ghyfvb13q9l8yak0hk-extra-utils/share/consolefonts/font.psf'
W1lkins has joined #nixos
<AK_> Try 'cp --help' for more information.
<AK_> builder for '/nix/store/q0jn27nlk11y85qmwzxkjdh7567gljrl-extra-utils.drv' failed with exit code 1
<AK_> cannot build derivation '/nix/store/ncmi1k1lmplx3bphfxgw82a4f041d7m6-stage-1-init.sh.drv': 1 dependencies couldn't be built
<AK_> cannot build derivation '/nix/store/fi4rf3am6r3zixaw4myz366r0l67z9mh-initrd.drv': 1 dependencies couldn't be built
<AK_> cannot build derivation '/nix/store/j8zd1xhdc6pfl0bdw96k9xncivlzi3xh-nixos-system-9y-19.03pre165037.eebd1a92637.drv': 1 dependencies couldn't be built
<AK_> error: build of '/nix/store/j8zd1xhdc6pfl0bdw96k9xncivlzi3xh-nixos-system-9y-19.03pre165037.eebd1a92637.drv' failed
sigmundv_ has quit [Ping timeout: 250 seconds]
<samueldr> ,paste AK_
W1lkins has quit [Client Quit]
<{^_^}> AK_: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
W1lkins has joined #nixos
<clever> AK_: you likely tried to copy doesntexist.* to $out/foo and with nullglob on, it turns into just `cp $out/foo`
W1lkins has quit [Client Quit]
<AK_> clever: I just did a `nixos-rebuild switch`
<clever> AK_: something in your extra-utils derivation is broken, check `nix show-derivation /nix/store/q0jn27nlk11y85qmwzxkjdh7567gljrl-extra-utils.drv`
<Dedalo> I can't manage to install Python3 guys. I'm following the instructions of the Python NixOS wiki, but it's not clear to me where should I put the example snippet. I have tried to use `let` `in`, outside environment.systemPackages, inside, nothing works
W1lkins has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #53776 → zeroad: 0.0.23 -> 0.0.23b → https://git.io/fhZ9p
<betaboon> Dedalo: `environment.systemPackages = with pkgs; [ python ];` ?
<AK_> Dedalo: clever: here is my /etch/nixos/configuration.nix Dedalo you can search for python in it. https://ptpb.pw/jYTg
<AK_> c
johnnyfive has joined #nixos
<Dedalo> thx
jacereda has quit [Ping timeout: 246 seconds]
<gchristensen> woot nix 2.2 on its way
<Myrl-saki> \o/
<adisbladis> AK_: betaboon: Something like https://ptpb.pw/YQTT/nix is preferable
<LnL> yay
<AK_> clever: here is my output of nix derivation as normal user. https://ptpb.pw/1HJJ
<clever> AK_: and if you switch to `nix-store --query --binding buildCommand /nix/store/q0jn27nlk11y85qmwzxkjdh7567gljrl-extra-utils.drv` instead?
<adisbladis> Dedalo: ^
W1lkins has quit [Quit: Bye]
<clever> AK_: i think consoleFont = "ter-v32n"; is to blame
W1lkins has joined #nixos
<clever> AK_: that font doesnt exist anymore
<AK_> https://ptpb.pw/tVlt here is the outptu
<AK_> clever: yeah that font in config doesn't make a difference. but still I can setfont with it once I find and cd into the dir where ter-v32n.psf is located.
ixxie has quit [Ping timeout: 250 seconds]
<AK_> clever: but this font (ter-v32n) was already there. and had no side affects. maybe with new variables something is changed.
<clever> AK_: or the font was removed from a vital package
<clever> your config builds if i remove that font from it
<AK_> clever: s/remove/replace with/g please ;-) (something like that bigger fonts)
<{^_^}> [nixpkgs] @timokau opened pull request #53777 → neovim-qt: add desktop file to wrapper → https://git.io/fhZHI
<clever> AK_: in general, if the xserver is enabled, i never touch the console, so console fonts dont matter
<{^_^}> [nixpkgs] @etu opened pull request #53778 → Php upgrades → https://git.io/fhZHm
<danbst> gchristensen: and sha1? I found some packages use it, should we deprecate it too?
<gchristensen> probably yeah
<danbst> ok
<LnL> wait sha1 is still supported?
<adisbladis> I have a legitimate use case for sha1
<gchristensen> adisbladis: oh?
vk3wtf has joined #nixos
orivej has joined #nixos
<adisbladis> gchristensen: npm has a lot of hashes as sha1
<gchristensen> oh, sure
<{^_^}> [nixpkgs] @MP2E pushed to staging « alsaLib: add upstream pcm interval patch »: https://git.io/fhZH3
<gchristensen> I think danbst is only talking w.r.t. documentation?
<danbst> gchristensen: right
Cale has joined #nixos
<adisbladis> Oh, then it's fine :)
<danbst> so I better won't mention sha1, only md5 is deprecated
<gchristensen> I'm not sure we really accept packages with sha1 anymore
<{^_^}> [nixpkgs] @MP2E closed pull request #53552 → alsaLib: add upstream pcm interval patch to fix audio → https://git.io/fhsFg
<AK_> clever: commenting out the i18n consolefont did the trick. I wanna know the reason. lemme reboot first.
ddellaco_ has quit [Remote host closed the connection]
mmlb2 is now known as mmlb
ddellacosta has joined #nixos
AK has joined #nixos
<lassulus> nix-shell -p kdenlive --run kdenlive segfaults for me, does someone know a fix/
<lassulus> ?
ddellacosta has quit [Ping timeout: 258 seconds]
kai_w has joined #nixos
<kai_w> Do I need to do anything special when packaging a python package with mkDerivation instead of buildPythonPackage?
<kai_w> If I build my package, I have the module in $out/lib/pythonX.Y/site-packages/module, but if I do python.withPackages it's not present
<kai_w> not in $out of python.withPackages and not importable
<symphorien> kai_w: is your package built with exactly the same python as in python.withPackages ?
<symphorien> withPackages silently discards derivations which are not python modules for the exact same python
kisonecat has joined #nixos
kisonecat has quit [Client Quit]
knupfer has quit [Ping timeout: 264 seconds]
<AK> warning: name collision in input Nix expressions, skipping '/home/z/.nix-defexpr/channels_root/nixos'
imdoor has quit [Quit: imdoor]
<clever> AK_: you added a channel called nixos to a non-root user, the nixos channel should only exist on root
<jabranham> wait, so my user accounts should be using the nixpkgs channel, not the nixos channels?
<tobiasBora> Hello,
<clever> jabranham: they should be inheriting the nixos channel, from the root user
<clever> jabranham: all of roots channels are available to other users, which is why AK_ got a collision when both users have a channel with the same name
<jabranham> clever: but if I want to use the stable channel for root and unstable for users, I should be using nixpkgs not nixos channel?
<jabranham> (for users)
<clever> jabranham: you can just add the unstable channel to root as well, and call it unstable
<clever> then all users can freely access it
<clever> about the only time to use non-root channels is when your on a shared machine and lack root
<jabranham> clever: but then wouldn't that update the entire system to the unstable channel?
erictapen has quit [Ping timeout: 252 seconds]
<clever> jabranham: nixos-rebuild always uses the channel called nixos, so it wont use the channel called unstable
<jabranham> clever: ah, OK that makes sense
<clever> jabranham: nix-env, takes a channel name, so `nix-env -iA nixpkgs.foo` uses the channel called nixpkgs
<tobiasBora> How could I get the list of all failed ssh connection? I tried several files in /var/log/, but I can't find "usual" files
<betaboon> i have a haskell package (critbit) which fails to build claiming "Encountered missing dependencies: base >=4 && <4.11" while its cabal-file states `build-depends: base >=4 && < 5` while base in hackage-packages is 4.12. what am i missing here ?
<clever> tobiasBora: journalctl -u sshd
<clever> betaboon: double-check which derivation is actually failing, a few lines down from that error
civodul has joined #nixos
<tobiasBora> clever: stupid me, thank you!
<clever> betaboon: its clearly critbit thats failing, double-check the cabal file in this tar, unpacking source archive /nix/store/p4797yi3qwwzy7pkmqggzjm26lh4xsf9-critbit-0.2.0.0.tar.gz
gagbo has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #53777 → neovim-qt: add desktop file to wrapper → https://git.io/fhZHI
<{^_^}> [nixpkgs] @timokau pushed to master « neovim-qt: add desktop file to wrapper (#53777) »: https://git.io/fhZHN
<clever> Replace Cabal file with edited version from http://hackage.haskell.org/package/critbit-0.2.0.0/revision/1.cabal.
<clever> betaboon: oh wait, its using cabal revisions, do you have to read this cabal file
<clever> blame hackage for changing the cabal file without telling anyone :P
Boobie has quit [Quit: This computer has gone to sleep]
Boobie has joined #nixos
<clever> $ curl http://hackage.haskell.org/package/critbit-0.2.0.0/revision/1.cabal -s | grep base base >= 4 && < 4.11,
<betaboon> ah so "revision = 1" causes it to take a modified cabal-file from hackage which (in difference to the original file) states "base .. < 4.11" ?
<tobiasBora> clever: journalctl -u sshd shows me only connection from 30-31 october, any idea why?
kisonecat has joined #nixos
<clever> tobiasBora: nope
<tobiasBora> clever: forget, I'm just stupid
<tobiasBora> sorry
<clever> tobiasBora: scrolling?
<tobiasBora> clever: I exit while I just scolled once, and then I forgot that I was back to console, and I was scrolling with the mouse the two pages I scrolled before quitting... Today is not my day
<clever> ah
freeman42x has joined #nixos
<betaboon> clever: i just tried to set `revision = "0"` via `overrideAttrs` but that doesnt seem to solve my problem. any hint ?
<clever> betaboon: just remove the revision entirely
<clever> oh, but override attrs has trouble removing
eadwu has joined #nixos
<clever> just use cabal2nix or callHackage then
<clever> or doJailBreak to ignore the version limits
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
<betaboon> clever: i tried `revision = null` first.
mbrgm has joined #nixos
growpotkin has joined #nixos
kisonecat has quit [Ping timeout: 258 seconds]
<growpotkin> Hey has anybody had luck getting steam to work with a bluetooth controller?
<growpotkin> I have seen a few for how to setup the steam controller and tried to use those as a guide
<growpotkin> Even a simple app to let me test a gamepad would be a big help so I can try to isolate the problem to a Steam issue or a gamepad issue (udev)
<Ralith> growpotkin: I'm not certain, but `evtest` might work for testing
<Ralith> never tried it on bluetooth devices before
<clever> growpotkin: https://html5gamepad.com/ tests things from the same general end that steam expects it to work on
kvda has joined #nixos
obadz has quit [Quit: WeeChat 2.3]
<growpotkin> clever: should I expect that site to play nicely with Chromium?
<clever> evtest is much lower level and gives all the dirty details
<clever> growpotkin: yep
<growpotkin> lol debuggin on NixOS always teaches me so much haha
<Ralith> web is it's own teetering pile of fragile nonsense of course
kvda has quit [Client Quit]
<clever> https://html5gamepad.com/ seamlessly detects when i connect a usb gamepad, and just starts working
<growpotkin> I kind of expect every program to need a special treatment
Boobie has quit [Quit: This computer has gone to sleep]
<growpotkin> thanks y'all I will try that site
<growpotkin> on another note is there a preference between `chromium` and `chromium-browser` ?
kvda has joined #nixos
<growpotkin> is one of them a NixOS wrapper or are they both from Google?
<betaboon> growpotkin: i prefer vivaldi XD
<clever> growpotkin: chromium-browser is just a symlink to chromium
<growpotkin> thank you
<growpotkin> whats Vivaldi (besides the violinist)
<kai_w> symphorien: yes they are the same python
<betaboon> growpotkin: https://vivaldi.com/de/
<growpotkin> eyyy there we go
<growpotkin> yeah that site picks up my controller over USB but not over bluetooth
<growpotkin> further down the debugging rabbit hole I go :)
<growpotkin> thanks y'all
<kai_w> growpotkin: don't you need a custom udev rule for a steam controller?
<growpotkin> kai_w: yeah you do, I added them as well as some extras for my controller
<growpotkin> kai_w: it seems like those udev rules work for my controller when its plugged into the USB but not for bluetooth
<kai_w> ah, damn. I think I've had it working before, but I don't have the controller to hand until the weekend
<kai_w> there is a line specifically for bluetooth in the udev rule: KERNEL=="hidraw*", KERNELS=="*28DE:*", MODE="0666"
<growpotkin> yeah I followed that guide and added those to 99-local.rules
<growpotkin> I also tried making 99-bluetooth.rules, which some folks had suggested but had no luck with that
<kai_w> ah, I just put them in the services.udev.extraRules option, apparently that goes into 99-local.rules
<growpotkin> yeah they do, but when I was trying to get real picky I tried adding the extra file, I'm not deeply familiar with udev rules so I wasn't sure if the filename mattered
goibhniu has quit [Ping timeout: 272 seconds]
Ariakenom has quit [Quit: Leaving]
orivej has quit [Ping timeout: 272 seconds]
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 258 seconds]
chessai has quit [Remote host closed the connection]
johann__ has joined #nixos
bitnotri has joined #nixos
<growpotkin> is `pkgs.bluezFull` deprecated?
cyounkins has quit [Remote host closed the connection]
<betaboon> can i just say that i love the .diff and .patch urls of github :)
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #53746 → nexus: 3.12.1 -> 3.14.0-04 → https://git.io/fhZoS
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fhZQK
__monty__ has joined #nixos
bitnotri_ has joined #nixos
cyounkins has quit [Read error: No route to host]
cyounkins has joined #nixos
shabius has quit [Read error: Connection reset by peer]
bitnotri has quit [Ping timeout: 258 seconds]
shabius has joined #nixos
worldofpeace has joined #nixos
gonz_ has quit [Ping timeout: 252 seconds]
eddyb has quit [Ping timeout: 252 seconds]
tA2 has quit [Remote host closed the connection]
nkaretnikov has quit [Ping timeout: 252 seconds]
eddyb has joined #nixos
gonz_ has joined #nixos
nkaretnikov has joined #nixos
techieAgnostic has joined #nixos
sigmundv_ has joined #nixos
techieAgnostic has quit [Client Quit]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #53780 → obs-studio: add new optional dependencies → https://git.io/fhZQ7
jackdk has joined #nixos
YvuVyxezZnhQVgUp has joined #nixos
techieAgnostic has joined #nixos
YvuVyxezZnhQVgUp has quit [Client Quit]
gagbo has quit [Ping timeout: 258 seconds]
Dagger has quit [Excess Flood]
Dagger has joined #nixos
hedning has quit [Quit: hedning]
chessai has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53724 → pythonPackages.xml2rfc: fix build → https://git.io/fhZz4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhZQj
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53723 → python3Packages.pika-pool: fix build → https://git.io/fhZzT
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Ma27 to master « python3Packages.pika-pool: fix build »: https://git.io/fhZ7e
tilpner has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53725 → bonfire: fix build → https://git.io/fhZz1
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Ma27 to master « bonfire: fix build »: https://git.io/fhZ7J
AK has quit [Remote host closed the connection]
mkoenig_ has quit [Ping timeout: 272 seconds]
shibboleth has quit [Quit: shibboleth]
mkoenig has joined #nixos
<betaboon> growpotkin: i use bluetoothctl which is part of bluez-5.5. works for me
strobelight has quit [Ping timeout: 246 seconds]
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 268 seconds]
kai_w has quit [Quit: Konversation terminated!]
simukis has quit [Quit: simukis]
<growpotkin> betaboon: thanks
<growpotkin> Has anybody tried installing 2 copies of Nix on one machine?
<growpotkin> I am migrating over to a new hard-drive
<growpotkin> but I'm having issues booting into the second copy
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<growpotkin> possibly because both are labeled "nixos"?
porrifolius has quit [Quit: Leaving]
labancle has left #nixos ["ERC (IRC client for Emacs 25.2.2)"]
<growpotkin> during the install process I do all the installs using the actual partition rather than "by-name/nixos" and it installs without a hitch, but when I'm booting up the new OS is never detected
agander_ has quit [Ping timeout: 246 seconds]
<growpotkin> I am considering unplugging one hard-drive to see if it will pick up the second then, but I thought I'd see if anybody else had dealt with this.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53599 → pythonPackages.poetry: init at 0.12.10 → https://git.io/fhGyy
<{^_^}> [nixpkgs] @worldofpeace pushed 10 commits to master: https://git.io/fhZ7O
<jasongrossman> growpotkin: Do you mean Nix, or NixOS?
<growpotkin> jasongrossman: NixOS*
<jasongrossman> growpotkin: And what's your boot manager? Probably grub or systemd-boot?
<betaboon> growpotkin: when installing the new nixos does /etc/nixos/hardware-configuration.nix point to /dev/disk/by-label or to /dev/disk/by-uuid ?
<growpotkin> by-uuid
griff_ has joined #nixos
sary has quit [Ping timeout: 258 seconds]
tzemanovic has quit [Remote host closed the connection]
sary has joined #nixos
<growpotkin> i'm using grub
<growpotkin> here let me post the config for that section
<growpotkin> boot.loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; grub = { enable = true; devices = ["nodev"]; efiSupport = true; useOSProber = true; }; };
npmccallum has quit [Quit: npmccallum]
Dedalo has quit [Quit: WeeChat 2.3]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
griff_ has quit [Quit: griff_]
griff_ has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #53498 → omping: init at 0.0.5 → https://git.io/fhsGQ
<{^_^}> [nixpkgs] @dywedir pushed commit from @peterhoeg to master « omping: init at 0.0.5 »: https://git.io/fhZ70
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53726 → thrift: fix build → https://git.io/fhZzQ
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhZ7E
fusion809 has joined #nixos
alpha has joined #nixos
griff__ has joined #nixos
Dagger has quit [Excess Flood]
bitnotri__ has joined #nixos
alpha has quit [Remote host closed the connection]
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos
Dagger2 has joined #nixos
griff_ has quit [Ping timeout: 258 seconds]
bitnotri_ has quit [Ping timeout: 258 seconds]
griff__ is now known as griff_
bitnotri__ has quit [Remote host closed the connection]
cyris212 has quit [Ping timeout: 244 seconds]
dbmikus_ has quit [Quit: WeeChat 2.3]
Makaveli7 has quit [Quit: Leaving]
cyris212 has joined #nixos
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jbaum98 opened pull request #53782 → google-music-scripts: init at 2.0.0 → https://git.io/fhZ7w
griff__ has joined #nixos
sanscoeur has quit [Ping timeout: 244 seconds]
griff_ has quit [Ping timeout: 245 seconds]
griff__ is now known as griff_
shpx has joined #nixos
eadwu has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #53769 → bftools: init at 5.9.2 → https://git.io/fhZyn
<{^_^}> [nixpkgs] @veprbl pushed commit from @tbenst to master « bftools: init at 5.9.2 (#53769) »: https://git.io/fhZ7Q
<{^_^}> [nixpkgs] @timbertson opened pull request #53783 → piep: 0.8.0 -> 0.9.2 → https://git.io/fhZ77
init_6 has joined #nixos
slyfox has quit [Quit: :)]
<{^_^}> [nixpkgs] @dtzWill merged pull request #53657 → libinput: 1.12.4 -> 1.12.5 → https://git.io/fhZem
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhZ7x
griff_ has quit [Quit: griff_]
carlosdagos has joined #nixos
cyris212 has quit [Ping timeout: 260 seconds]
slyfox has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #53783 → piep: 0.8.0 -> 0.9.2 → https://git.io/fhZ77
<{^_^}> [nixpkgs] @dotlambda pushed commit from @timbertson to master « piep: 0.8.0 -> 0.9.2 (#53783) »: https://git.io/fhZ5e
cyris212 has joined #nixos
ng0 has quit [Ping timeout: 256 seconds]
ng0 has joined #nixos