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
erictapen has quit [Ping timeout: 244 seconds]
gagbo has quit [Quit: I'm out !]
ryjm is now known as ryjm[payon]
<Church-> infinisil: Yeah devops gig. Not using nix, probably use salt stack if I get it. But the BSD kernel guys liked my work with nix
<Church-> Which reminds me, I need to go open those 50 PRs
<Church-> God that's gonna suck so much
ingenieroariel has joined #nixos
__monty__ has quit [Quit: leaving]
Decoy_ has joined #nixos
sigmundv_ has joined #nixos
ingenieroariel has quit [Quit: Quit]
sanscoeu_ has quit [Remote host closed the connection]
ingenieroariel has joined #nixos
jtojnar has quit [Quit: jtojnar]
o1lo01ol1o has joined #nixos
ingenieroariel has quit [Read error: Connection reset by peer]
eadwu has joined #nixos
ingenieroariel has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
devhell has quit [Quit: WeeChat 1.9.1]
doyougnu has joined #nixos
<samueldr> Church-: open a few ASAP to get some feedback in case you have a recurring bad pattern in your contributions :)
<samueldr> pick maybe your five more iffy derivations?
sanscoeur has joined #nixos
fusion809 has joined #nixos
goibhniu has quit [Ping timeout: 245 seconds]
<Church-> samueldr: Yep!
<Church-> samueldr: And most are just python following the pypi example exactly.
<Church-> So should be good.
<infinisil> I want to be able to sort PR's by "amount of love gotten", decreasing
<Synthetica> Has anyone ever written Kate syntax highlighting for Nix?
<samueldr> infinisil: don't we all?
<samueldr> though, I found it helpful to remove all those with title including WIP and with the WIP tag
<samueldr> and then sort to least recently updated
<samueldr> oh! the new 👀 reaction will be good to replace the 👍-as-read
<samueldr> infinisil (and others) if you ever come up with good search queries for PRs, either add them here or ping me and I'll add them https://nixos.wiki/wiki/Maintainers:Maintainers
eadwu has quit [Quit: WeeChat 2.3]
eadwu has joined #nixos
thc202 has quit [Ping timeout: 240 seconds]
vk3wtf has quit [Ping timeout: 252 seconds]
xourt has quit [Quit: WeeChat 1.4]
Rusty1 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Decoy_ has quit [Ping timeout: 250 seconds]
<infinisil> samueldr: Yeah I've started tagging WIP PR's when I see them for the WIP searches
<mankyKitty> morning
<jackdk> sup
<mankyKitty> I have nix haskell pkgs question... A dependency is building an executable that I don't want, is it possible to alter its derivation so that the exe is not built and it's dependencies are pruned ?
o1lo01ol1o has joined #nixos
<clever> mankyKitty: which dependency, and which executable?
gspia has quit [Ping timeout: 240 seconds]
<mankyKitty> 'hw-json' is the package, I only need the lib, not the exe
<clever> mankyKitty: there is no flag for that in the cabal file, so i dont think its a simple task to turn off, http://hackage.haskell.org/package/hw-json-
andreabedini has joined #nixos
<jackdk> go nag upstream to add a flag?
<clever> mankyKitty: compare that to the json2yaml executable, http://hackage.haskell.org/package/yaml-
<clever> anoyingly, json2yaml isnt built by default, so i need an override to bring it back
<mankyKitty> okay that's straight forward enough, cheers. I was messing around with 'disableStaticExecutables', I'll go chase upstream.
andreabedini has quit [Client Quit]
* clever double-checks disableStaticExecutables
<clever> doesnt exist in nixpkgs
<mankyKitty> sorry, I'll find the one I was using, sec
<mankyKitty> `disableSharedExecutables`
<clever> also not a valid flag
<clever> enableSharedExecutables is however
vk3wtf has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<clever> ah, thats a helper function, that sets enableSharedExecutables
<clever> enableSharedExecutables controls the usage of --executable-dynamic at the cabal level
<mankyKitty> Ah!
<clever> but that just flips executables between static and dynamic, i believe
Decoy_ has joined #nixos
<clever> mankyKitty: if you could find a cabal flag to just disable all executables, you could use configureFlags to pass it in
i0-dfn has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<mankyKitty> true, I'll send a PR upstream and dig around that in the mean time. Cheers :)
marusich has joined #nixos
doyougnu has quit [Ping timeout: 245 seconds]
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 268 seconds]
<clever> runhaskell Setup.hs configure --help | grep exe --color
<clever> mankyKitty: not seeing any obvious flag to just turn off executables
Decoy_ has quit [Ping timeout: 250 seconds]
<mankyKitty> neither am I, I could maybe only target the `lib:hw-json`, not sure that'd do what I really want though
<clever> mankyKitty: does it really take that long to build the executable?
<clever> mankyKitty: and nix should cache things, and only build it once
<mankyKitty> in truth, no, I'm being picky. My package has to add an override to pull in the version of this package that I want, and that means I'm missing out on some caching goodness. So I'm just trying to reduce the hit a bit.
<clever> ah
<clever> but once its built once, its cached locally
<clever> until something else changes like your nixpkgs rev
<mankyKitty> yep
vk3wtf has quit [Ping timeout: 264 seconds]
<elvishjerricco> mankyKitty: Cabal takes a positional argument for building an individual component. You can't build a non-unary subset of components though, so no lib + tests - exes
<elvishjerricco> mankyKitty: So I think you could just do `appendConfigureFlag drv drv.pname` to have it only build the lib.
<mankyKitty> hrmm
acarrico has joined #nixos
alex``` has quit [Ping timeout: 245 seconds]
<mankyKitty> that's interesting, okay awesome, I can't be explicit about which target I want to build because that doesn't work if both tests and benchmarks are enabled. I'm super not interested in disabling tests, so I might just wear this for now. I'm not sure the time invested is worth the time saved... something something there's an xkcd about this.
silver_ has quit [Read error: Connection reset by peer]
<elvishjerricco> mankyKitty: There is https://github.com/angerman/nix-tools. We've made a per-component builder, so there's one derivation per component. This is completely separated from the nixpkgs haskell infra though
<mankyKitty> that's wild, and totally overkill for this, I think. :D But still, very cool and I'll put that in the box to use later
<clever> mankyKitty: nix-tools also has cross-compile support
o1lo01ol1o has joined #nixos
andreabedini has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
halfbit has joined #nixos
gspia has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhaL7
<{^_^}> [hydra] @samueldr opened pull request #633 → Add hydra-dev-server which uses the classic Catalyst server → https://git.io/fhatn
orivej_ has quit [Ping timeout: 246 seconds]
lord| has quit [Quit: WeeChat 2.3]
squidpickles has left #nixos [#nixos]
Guest72488 has quit [Ping timeout: 272 seconds]
clr__ has joined #nixos
lord| has joined #nixos
clr_ has quit [Ping timeout: 252 seconds]
kvda has joined #nixos
clr__ has quit [Read error: Connection reset by peer]
vk3wtf has joined #nixos
clr__ has joined #nixos
clr_ has joined #nixos
marusich has quit [Remote host closed the connection]
clr__ has quit [Ping timeout: 264 seconds]
infinii has joined #nixos
marusich has joined #nixos
sigmundv_ has quit [Ping timeout: 272 seconds]
<CMCDragonkai> I'm trying to debug a nix-build
<CMCDragonkai> I used nix-build -K
<CMCDragonkai> And I have a build directory in /tmp
<CMCDragonkai> I create a bash shell and source the env-vars
<CMCDragonkai> now what?
<CMCDragonkai> what can you do inside here? I need to run the tests to see if they work
<clever> CMCDragonkai: depending on the package, it could just be `make check` or `make tests`
<CMCDragonkai> It's a python package.
<clever> CMCDragonkai: then you need to lookup the python way to run tests
<CMCDragonkai> cmcdragonkai ➜ formbay-ml ➜ /build/asciimatics-1.10.0
<CMCDragonkai> $ ls
<CMCDragonkai> asciimatics-1.10.0/ env-vars
<clever> youll want to first cd into asciimatics-1.10.0
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<CMCDragonkai> ok i cded into it
<clever> you may also want to see if the checkPhase is defined to anything, `echo "$checkPhase"`
hke has quit [Ping timeout: 240 seconds]
<CMCDragonkai> nothing there
<clever> also, i open the shell for this, by running `nix-shell /nix/store/foo.drv` on the drv that failed to build
<CMCDragonkai> I think buildPythonPackage uses `$installCheckPhase`
<clever> is that set to anything?
<CMCDragonkai> $ echo $installCheckPhase
<CMCDragonkai> runHook preCheck /nix/store/pz585g2lrcy87sbligvfr0cwa8c8c88k-python3-3.6.8/bin/python3.6 nix_run_setup test runHook postCheck
<clever> quote the variable, or the \n's get eaten
<clever> echo "$installCheckPhase"
<CMCDragonkai> runHook preCheck
<CMCDragonkai> /nix/store/pz585g2lrcy87sbligvfr0cwa8c8c88k-python3-3.6.8/bin/python3.6 nix_run_setup test
<CMCDragonkai> runHook postCheck
<clever> and then manually try the 2nd line, and see if it fails again
<clever> CMCDragonkai: you dont own that folder, chown -R it
<CMCDragonkai> It's cause I'm debugging nix-build -K
<CMCDragonkai> and that stuff is owned by `nixbld`
o1lo01ol1o has joined #nixos
<CMCDragonkai> And my user is `cmcdragonkai`
<clever> just chown it over to your user
<CMCDragonkai> Should I chown everything?
<clever> yeah, thats what -R does
<CMCDragonkai> Ok I did that, and ran it, and now its running the tests.
halfbit has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
revtintin has joined #nixos
andreabedini has joined #nixos
flavioPrado has quit [Quit: Leaving]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
halfbit has joined #nixos
sanscoeur has quit [Ping timeout: 250 seconds]
hke has joined #nixos
Lisanna has quit [Ping timeout: 244 seconds]
<fresheyeball> if I have a file that takes {pkgs}:
<fresheyeball> how can I pass in nixpkgs on the command line
<fresheyeball> ?
<fresheyeball> I tried
<fresheyeball> nix-build mything --arg pkgs "(import ./pkgs.nix {})"
<fresheyeball> which did not work
<clever> fresheyeball: nix-build -E 'with import <nixpkgs> {}; callPackage ./file'
<clever> you must pass it the pkgs if it lacks a default
<clever> and you must use -E if its an expression
iqubic` is now known as iqubic
<clever> oh wait, what you gave might work...., if pkgs.nix accepts an empty set
<clever> but it would be better to just have a default, { pkgs ? import ./pkgs.nix {} }:
<clever> fresheyeball: oh, i see the problem 'nix-build mything' told it to open a file called mything, rather then default.nix
<clever> i think you want -A mything ?
<fresheyeball> clever: I should have said mything.nix
<fresheyeball> I want to build that file as an expression
<clever> can you pastebin both mything.nix and pkgs.nix?
<fresheyeball> passing in another file as the pkgs arg
<fresheyeball> https://dpaste.de/L16q
<CMCDragonkai> clever: what's the purpose of runHook preCheck and runHook postCheck, and how do you run those?
hke has quit [Ping timeout: 245 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<CMCDragonkai> Since when I try that, it just goes `runHook: command not found`
<clever> CMCDragonkai: that will run any preCheck and postCheck hooks that may have been set
<fresheyeball> https://dpaste.de/wnPd
<clever> CMCDragonkai: 2019-01-22 22:14:21 < clever> also, i open the shell for this, by running `nix-shell /nix/store/foo.drv` on the drv that failed to build
<fresheyeball> clever: those are they
<clever> CMCDragonkai: your missing the entire stdenv
<CMCDragonkai> clever: So using a nix-shell is better for this problem than using nix-build -K?
<clever> fresheyeball: and pkgs.nix?
<clever> CMCDragonkai: you can use nix-shell to open the right shell, then cd into the dir left-behind from nix-build -K
<clever> CMCDragonkai: and you can ignore env-vars
<fresheyeball> clever: I posted both
<clever> ah, there
<clever> fresheyeball: pkgs.nix doesnt accept any arguments
<CMCDragonkai> clever: Ah ok so you need both nix-build -K to get the left over directory and nix-shell ...drv to get the proper shell environment. This should really be combined into a single debugging tool
<clever> fresheyeball: so you want `--arg pkgs 'import ./pkgs.nix'`
<clever> CMCDragonkai: most of the time, you can also skip the -K, and just reproduce the failure in nix-shell, but it depends on whats failing, and if you want to wait for another build
the-kenny has quit [Ping timeout: 245 seconds]
the-kenny-w has joined #nixos
<clever> fresheyeball: also, you can replace `{ gitignore = gitignore; }` with `{ inherit gitignore; }`
<CMCDragonkai> Yea but my drv expression is written in my branch of nixpkgs. So I don't have the source with me in some local directory. So `nix-build -K` at least leaves that in the `/tmp`.
ilya-fedin has quit [Quit: Connection closed for inactivity]
<fresheyeball> clever:++
<clever> CMCDragonkai: the .drv depends on the source, so it must exist in /nix/store/
<fresheyeball> clever++
<{^_^}> clever's karma got increased to 81
<clever> CMCDragonkai: and running nix-shell on the .drv will point $src to it, and the genericBuild function will unpack that source for you
<CMCDragonkai> clever: See I didn't know that. So using only nix-shell you can use a function in the env to bring in that source to my CWD.
<clever> CMCDragonkai: nix-shell sets up the same env vars that nix-build would have been using to do the build, so you can always access the src it would have been building
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1b3affcbaa8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ingenieroariel has quit [Quit: Quit]
o1lo01ol1o has joined #nixos
<CMCDragonkai> clever: Cool. So this is my conclusion: https://github.com/NixOS/nixpkgs/pull/54404#issuecomment-456647545
<CMCDragonkai> clever: Do you know of a way to run tests of a program in Nix builder, that needs to use a real TTY for testing and now redirect the test STDOUT?
<CMCDragonkai> clever: Because the package performs curses tests?
<clever> CMCDragonkai: was already thinking about that, after i noticed curses in the comments
<iqubic> Is it possible to do Haskell development and have cabal-install only installed in my nix-shell sandbox?
<clever> iqubic: `runhaskell Setup.hs` == cabal
<clever> iqubic: so you can just `runhaskell Setup.hs configure` or `ghcid -c "runhaskell Setup.hs repl"`
<iqubic> what does that mean?
<clever> CMCDragonkai: a private instance of /dev/pts/ptmx is mounted into every nix sandbox, so any library that creates a pty can be used
<clever> CMCDragonkai: some random examples of pty programs: xterm, sshd, screen, tmux
<iqubic> clever: does Setup.hs look through my project's cabal file?
<clever> iqubic: yes
<iqubic> So why would anyone ever use the cabal binary?
<clever> iqubic: because they dont know about Setup.hs
<iqubic> Really? Is that all?
<CMCDragonkai> clever: Would a solution be to use some pty allocator?
<clever> iqubic: the only reason ive ever had to use cabal, was for `cabal init`, which creates Setup.hs and your cabal file
<clever> CMCDragonkai: yeah
<CMCDragonkai> clever: Or using something like screen to run the script.
<CMCDragonkai> clever: What would you suggest for the best simple pty allocator?
<clever> CMCDragonkai: oh, i had something related open just a few days ago...
slack1256 has joined #nixos
<clever> CMCDragonkai: https://www.freedesktop.org/wiki/Software/libtsm/ may be of use
<iqubic> Clever: Are there ways around needing cabal installed in order to run `cabal init`? I don't want to pollute my main environment with cabal.
<CMCDragonkai> clever: I see recommendations of using `expect`.
<clever> iqubic: nix run or nix-shell
<CMCDragonkai> clever: Is there documentation for libtsm?
<clever> CMCDragonkai: unknown
infinii has quit [Ping timeout: 240 seconds]
<iqubic> I see.
infinii has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
hke has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
<iqubic> How does nix-shell figure out which packages to install? I know that it reads from shell.nix, but I don't know what specifically in shell.nix defines which packages to load into the sandbox.
<iqubic> Can someone enlighten me?
<clever> iqubic: it will read the derivation that the default.nix returns, make sure all the deps of that derivation exist in /nix/store/, and then set the env vars in the derivation
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<iqubic> I thought `nix-shell` used shell.nix if that was found. I thought `nix-shell` only looked at default.nix if shell.nix wasn't found.
<clever> iqubic: nix-shell will load either shell.nix or default.nix, in either case, the file it loads must return a derivation (or a set, when using -A)
<clever> it will then make all the deps of that derivation exist (downloading and/or building), and set the env vars from the derivation
<iqubic> Cool.
<teto> is there a way to run nix-review with uncommitted code ? the example only shows the usage with a git rev
<iqubic> What exactly does callPackage do?
<iqubic> I'm using `nixpkgs.packages.haskell.${compiler}.callPackage ./foo.nix`
<clever> > builtins.functionArgs ({ a, b ? 5 }: a + b)
<{^_^}> { a = false; b = true; }
<clever> iqubic: it will import the given file, then use functionArgs to query what args it accepts, then give it those args, from the set callPackage came from
<iqubic> Where `foo.nix` is created with `cabal2nix . > foo.nix`
<clever> iqubic: you want callPackage ./foo.nix {} as well
<iqubic> Now, what does the import statement do?
<clever> iqubic: it will load the given file, and return the top-level value in that file
<iqubic> I see.
<iqubic> So I have this in my shell.nix, and I'm not quite sure what the .env does.
<iqubic> (import ./default.nix { inherit nixpkgs compiler; }).env
<clever> all haskell packages have a .env attribute, that is for use with nix-shell
<clever> your shell.nix opens the .env automatically
<iqubic> I see.
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
halfbit has quit [Ping timeout: 252 seconds]
vk3wtf has joined #nixos
<iqubic> Is it possible to use that env attribute, but also add some other packages to this sandbox in shell.nix?
lassulus_ has joined #nixos
<clever> that grabs the .env, then applies an override to make some haskell binaries, and some bash scripts, both available
<iqubic> so it uses the overrideAttrs to edit it?
<clever> yep
<iqubic> That seems like overkill for simply adding cabal to my sandbox.
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<iqubic> How big is cabal anyways?
<clever> iqubic: 20mb
<iqubic> That's not really all that big at all. Instead of putting in tons of work to only have cabal installed in my nix sandboxes, I'm just going to put it into my environmentPackages in configuration.nix
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> clever: i don't like the Setup.hs thing because: it's longer than cabal and isn't integrated into standard tools, cabal works fine pretty much always, I don't like the useless Setup.hs file in my projects (i delete it)
<clever> iqubic: its more about the cabal version, `cabal` will not always be the right version, and that will break things for you later on
<iqubic> clever: I'm fine with that.
<clever> infinisil: the generic-builder.nix in nixpkgs always uses Setup.hs, even if your project is missing it (a default one is provided)
<clever> and nix only provides Cabal (the haskell library) not cabal-install (the binary your used to)
<infinisil> Why doesn't cabal-install just see if there's a Setup.hs and exec that instead
<clever> infinisil: infinite recursion
<clever> the default file:
<clever> import Distribution.Simple
<clever> main = defaultMain
<clever> will just call the main from cabal-install
<clever> which will then see the Setup.hs and run it
<clever> which will then see the Setup.hs and run it
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1b3affcbaa8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jtojnar has joined #nixos
<iqubic> clever: Can I use nix to manage the non-haskell dependencys of my haskell projects?
<clever> iqubic: you can define the non-haskell deps in the cabal file, and cabal2nix will translate them
<iqubic> I don't quite know the format for that. I should look that up.
<clever> iqubic: pkgconfig-depends: ncurses, panel
<clever> extra-libraries: panel ncurses pthread
<iqubic> what's the difference between those two sections?
<clever> unknown
<clever> try both, see what happens
<iqubic> I'm going to do some internet research.
<jackdk> one is extra libraries to link against, and the other looks for libraries using pkg-config, it seems
<iqubic> does cabal2nix support both conventions?
<clever> unknown, try one and see what happens
<jackdk> they are not conventions, they do different things. If the library you depend on does not provide a .pc file, pkg-config won't find it
vk3wtf has quit [Ping timeout: 268 seconds]
acarrico has quit [Ping timeout: 245 seconds]
<iqubic> and it looks like there's also a c-sources thing too.
<clever> thats for when you have c code in the same project as the haskell, and it should build both at once
<iqubic> huh?!? How is that different from the pkg-config thing?
<clever> pkg-config is pre-installed stuff to find using pkgconfig
<clever> c-sources is wrappers included with the haskell source, that do things like implement something haskell cant do, and haskell then ffi's into it
<iqubic> I see. I'm not sure which one of these is the right one to use for my project. I'm also not sure which of these cabal2nix will support.
<clever> cabal2nix doesnt have to do anything special with c-sources, thats entirely handled by cabal at build-time
<iqubic> looks like I've got some experiementing to do.
<iqubic> clever: I'm not sure how that's possible. I must be misunderstanding how c-sources works.
<iqubic> Is that used if you write your own c code and want haskell to FFI into that?
<ar1a> is there an alternative to styx for haskell dev? it doesn't have everything i want and the repl breaks backspaces too
<clever> yeah
eadwu has quit [Quit: WeeChat 2.3]
<wedens> anyone has experience using additional openssl engines with nix? I'm not sure how to tell openssl where to find the engine
marvin2 has quit [Ping timeout: 244 seconds]
<wedens> ar1a: what is styx?
<ar1a> wedens:
hedning has quit [Quit: hedning]
<{^_^}> [nixpkgs] @ryantm closed pull request #52247 → krita: 4.1.5 -> 4.1.7 → https://git.io/fpNtt
<wedens> not sure what problem it tries to solve. it it just to write yaml instead of nix?
<ar1a> honestly never figured out how to set up haskell with nix as i was new to both, and this said just write the file and type styx configure
<ar1a> any resources on setting up haskell with nix
<iqubic> clever: after looking through cabal2nix's source code, I can confidently say that it supports both pkgconfig-depends, and extra-libraries.
<wedens> ar1a: start with cabal2nix
<clever> iqubic: i'm guessing that pkgconfig-depends, will tell cabal to obey the include/link flags in the .pc file
<clever> iqubic: and extra-libraries tells cabal to just -lfoo
<clever> and cabal2nix will support both
<ar1a> wedens: yeah but what do i do with the output
o1lo01ol1o has quit [Remote host closed the connection]
<wedens> ar1a: it's typically `cabal2nix . > default.nix`
o1lo01ol1o has joined #nixos
<wedens> ar1a: also https://github.com/Gabriel439/haskell-nix is a good intro
<ar1a> it seemed like in part 0 he was typing out the files manually :O
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<ar1a> error: cannot auto-call a function that has an argument without a default value ('mkDerivation') wtf
<wedens> what's the code?
<ar1a> ran the command you gave me and tried to run `nix-build`
<ar1a> want me to pb it?
drakonis has quit [Quit: WeeChat 2.3]
<wedens> ar1a: it won't work like that. you're basically calling a function without providiong any arguments
pie___ has joined #nixos
<wedens> ar1a: https://github.com/Gabriel439/haskell-nix/tree/master/project0#cabal2nix this is one of the ways to do that
o1lo01ol1o has joined #nixos
<ar1a> oooh ty
bgamari has joined #nixos
pie__ has quit [Ping timeout: 268 seconds]
<bgamari> how does one figure out which nixpkgs commit to checkout to replicate my local nixpkgs channel?
<iqubic> clever: Yeah, that's right. That's what my cursory source code analysis shows.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
praetorg_ has quit [Read error: Connection reset by peer]
<slack1256> bgamari: On /nix/var/nix/profile/per-user/root/channel-# where # is the channel you're interested, check the file manifest.nix
<bgamari> ahh, great
<slack1256> That ought to have a "name" file that looking like nixos-19.03pre166308.626233eee6e . After the last point, that is the commit
fusion809 has quit [Remote host closed the connection]
<ar1a> hm wedens now my dante is breaking https://ptpb.pw/sskz
<bgamari> ahh
<bgamari> that *is* a commit; I had search github for it and it came up with nothing
<bgamari> so I assumed it was just some other sort of hash
<bgamari> slack1256, lovely, thanks!
<slack1256> :-)
<iqubic> ar1a: How did you install the package `cabal-install`
<ar1a> iqubic: home-manager. dante was working fine before when i was using styx!
<clever> iqubic: nix-env -iA nixpkgs.haskellPackages.cabal-install
<jackdk> dante's doing a pure shell so it won't see that
<iqubic> clever: I'm trying to help ar1a with their issues.
<iqubic> jackdk: Dante doesn't need to use a pure shell.
<clever> [root@amd-nixos:~]$ nix-env --profile /nix/var/nix/profiles/per-user/root/channels-69-link -q
<iqubic> ar1a: Try removing the pure bit from that function call.
<clever> bgamari, slack1256: this will list all "packages" installed in generation 69
<clever> [root@amd-nixos:~]$ nix-env --profile /nix/var/nix/profiles/per-user/root/channels --list-generations
<clever> lists all generations
<slack1256> Yep
<ar1a> iqubic: yeah it pops into a repl when i remove it
<bgamari> well, I really just want to know which nixpkgs revision to freeze my package at
<iqubic> ar1a: Good. Then it seems your problems have been solved.
<ar1a> iqubic: n.... no? becasue dante still errors out
<ar1a> i didn't set what it calls
<ar1a> i was just running what it calls to see what happens
<wedens> dante probably expects cabal in a pure shell
<iqubic> Ah. I see.
<ar1a> so install haskell globally huh?
<iqubic> No.
<iqubic> Actually, I don't run ask dante to run the repl with --pure, and it works fine.
vk3wtf has joined #nixos
<iqubic> I'm not sure whether the pure version is better or the impure version is better.
halfbit has joined #nixos
slack1256 has quit [Ping timeout: 250 seconds]
slack1256 has joined #nixos
<ar1a> alright i just (setq dante-methods-alist (delq (assoc 'nix dante-methods-alist) dante-methods-alist)) and no worries
halfbit has quit [Ping timeout: 252 seconds]
<iqubic> did that work?
<iqubic> ar1a: ^^^
<ar1a> iqubic: yes
<ar1a> now i have another error! i add "hs-discord" to my build-depends, regen the nix file with cabal2nix and i get "error: anonymous function at /home/aria/projects/regbot/regbot.nix:1:1 called without required argument 'hs-discord', at /nix/store/g5m6s88309dvicnbkd9d7gdhb54hkh66-nixos-19.03pre166950.5e6ae9b6a51/nixos/pkgs/development/haskell-modules/make-package-set.nix:87:27"
infinii has quit [Ping timeout: 245 seconds]
<ar1a> https://ptpb.pw/RgfC/nix theres the file it generated
<wedens> ar1a: is hs-discord on hackage?
<slack1256> ar1a: Isn't that package called discord-hs instead of hs-discord?
<ar1a> slack1256: *facepalm* yep youre right
<ar1a> alright, i tried to install it and it throws me Setup: Encountered missing dependencies:
<ar1a> aeson >=1.0 && <1.2
<ar1a> does cabal not fetch dependencies?
<slack1256> Have you set that dependency on the cabal file?
<ar1a> slack1256: you mean putting aeson in the cabal file?
<slack1256> Yeah, oherwise how could cabal know it had it?
mizu_no_oto has joined #nixos
<ar1a> i have discord-hs in the cabal file, and base
<ar1a> that's it
kvda has joined #nixos
<slack1256> Put aeson too
<wedens> ar1a: you modify cabal file then you run cabal2nix
<ar1a> surely it resolves dependencies....
<ar1a> wedens: yeah i have
<slack1256> Yeah, but you probably are using aeson outside of just discord-hs right? So it has to be available to you, not just transitively to discord-hs
<ar1a> alright, chucked aeson in dependencies above discord-hs, rebuilt with cabal2nix, ran nix-build and it gave me the same error
<ar1a> nope, my main.hs is the stock putStrLn
<ar1a> if i try a different library like discord-haskell it gave me aeson and a few more - aeson containers req and juicypixels
<wedens> how do you build?
<ar1a> `nix-build`
reinhardt has joined #nixos
<wedens> without an argument?
<ar1a> yep. default.nix has just the import nixpkgs and haskellPackages.callPackage
<wedens> ar1a: can you paste your nix files somewhere?
<ar1a> sure
<ar1a> https://ptpb.pw/vTAv wedens
<wedens> and cabal file
<wedens> I don't see aeson there
squidpickles has joined #nixos
<ar1a> no because discord-haskell depends on aeson
<ar1a> https://ptpb.pw/bcEB wedens
<wedens> nixpkgs (master) has aeson
<wedens> which doesn't met discord-haskell constraints
<ar1a> hmm, what can i do about that?
<wedens> override aeson (it's mentioned in https://github.com/Gabriel439/haskell-nix/ btw)
<ar1a> this is an awful amount of work :(
ottidmes has quit [Ping timeout: 264 seconds]
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 closed pull request #54476 → neovim: added custom aliases → https://git.io/fh2ri
<ar1a> is this really what you have to do for *every* project? surely theres a better way
<wedens> discord-haskell is not on stackage either, btw (it'll have the same problem with aeson version)
<iqubic> What's wrong with the aeson version?
<wedens> discord-haskell has aeson < 1.4 constraint
<ar1a> as well as JuicyPixels < 3.3 containers < 0.6 and req <1.2
<ar1a> all that fail
<iqubic> JuicyPixels fails? Oh, that stinks.
<wedens> in many cases you can YOLO and do `doJailbreak discord-haskell` in overrides
<iqubic> What does `doJailBreak` do?
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<ar1a> maybe ill use stack...
<wedens> it won't make it easier
<iqubic> stack won't make installing hs-discord any easier.
<wedens> discord-haskell is not on stackage, as I said earlier
<wedens> and you'll have to deal with exactly the same problem
<ar1a> you can use extra-deps
<wedens> stack and nix both pin package versions
<wedens> yeah. and you can use overrides in nix :)
Rusty1 has quit [Quit: Konversation terminated!]
<ar1a> man idk. this just seems like so much boilerplate for such a common issue
<wedens> it's a link to hackage
<wedens> on that page
<ar1a> its so hard to believe you have to do this for every dependency that has older versions
<ar1a> eh dont worry about it. i was just gonna rewrite an app i already had in haskell but all this mixed with the library being basically a 1:1 REST mapping has turned me off
nikola_i has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54223 → deja-dup: 38.1 -> 38.3 → https://git.io/fh4DK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhacs
infinii has joined #nixos
<wedens> ar1a: https://paste.ee/p/ELUu0 try using that as default.nix (without any other .nix files and without cabal2nix)
freeman42x has quit [Ping timeout: 252 seconds]
<wedens> (it still uses cabal2nix internally)
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
<ar1a> wedens: now that errors out QuickCheck >= && <2.11, base-orphans >=0.5.3 && <0.7
<ar1a> lol
markus1189 has quit [Ping timeout: 244 seconds]
markus1189 has joined #nixos
praetorg has joined #nixos
<wedens> add those to source-overrides too ¯\_(ツ)_/¯
<ar1a> this isn't worth it. especially since ive already given up on the project
<wedens> it's not like this problem is nix or haskell specific
<praetorg> is boot.kernel.sysctl the only way to add kernel parameters
<ar1a> its literally only a problem with nix
<ar1a> because it locks versions
<wedens> ar1a: you may have 2 packages with different constraints. no dependency solver will help
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vk3wtf has quit [Ping timeout: 252 seconds]
<simpson> This kind of problem *is* going to happen more with Haskell due to the way Haskell packages are versioned, by design.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #54493 → krita: 4.1.5 -> → https://git.io/fhacy
<wedens> for example, package A requires aeson > 1.4 and package B requires aeson < 1.3. at least in nix you can solve this manually (e.g. by `doJailbreak` which basically removes constraints)
<ar1a> simpson: how are they versioned?
<simpson> ar1a: Very restrictively.
<wedens> (but not every package follows it)
<simpson> ar1a, wedens: Some languages even permit linking multiple versions of a library into a single application! Such languages are surprisingly *more* accepting of strict versioning requirements.
<wedens> what makes nix appear more difficult is that it throws away dependency solver
<wedens> but it's a feature
<teto> praetorg: sysctl deals with runtime knobs. you should override (attrs?) the extraConfig parameter of a certain kernel
johann__ has joined #nixos
johann__ has quit [Read error: Connection reset by peer]
<praetorg> teto ok
<wedens> ar1a: btw, you can just use cabal with new-* commands without doing dependency management in nix
<teto> I am not sure why haskell folks add upper bound constraints, it makes it that much harder to use
<ar1a> wedens: oooh, any resources on using those?
<wedens> ar1a: https://cabal.readthedocs.io/en/latest/nix-local-build.html (note that it's just called "nix-style", it doesn't use nix)
palo1 has joined #nixos
kvda has joined #nixos
<ar1a> i presume cabal2nix doesn't support that then?
<ar1a> for installing with callCabal2Nix
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
jackdk has quit [Ping timeout: 250 seconds]
sanscoeur has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<praetorg> teto i found it i somehow missed the boot.kernelParams option while i was searching the list of options
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
infinii has quit [Ping timeout: 268 seconds]
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
random_yanek has quit [Ping timeout: 268 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
slack1256 has quit [Remote host closed the connection]
marusich has quit [Remote host closed the connection]
dermetfan has joined #nixos
worldofpeace has quit [Ping timeout: 245 seconds]
random_yanek has joined #nixos
<wedens> ar1a: you don't need cabal2nix if you don't want nix to manage dependencies
endformationage has quit [Quit: WeeChat 2.3]
<wedens> you can just use cabal directly
revtintin has quit [Quit: WeeChat 2.2]
ddellacosta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danbst pushed 3 commits to master: https://git.io/fhalr
<{^_^}> [nixpkgs] @danbst merged pull request #52991 → zramSwap: allow configure compression algorithm + cleanups → https://git.io/fhkPu
hyper_ch2 has joined #nixos
DeaDSouL has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<ar1a> ghc: can't find a package database at /home/aria/.cabal/store/ghc-8.6.3/package.db fuck ive broken something
<ar1a> dont even know how, was just messing around with cabal new-build in a different project lol
<ar1a> this isnt even that regbot project this is one that was working previously
DeaDSouL has joined #nixos
<ar1a> strange. deleted and recloned and it works fine
rauno has joined #nixos
infinii has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #54305 → coqPackages.flocq: 2.6.0 -> {2.6.1, 3.0.0} → https://git.io/fhEi2
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.flocq: 2.6.0 -> {2.6.1, 3.0.0} »: https://git.io/fha8O
reinhardt has joined #nixos
nikola_i has quit [Ping timeout: 264 seconds]
<bryan1_> Any haskell users here? yay! Prelude.read: no parse. I fear having to build with
<bryan1_> `--prof` to use `-xb` may take a century.. Is there any tricks
<bryan1_> using CallStack to get a line number?
doyougnu has joined #nixos
dermetfan has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
<ivegotasthma> what's the difference between nixpks and nixos mentioned here https://github.com/NixOS/nixpkgs/pull/54485#issuecomment-456601041 ? Is nixos a frozen version of the nixpgs repo?
<ivegotasthma> Mic92:
infinii has quit [Ping timeout: 240 seconds]
<srhb> bryan1_: Not really when it's read from Prelude. You'd have to replace it with something else. Although I think we ship most packages with profiling built, so you should just need to rebuild your own with profiling to get a nice trace.
<Mic92> ivegotasthma: in that context I mean that for NixOS we can configure globally as we can control LOCAL_ARCHIVE, while nix and nixpkgs might be also used in other linux distributions where the locales come from somewhere else.
<bryan1_> srhb: thanks.. last time i built my stack project with --profile it took nearly an hour :/
<ivegotasthma> Mic92: thanks for the info
<ivegotasthma> Is there a document somewhere that describes what NixOS adds on top of an already existing nix installation?
<ivegotasthma> because nix can manage the whole system by itself, correct?
infinii has joined #nixos
<bryan1_> srhb: need to switch to using nix pkgs for my builds...
Makaveli7 has joined #nixos
<jasongrossman> ivegotasthma: No, Nix doesn't manage the central parts of the operating system (kernel, etc.). NixOS does. So they're very different.
<ivegotasthma> jasongrossman: how does nixos manage that? isn't it using the nix pkg manager?
<jasongrossman> Yes. It's a bloody miracle, that's how! But it does.
Lisanna has joined #nixos
slack1256 has joined #nixos
<srhb> bryan1_: Yeah, the nix cache helps a lot :)
<jasongrossman> See Eelco Dolstra's original papers if you want to see how it works.
<wedens> srhb bryan1_ unless you pin nixpkgs it and don't update frequently enough :/
<wedens> that's where you'll start setting up local hydra instance, I guess
Lisanna has quit [Client Quit]
<srhb> wedens: I do have a local Hydra instance, but I don't really experience the need to update that often.
<srhb> wedens: When I do I usually just need to bump single packages, in which case callHackage or callCabal2nix in an overlay serves me just fine
<ar1a> how can i search nodePackages with nix search?/
<wedens> srhb: what if you bump base? :D
<srhb> wedens: I don't. :P
<srhb> Not without bumping nixpkgs proper
<Mic92> ivegotasthma: nix manages everything inside /nix and then we have scripts that manages the rest like restarting services, setting up the bootloader etc
<wedens> I don't know what's expiration policy in official cache. I'd like to know that
<srhb> wedens: We don't expire anything.
<srhb> wedens: There's years and years of packages in the cache.
<Mic92> the script itself are also part of the nix store
<wedens> srhb: cool. that's good to know that nix infrastructure can afford that much disk space :)
<srhb> ar1a: I don't think you can.
<srhb> wedens: s3 buckets are infinite! But I'm sure donations are very welcome.
<Mic92> srhb: it is fastly now as far as I know
<srhb> Mic92: I thought that was just the CDN
<srhb> (As in, it replaced cloudflare)
<Mic92> is this not the same?
slack1256 has quit [Remote host closed the connection]
<srhb> No, S3 is the backing storage, Cloudfront was the CDN/ ~http gateway (with local caches around the globe) and now Fastly is the CDN
<srhb> At least, as far as I understand.
<Mic92> Ok. I am not aware of those details
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #54485 → glibc: C.UTF-8 locales → https://git.io/fh2FN
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fha4h
<srhb> I don't think there's a good reason to switch away from S3, I can't think of a good alternative. If one came up where we actually got the cost savings from the actual deduplication on the backing store, it'd probably be a huge deal though.
<srhb> But I don't think any cloud providers think that's a good deal. :-)
<srhb> ar1a: nix-env -qaP -A nixpkgs.nodePackages isn't too slow as an alternative
<ar1a> ty
Makaveli7 has quit [Quit: Leaving]
Makaveli7 has joined #nixos
Lisanna has joined #nixos
<Lisanna> Is it possible to download a derivation (.drv) from an http binary cache?
<Lisanna> This is a security-oriented question
<{^_^}> [nixpkgs] @FRidh merged pull request #54462 → pythonPackages: remove some packages representing outdated versions → https://git.io/fhgjl
<{^_^}> [nixpkgs] @FRidh pushed 8 commits to master: https://git.io/fhaBK
StardustX has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 540 commits to python-unstable: https://git.io/fhaBD
<wedens> Lisanna: `nix-store -r /nix/store/....` can realise non-existing path from binary cache, afaik
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fhaB5
<niksnut> yeah, but cache.nixos.org doesn't provide .drvs
doyougnu has quit [Ping timeout: 245 seconds]
<Lisanna> niksnut: Okay - I confirmed that this works through my hydra cache. Which is unfortunate, since I would like to keep some of the derivations for my cache's build products private
mtesseract has joined #nixos
<Lisanna> for some fixed-output derivations
<srhb> Lisanna: If you're uploading drvs to your cache, you can just filter them out in a proxy or whatever. :)
<srhb> But easier would probably be to not upload them in the first place.
<Lisanna> srhb: that's a possible option - I'm not sure what format the URI taks when downloading from binary caches
<Lisanna> I'm not uploading them necessarily - hydra is just building them
<Lisanna> well, instantiating them and them building them
<srhb> Lisanna: Ah, you're serving Hydra's store directly?
<Lisanna> srhb: yea
<teto> gchristensen: would it be possible to prefix the output with the command used to generate it ? would help reproduce problems locally
<srhb> Lisanna: The "easy" solution is to not do that.
<teto> (I know they exist in the README)
<Lisanna> srhb: what's the most straightforward option to not do that?
<{^_^}> [nixpkgs] @YorikSar closed pull request #36450 → nixos/virtualisation: Increase GCE image size to 1.5G → https://git.io/vANkm
<{^_^}> nix#2643 (by buecking, 19 hours ago, open): install: Check for a valid umask before running multi-user installer.
<srhb> Lisanna: The store_uri option for Hydra.
<srhb> Lisanna: Which can take any number of binary cache URIs.
<srhb> Lisanna: (For instance an S3 uri, a local directory, ...)
<bryan1_> is anyone able to hold my hand and tell me what kind of testing i should do for nix#2643?
<{^_^}> https://github.com/NixOS/nix/pull/2643 (by buecking, 19 hours ago, open): install: Check for a valid umask before running multi-user installer.
<bryan1_> oops
<Lisanna> srhb: so if I set that to a location other than /nix/store, hydra will serve that location as the binary cache instead of the host's /nix/store, and derivations for build products won't be pushed there?
<srhb> Lisanna: By default, yeah. In fact, I'm not quite sure how to even make Hydra publish drvs automatically to that location.
<srhb> Lisanna: There's probably some obscure option :-)
sigmundv_ has joined #nixos
<Lisanna> OK, sounds like an easy enough change to make
<srhb> Lisanna: And you can prepopulate it with your existing paths using nix copy --to thatStoreUri [all non-drvs you want to serve]
o1lo01ol1o has joined #nixos
goibhniu has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gagbo has joined #nixos
gagbo has quit [Client Quit]
gagbo has joined #nixos
mtesseract has joined #nixos
slack1256 has quit [Remote host closed the connection]
alex``` has joined #nixos
knupfer has joined #nixos
<Lisanna> is the netrc-file from nix.conf used for curl requests during fetchurl builds?
<Lisanna> or is it only for resolving URIs for binary caches / NIX_PATH locations
lassulus has quit [Ping timeout: 246 seconds]
sppky has joined #nixos
lassulus has joined #nixos
elibrokeit has quit [Ping timeout: 252 seconds]
erictapen has joined #nixos
elibrokeit has joined #nixos
infinii has quit [Ping timeout: 250 seconds]
<Lisanna> answer: yes, the builtins.fetchurl supports this. The nixpkgs one doesn't appear to though
mounty has quit [Quit: Konversation terminated!]
mounty has joined #nixos
civodul has joined #nixos
<Lisanna> but builtins.fetchurl can't be used in restricted-eval mode ):
<ivegotasthma> rycee: can home-manage copy a folder to a location? ie home.file.<name?>.copy ? I have my firefox profile in a private repo, if I want to move it over to a new machine this would cause the least headache.
<Myrl-saki> Seems like channel.nix is imported when you use installation-cd-minimal.
<wedens> ivegotasthma: iirc you can just specify a directory as a source
<ivegotasthma> if it's not a copy the symlink will change the contents of the repo with history / junk / etc.
<ivegotasthma> wedens: but it does a symlink, not a copy
<ivegotasthma> same with recurse
<Myrl-saki> Found it.
<Myrl-saki> # Include a copy of Nixpkgs so that nixos-install works out of
<Myrl-saki> # the box.
<Myrl-saki> ../installer/cd-dvd/channel.nix
<Myrl-saki> On installation-device.nix.
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54404 → pythonPackages.asciimatics: init at 1.10.0 → https://git.io/fhzIB
<{^_^}> [nixpkgs] @dotlambda pushed commit from @CMCDragonkai to master « pythonPackages.asciimatics: init at 1.10.0 (#54404) »: https://git.io/fhaug
<{^_^}> [hydra] @edolstra merged pull request #631 → Enhances user-facing dates → https://git.io/fhgzv
<{^_^}> [hydra] @edolstra pushed 3 commits to master: https://git.io/fhaz6
<wedens> ivegotasthma: perhaps symlinking without copying directory to the store will work?
thc202 has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #633 → Add hydra-dev-server which uses the classic Catalyst server → https://git.io/fhatn
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fhag0
<{^_^}> [nixpkgs] @Mic92 closed pull request #54259 → teamviewer: 13.1.3026 -> 14.1.3399 → https://git.io/fhByh
<{^_^}> [nixpkgs] @Mic92 pushed commit from @DrWowa to master « teamviewer: 13.1.3026 -> 14.1.3399 »: https://git.io/fha2t
<{^_^}> [hydra] @edolstra merged pull request #632 → hydra-queue-runner: better error message if nix-store can not be started → https://git.io/fh2gq
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fha2Z
<{^_^}> [nixpkgs] @Mic92 pushed commit from @DrWowa to release-18.09 « teamviewer: 13.1.3026 -> 14.1.3399 »: https://git.io/fha2l
Makaveli7 has quit [Quit: Leaving]
Makaveli7 has joined #nixos
lassulus has quit [Ping timeout: 250 seconds]
iqubic has quit [Ping timeout: 272 seconds]
lassulus has joined #nixos
dermetfan has joined #nixos
<Taneb> Anyone know when nixpkgs 19.03 is going to be split?
<Myrl-saki> Taneb: At least March.
<Myrl-saki> Er, wait, what do you mean by "split"?
<Myrl-saki> Oh. :P
<Taneb> Myrl-saki: symphorien: thank you
* Myrl-saki just learned that I have no idea about NixOS's release schedule at all.
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to master « cyrus-sasl: Fix broken download site »: https://git.io/fhaae
LogicAside has quit [Remote host closed the connection]
StardustX has quit [Remote host closed the connection]
StardustX has joined #nixos
StardustX has quit [Client Quit]
protocol has quit [Quit: WeeChat 2.2]
LogicAside has joined #nixos
<Lisanna> will hydra run localhost builds using nix-daemon
<srhb> Myrl-saki: Usually the freeze happens right around 1/3 and 1/9 and release is a bit more than a month later :)
ThatDocsLady has quit [Quit: Leaving]
knupfer has quit [Quit: knupfer]
<srhb> Lisanna: iirc the only difference between localhost and remote builds is that there's special logic to avoid using ssh locally, and instead nix-store --serve --write is called directly
<lewo> Lisanna: yes
<lewo> and I confirm what said srhb
ThatDocsLady has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @adrianparvino opened pull request #54494 → Support wrapping a file system under LUKS → https://git.io/fhaVi
<Myrl-saki> Can I have comments for #53600 and #54494?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53600 (by adrianparvino, 2 weeks ago, open): nixos/modules/system/boot/stage-1.nix: Add support for mounting files encrypted with luks
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54494 (by adrianparvino, 1 minute ago, open): Support wrapping a file system under LUKS
<{^_^}> [nixpkgs] @peterhoeg opened pull request #54495 → sshguard (nixos): fix syslog identifiers and pid file → https://git.io/fhaVQ
<etu> Myrl-saki: #53600 has conflicts, I think people shy away a bit extra when it's like that :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53600 (by adrianparvino, 2 weeks ago, open): nixos/modules/system/boot/stage-1.nix: Add support for mounting files encrypted with luks
<Myrl-saki> etu: Oh crap.
<Myrl-saki> etu: Thanks, I just realized that right now.
<Myrl-saki> I have to rebase mine against master, right?
<Myrl-saki> Like, delete history?
<etu> if you rebase on master you will rewrite your changes to be applied on top of master
<Myrl-saki> Right.
<etu> When you do that you will get a merge conflict
sinner has joined #nixos
sinner is now known as Guest95490
<etu> and when the rebase is done you'll have to force push it to github since your branch there contains old history instead of your new fresh history :)
o1lo01ol1o has joined #nixos
<Myrl-saki> I 100% hope there's a test for resize2fs.
<Myrl-saki> Hint: seems like there's not.
<Myrl-saki> I might as well add the tests for that, since I'll probably be the one breaking things.
o1lo01ol1o has quit [Ping timeout: 245 seconds]
marvin2 has joined #nixos
mbrock has joined #nixos
<srhb> Myrl-saki: I think there might be indirectly via the installer tests, but I'm not sure.
tmaekawa has joined #nixos
mekeor has joined #nixos
orivej has joined #nixos
simukis has joined #nixos
simukis has quit [Remote host closed the connection]
simukis has joined #nixos
Makaveli7 has quit [Quit: Leaving]
__monty__ has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<ldlework> Anyone use vscode? When I try to open a file it dissapears.
<ldlework> :P
<srhb> ldlework: strace might be helpful.
<ldlework> never learned how to use it
<ldlework> it's scary
<srhb> ldlework: To a first approximation, strace -o file yourcommand -- make it crash, pastebin the file.
<ldlework> srhb: you should know that it does some kind of forking
Makaveli7 has joined #nixos
<srhb> ldlework: It might still be helpful.
o1lo01ol1o has joined #nixos
<wedens> you can pass `--wait` arg to avoid forking, I think (I don't use vscode :))
<ldlework> added that as strace2 in the gist
<{^_^}> #45286 (by Chiiruno, 22 weeks ago, closed): vscode crash on 'open folder'
<ldlework> stable works
<ldlework> woo
o1lo01ol1o has quit [Ping timeout: 250 seconds]
unacceptable has joined #nixos
Guest95490 has quit [Ping timeout: 268 seconds]
aramiscd has quit [Ping timeout: 244 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
random_yanek has quit [Quit: random_yanek]
erictapen has quit [Ping timeout: 240 seconds]
silver has joined #nixos
random_yanek has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c7ae9a29ffa (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Boomerang has quit [Quit: WeeChat 2.3]
init_6 has joined #nixos
MP2E has quit [Remote host closed the connection]
superherointj has joined #nixos
xwvvvvwx has joined #nixos
<xwvvvvwx> Hey :)
xorkle has quit [Ping timeout: 250 seconds]
<xwvvvvwx> Is there an easy way to install nix on an ARM device (e.g. raspberry pi)?
<Myrl-saki> xwvvvvwx: Which RasPi?
<{^_^}> [nixpkgs] @peti merged pull request #53939 → haskellPackages.pandoc-crossref: refactor disable tests for [backport] → https://git.io/fhnAd
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-18.09: https://git.io/fhaDi
<{^_^}> [nixpkgs] @zimbatm merged pull request #54487 → docker-machine: 0.14.0 -> 0.16.1 → https://git.io/fh2Nv
<{^_^}> [nixpkgs] @zimbatm pushed to master « docker-machine: 0.14.0 -> 0.16.1 (#54487) »: https://git.io/fhaD5
tmaekawa has quit [Quit: tmaekawa]
ng0 has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
<jboy> I followed this helpful guide trying to get Yubikey and gpg-agent to work for ssh auth on NixOS, but it isn't working for me. Does anyone currently have this working? https://rzetterberg.github.io/yubikey-gpg-nixos.html
o1lo01ol1o has joined #nixos
sb0 has left #nixos [#nixos]
<etu> jboy: Have you enabled services.pcscd.enable = true; in your config?
<etu> jboy: I'm using yubikey with gpg on nixos, but haven't tried it for ssh yet
o1lo01ol1o has quit [Ping timeout: 245 seconds]
tmaekawa has joined #nixos
<jboy> yes, I have that enabled, etu
<{^_^}> [nixpkgs] @taku0 opened pull request #54496 → adoptopenjdk: 11.0.1 -> 11.0.2 (x86_64-linux only) [Security fixes] → https://git.io/fha9e
tmaekawa has quit [Client Quit]
<jboy> fwiw, it's not working for anything, even though `gpg --card-status` works just fine
Makaveli7 has quit [Quit: Leaving]
ottidmes has joined #nixos
__monty__ has quit [Quit: leaving]
nikola_i has joined #nixos
rauno has joined #nixos
marvin2 has quit []
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fhaH0
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.9.151 -> 4.9.152 »: https://git.io/fhaHu
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.14.94 -> 4.14.95 »: https://git.io/fhaH2
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.19.16 -> 4.19.17 »: https://git.io/fhaHr
aramiscd has joined #nixos
Jetien has quit [Ping timeout: 245 seconds]
<teozkr> jboy: what does `ssh-add -L` say?
<{^_^}> [nixpkgs] @asymmetric opened pull request #54497 → solc: 0.5.2 -> 0.5.3 → https://git.io/fhaQe
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tilpner has joined #nixos
<tilpner> Hey, can anyone on Nix 2.2 try using nix-shell as root? I get setns(3, CLONE_NEWNS) = -1 EINVAL (Invalid argument) when I try that
<tilpner> Oops, mpickering was faster, nevermind
<mpickering> tilpner: Things are working for me after I reverted those two commits
<tilpner> mpickering: Your issue doesn't mention root. Do you remember what user you were running nix-shell as?
<gchristensen> which two?
<{^_^}> nix#2646 (by mpickering, 18 hours ago, open): Regression: error: restoring parent mount namespace: Invalid argument
<mpickering> well, root, but I always do
<mpickering> so I didn't think to mention it
<gchristensen> Mic92: the systemd boot builder deletes every file on every reinstall
<tilpner> I don't think that's common enough to expect other people to assume it
<mpickering> I mean it didn't occur to me that if could be a problem to do with whether I was running as root or not.
<mpickering> as I had no idea really what the error meant
rauno has quit [Read error: Connection reset by peer]
<Mic92> gchristensen: ah, so it starts with a clean /boot?
<Mic92> I should read the whole source. Otherwise I only do partial reviews
<gchristensen> Mic92: ah, no, let me send a log.
hyper_ch2 has joined #nixos
<gchristensen> I read the source and was surprised to find it deletes every file :)
<tilpner> mpickering: Okay, just making sure your report doesn't contradict what I see here (commented about root)
<gchristensen> not *every* file -- but all the nixos entries and I think all the files in /boot/EFI/nixos
<tilpner> Let's hope Nix 2.2 didn't do any un-downgrade-able changes to any databases
<mpickering> tilpner: Do you have a simpler repro?
<tilpner> mpickering: nix-shell -p hello
shabius has quit [Read error: Connection reset by peer]
<tilpner> I'll add that
shabius has joined #nixos
<mpickering> I added it
xorkle has joined #nixos
estrom has joined #nixos
_kwstas has joined #nixos
superherointj has quit [Quit: Leaving]
<estrom> Hi, I am trying to build `nixpkgs.teensyduino` but it is failing. Where can I find the build log file?
<estrom> Using, `nix-env -iA nixpkgs.teensyduino`
rauno has joined #nixos
<gchristensen> what do you see when you run that?
fusion809 has joined #nixos
mtesseract has joined #nixos
lawlesseel has joined #nixos
acarrico has joined #nixos
vk3wtf has joined #nixos
<jboy> teozkr: "Error connecting to agent: No such file or directory"
<teozkr> jboy: ah, that explains it
<teozkr> what's your $SSH_AUTH_SOCK?
<jboy> And yes, I've verified gpg-agent is running
<estrom> gchristensen: it has built some stuff, and the build returns 1 when running the teensyduion install
<estrom> gchristensen: https://paste.ee/p/wp13k
<jboy> teozkr: /home/me/.gnupg/S.gpg-agent
<gchristensen> ...weird, I've never seen a build like that. that is all the log we have, estrom!
<estrom> Before that output there's other things building -- successfully
<teozkr> ah, that's weird..
<teozkr> for me all GPG sockets are in /run/user/$(id -u)/gnupg/
<estrom> gchristensen: here is the full output, https://paste.ee/p/hz6he
<jboy> teozkr: that's the path returned by gpgconf --list-dirs
<teozkr> jboy: have you checked whether that folder exists, and whether the sockets exist there or in your gpg home folder?
<jboy> teozkr: it doesn't appear in ~/.gnupg
<estrom> let me know if there is any other build information that I can provide
<etu> estrom: I read the installer for that the other day
<etu> estrom: It's some real shady magic going on when it says: "Waiting to install"
<teozkr> jboy: does it appear in /run/user/$(id -u)/gnupg/?
<etu> It runs X in the background and tabs and presses enter in some kind of graphical installer :p
initiumdoeslinux has joined #nixos
<gchristensen> ...!!!
<jboy> teozkr: yes, there's S.gpg-agent= in there
<estrom> etu: I guess that's why they are so keen to hiding it behind 'Waiting to install' ;)
<teozkr> jboy: alright, try `env SSH_AUTH_SOCK=/run/user/$(id -u)/gnupg/S.gpg-agent.ssh ssh-add -L`
<teozkr> jboy: no idea why gpgconf is returning the wrong folder then...
<jboy> teozkr: setting SEH_AUTH_SOCK manually and now getting "The agent has no identities"
<{^_^}> [nixpkgs] @FRidh merged pull request #54419 → ncurses: use github mirror → https://git.io/fhzVe
<{^_^}> [nixpkgs] @FRidh pushed to staging « ncurses: use github mirror »: https://git.io/fhadm
estrom has quit [Remote host closed the connection]
<teozkr> jboy: progress! :p
<teozkr> is the yubikey connected?
<jboy> So I'm getting somewhere. Yes teozkr
regulus- has quit [Ping timeout: 246 seconds]
<jboy> Yes it is teozkr
<jboy> Ah
<jboy> After running gpg2 --card-status ssh-add -L now works
<teozkr> jboy: nice :D
<jboy> Thanks! I think that'll help me sort it
<teozkr> jboy: no problem :D
<gchristensen> etu: we should probably delete that package
<jboy> Maybe I'll submit a pull request on the blog post
<initiumdoeslinux> etu: I am here on my laptop, I had to boot another OS
<jboy> \o/
<initiumdoeslinux> nickserv didn't rename me, don't know how this works :)
<etu> initiumdoeslinux: oh :)
<mpickering> tilpner: Are you also on NixOS?
<initiumdoeslinux> etu: I don't think I've ever witnessed a build script with sleep
<initiumdoeslinux> let alone that many
<initiumdoeslinux> witchcraft
<gchristensen> this is a horrible package :?
<tilpner> mpickering: Yes
tilpner has quit [Quit: WeeChat 2.3]
tilpner has joined #nixos
Jetien has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
<etu> gchristensen: The package refer to how AUR does install that package, but if I look at the pkgbuild from AUR it doesn't do shady magic like that. So it can probably be improved.
iyzsong has joined #nixos
<gchristensen> etu: maybe when arch installs it, it can talk to the user's X...
<gchristensen> (but hopefully not)
bkl[m] has joined #nixos
<etu> I for sure hope not :D
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: 2.7.5 -> 2.7.6 »: https://git.io/fhadA
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eadwu has joined #nixos
o1lo01ol1o has joined #nixos
hamishmack has quit [Ping timeout: 245 seconds]
<tilpner> It did in the past, but it seems they found a way around it, or it stopped being necessary
o1lo01ol1o has quit [Ping timeout: 244 seconds]
fendor has joined #nixos
mbrock has quit [Ping timeout: 245 seconds]
<etu> tilpner: Yeah, so we can probably copy their updated install instructions to lake it less shady
rauno has quit [Ping timeout: 240 seconds]
initiumdoeslinux has quit [Remote host closed the connection]
<gchristensen> Mic92: my interest in this PR is waning :/
rauno has joined #nixos
kp__ has joined #nixos
samrose has joined #nixos
estrom has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
<estrom> etu: how do I override the teensyarduino package, so that I can try out the arch-way of building it?
fuzzy-id has joined #nixos
sphalerite has quit [Ping timeout: 252 seconds]
<Mic92> gchristensen: isn't it almost done?
<Mic92> I mean except documentaiton
<{^_^}> [nixpkgs] @buffet opened pull request #54498 → grim: init at 1.0 → https://git.io/fhaNi
<gchristensen> mmm I guess probably
<gchristensen> the code in there is so ugly :|
<gchristensen> hard to muddle through
<samrose> if you are using a kernel other than config.boot.kernelPackages.kernel.dev how do you also account for config.boot.kernelPackages.kernel.modDirVersion; ?
<Mic92> gchristensen: is it? It nicer then the code I have to deal with lately :)
<gchristensen> oh :D
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}{Stable,Preview}: 2.1.11 -> 2.1.12 »: https://git.io/fhaA0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhaxZ
<{^_^}> [nixpkgs] @Mic92 merged pull request #52741 → pythonPackages: trezor: 0.10.2 -> 0.11.1 → https://git.io/fhJj6
o1lo01ol1o has joined #nixos
mtesseract has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
countingsort has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
<tokudan[m]> what's the name of the script in /nix/var/nix/profiles/system-433-link that I need to run to set a specific generation as the current one in the boot loader?
npmccallum has joined #nixos
<tokudan[m]> is that just the activate? from reading it seems to do a lot of things that are pretty unclear
<symphorien> bin/switch-to-configuration boot
<symphorien> it also calls activate but activate is not enough
babic has joined #nixos
<tokudan[m]> symphorien: thanks :)
<tokudan[m]> let's see if the system comes up again after reboot
<gchristensen> tokudan[m]: that won't make it the default
<tokudan[m]> ah :(
<tokudan[m]> well, the broken configuration is bootable, just misses a lot of services
<tokudan[m]> so I need to change the grub configuration manually?
<gchristensen> you can't pick the old version at the bootloader?
init_6 has quit [Ping timeout: 245 seconds]
<etu> estrom: It's so messy so I don't exactly know where to begin... :(
<tokudan[m]> i only got ssh to the running system right now :(
eadwu has quit [Quit: WeeChat 2.3]
<tokudan[m]> on a mobile phone
<etu> estrom: Maybe I can look at it this weekend or so, but we can write an issue about it
<gchristensen> ooooof
<symphorien> you can use grub-reboot to choose the default entry
__monty__ has joined #nixos
hellrazor has joined #nixos
<Church-> Ooooh
<Church-> Got a new app I need to package and upstream today
<Church-> And then we'll have Chromecast streaming via firefox
<Myrl-saki> tokudan[m]: `nixos-rebuild switch -p ...` should also work.
eadwu has joined #nixos
amosbird has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tokudan[m]> Myrl-saki: server is deployed through nixops, no local configuration to rebuild
<etu> estrom: What's your github handle so I can cc you?
amosbird has joined #nixos
<estrom> etu: eHammarstrom
<Church-> And of course it's a node app
<Church-> Blegh
<Myrl-saki> tokudan[m]: I basically never tried rollbacking, but knowing Nix, `switch -p` should be equivalent to a rebuild. I hope.
<estrom> etu: I am in no hurry, so please do not stress.
<Myrl-saki> tokudan[m]: s/equivalent to a rebuild/equivalent to a rollback/
<etu> estrom: Thanks, I'll cc you on the issue :)
<estrom> etu: Thank you.
<{^_^}> [nixpkgs] @Gerschtli opened pull request #54499 → phpPackges.php-cs-fixer: 2.13.1 -> 2.14.0 → https://git.io/fhahT
<tokudan[m]> Myrl-saki: reading the documentation that seems to be the easiest way... I'll try :)
o1lo01ol1o has joined #nixos
<tokudan[m]> Myrl-saki: complains about missing configuration.nix :/
<Myrl-saki> tokudan[m]: Ah. :/
<Myrl-saki> tokudan[m]: There is also `--rollback`
<tokudan[m]> tab completion for grub-reboot lists all entries with their name... <3
<Myrl-saki> tokudan[m]:
<tokudan[m]> my fat fingers on my cell phone thank whoever implemented that
<Myrl-saki> tokudan[m]: Can you read Bash?
<Myrl-saki> TL;DR
<Myrl-saki> if [ "$action" = switch -o "$action" = boot ]; then
<Myrl-saki> targetHostCmd nix-env --rollback -p "$profile"
<Myrl-saki> pathToConfig="$profile"
<Myrl-saki> tokudan[m]: If you want something non-destructive, you might want to try `test --rollback --profile ...`
<Myrl-saki> --profile-name
<{^_^}> [nixops] @PsyanticY opened pull request #1083 → AWS.S3: Implement s3 bucket lifecycle configuration → https://git.io/fhahi
<Myrl-saki> nixos-rebuild test, I mean.
<tokudan[m]> Myrl-saki: only seems to work with a local configuration.nix
<tokudan[m]> Myrl-saki: but as this is nixops, the system cannot rebuild itself ;)
<symphorien> this all boils down to bin/switch-to-configuration.nix
<symphorien> -.nix
<Myrl-saki> tokudan[m]: Right. The code snippet I showed shows that using `--rollback` means that no configuration building is done.
<symphorien> the caveat gchristensen hinted at is that it will only ensure the generation is available in the boot loader, but not make it the first one
<tokudan[m]> symphorien: yeah, that's the basic problem I have right now :)
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tokudan[m]> reboot after grub-reboot is in progress...
<Myrl-saki> For comparison, this is what `pathToConfig` is set to when you use non-rollback.
<Myrl-saki> pathToConfig="$(nixBuild '<nixpkgs/nixos>' --no-out-link -A system "${extraBuildFlags[@]}")"
tilpner has quit [Ping timeout: 268 seconds]
tmaekawa has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
xwvvvvwx has quit [Ping timeout: 240 seconds]
<Taneb> I notice by poking around Hydra's source there's a concept of a failure with output
<gchristensen> prety sure that was a misfeature, but yeah
_kwstas has quit [Quit: _kwstas]
<Taneb> I'd like to use it to keep track of stats of builds, but mark them as failures if another thing fails
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
fuwa has quit [Remote host closed the connection]
<samueldr> tests/jobs/basic.nix has an example (a test) for failing with output I think Taneb
<samueldr> (in the hydra source repo)
nikola_i has quit [Remote host closed the connection]
nikola_i has joined #nixos
tilpner has joined #nixos
xkapastel has joined #nixos
fuwa has joined #nixos
shlevy_ is now known as shlevy
sphalerite has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54493 → krita: 4.1.5 -> → https://git.io/fhacy
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhVvm
hedning has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #54501 → pythonPackages.faker: 1.0.1 -> 1.0.2 → https://git.io/fhVv0
<sphalerite> so my server just disappeared off the face of the inernet just about an hour ago. Resetting it from Hetzner's admin console thing brought it back. Nothing unusual in the journal before its disappearance, but nothing at all after the point of disappearance either. What could this be? My first guess is kernel panic, but any other ideas would be appreciated
<sphalerite> also about how to find out more
<tilpner> Hold on
<tilpner> What did you do?
<tilpner> I've had that since Jan 1.
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
eadwu has quit [Quit: WeeChat 2.3]
jcrben has quit [Quit: Ping timeout (120 seconds)]
<tilpner> sphalerite: When did you last redeploy that server (what was the uptime before server crash?)
eadwu has joined #nixos
infinee has joined #nixos
<sphalerite> tilpner: a couple of days ago
<tokudan[m]> sphalerite: I've had that with my debian server before, but after migrating everything to a new nixos-server, there were no more issues
<sphalerite> tilpner: before that the uptime was… far too big
<tokudan[m]> might just be a hardware fault...
<tilpner> sphalerite: What's the disk configuration? raid? zfs?
<tokudan[m]> when it disappears, ask them for a console
jcrben has joined #nixos
<tilpner> tokudan[m]: I've had Hetzner support replace everything. Unless the new hardware was also faulty, it's not that
<sphalerite> tilpner: zfs
<tokudan[m]> ah, ok
<tilpner> sphalerite: When I reinstalled with zfs, it only dies every ~4 days. With ext4, it dies every 20min to 20h
<sphalerite> o.o
<tilpner> I have a nix-diff of the change which I believe activated it, and have been trying random things since
<tilpner> Someone pointed me to https://www.mail-archive.com/search?l=debian-bugs-dist%40lists.debian.org&q=subject:%22Bug%23904822\%3A+linux\-image\-4.17.0\-1\-amd64\%3A+Freeze\%2Ftiming\%2Finterrupt+problems+since+4.17%22&o=newest&f=1
<tilpner> But adding those parameters doesn't help with ext4, and are possibly ignored by zfs
<sphalerite> hm ok
<tilpner> Is your server doing anything... important? (Stupid question, I know. They usually do)
<adisbladis> My nixos hetzner vm: "up 107 days"
<sphalerite> weechat, a couple of websites, nothing economically critical
<tilpner> adisbladis: I never had problems with the cloud offering, and this serverboerse server didn't have problems until 2019
<sphalerite> err actually there's some research stuff that runs on it as well which is quite important to my dad, but not so availability-critical
<sphalerite> i.e. it's a pain if it's down, but doesn't cause tonnes of damage
<tilpner> Nevermind then, I was going to ask you to leave it in rescue mode for a weekk
<infinee> Hi, I booted a nixos usb on this thinkpad x201 but have no idea if I'm using EFI or Grub. I'm at the nixos-generate-config step and not sure how to customize my configuration.nix file with regards to booting
<sphalerite> infinee: nixos-generate-config shoudl automatically detect whether you're on EFI or BIOS boot
<sphalerite> infinee: and enable GRUB for BIOS boot or systemd-boot for EFI by default, but you can use GRUB on EFI too
<infinee> sphalerite, ok then it must be BIOS because I don't have a loader.systemd-boot entry
<sphalerite> infinee: if you don't know you need one or the other, just go with what it autogenerates :)
<tilpner> sphalerite: You might as well start extended smart checks, but don't expect that to help
tilpner has quit [Read error: Connection reset by peer]
eadwu has quit [Quit: WeeChat 2.3]
xwvvvvwx has joined #nixos
tilpner_ has joined #nixos
<tokudan[m]> symphorien: no matter which entry i select with grub-reboot, the server always comes up with the same /run/booted-system target. no idea what's going on there, I'll have to figure that out when I got a decent keyboard. thanks for that command though, i didn't know about it
tilpner_ is now known as tilpner
eadwu has joined #nixos
<tilpner> sphalerite: (Disconnect, I hope you didn't say anything)
<sphalerite> tilpner: nope :) also we have logs ;)
<tilpner> sphalerite: Part of the reason for the zfs->ext4 switch is, that ext4 triggers this behaviour more frequently, so I can try if different IO schedulers can avoid this, without waiting 4 days each time
<sphalerite> tilpner: ext4 on a zvol? :p
<tilpner> That's not going to help
<tilpner> sphalerite: What channels is your server on? Did you recently switch/mix them?
<sphalerite> tilpner: 18.09, some user software from unstable
<tilpner> Interesting, mine was on unstable entirely, for the per-interface firewall module changes
<tilpner> The deployment that started this, upgraded Linux 4.14.88 -> 4.19.12
<tilpner> (But it still happens on 4.20.3 (building 4.20.4 now), the 5.0.0-rc* break switch-to-configuration)
markus1189 has quit [Ping timeout: 240 seconds]
jabranham has joined #nixos
* tilpner reboots into 4.20.4
tilpner has quit [Quit: WeeChat 2.3]
reinhardt has quit [Quit: Leaving]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/749a3a0d00b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<gchristensen> Mic92: mind giving another review?
knupfer has joined #nixos
Guanin has joined #nixos
tilpner has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
ng0_ has joined #nixos
mtesseract has joined #nixos
ng0 has quit [Ping timeout: 256 seconds]
ng0_ is now known as ng0
<{^_^}> [nixpkgs] @grahamc closed pull request #53901 → WIP: Sign systemd boot EFI images for secure booting. → https://git.io/fhn9E
<{^_^}> [nixpkgs] @grahamc reopened pull request #53901 → WIP: Sign systemd boot EFI images for secure booting. → https://git.io/fhn9E
<gchristensen> anyone know what this message means? warning: data remaining[225792 vs 242346]: gaps between PE/COFF sections? in the context of this PR ^
endformationage has joined #nixos
Dedalo has joined #nixos
<bryan1_> grahamc: Do you have any additional suggestions for #2643; will be around all day to fixup anything you want.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/2643 (by vandenoever, 4 years ago, closed): Update Qt to 5.2.1 and Qt Creator to 3.1.
<gchristensen> wow, >50k issues in 4 years.
<gchristensen> bryan1_: which PR?
<bryan1_> lol nixos#2643
<gchristensen> link?
<{^_^}> nix#2643 (by buecking, 1 day ago, open): install: Check for a valid umask before running multi-user installer.
<gchristensen> oh
<bryan1_> this issue wasted 3hrs of my life sadly.. would hate for anyone to go through what I did...
<gchristensen> it is on my to-do list of running in my test matrix (http://gsc.io/report-single-user-default.html) but it is slightly low on the list due to some work and family things
xok has joined #nixos
<xok> hello all
<bryan1_> I can write a test, does your CI cover all the oses?
<bryan1_> gchristensen: understood..
<gchristensen> it may be tough to get going, but if you want a project :)
<bryan1_> gchristensen: How is that gsc.io matrix generated?
<bryan1_> hopefully not elves
* gchristensen is typing up some notes
asymmetric has joined #nixos
<gchristensen> here is the source: https://github.com/grahamc/nix-install-matrix/ --- you can add a new "image" here, which has a preInstall command to change the umask: https://github.com/grahamc/nix-install-matrix/blob/main/matrix.nix#L44
o1lo01ol1o has joined #nixos
<bryan1_> gchristensen: sweeeet.. will do
<gchristensen> if you have trouble, let me know and I'll try and help out
<xok> how do I get perl version dynamically in nixops?...
<xok> for example, will this work: ${pkgs.perl}?..
<gchristensen> bryan1_: if you make some progress but don't finish, please PR your changes so I can base my work off them
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<bryan1_> gchristensen: sure thing
<tdeo> what's the best way to make a (personal) derivation that does something as non-root? i want to generate a wineprefix with a custom setup in one
<xok> the idea is to use the perl directory for modules and to run a cron script which needs some modules...
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner> > (builtins.parseDrvName perl.name).version
<{^_^}> "5.28.1"
o1lo01ol1o has joined #nixos
<tilpner> ^ xok
<tilpner> > lib.getVersion perl # or... you know, the simple thing
<{^_^}> "5.28.1"
<gchristensen> xok: do you want the perl version number, or are you looking for the perl executable?
<xok> gchristensen: I want to get the correct directory for modules...
<asymmetric> is there a shortcut for "${pkgs.foo}/bin/foo"?
mizu_no_oto has joined #nixos
<tilpner> asymmetric: Not really. If you do that a lot in one file, you can let inherit (pkgs) foo; in ...
<sphalerite> asymmetric: not in nixpkgs afaik
<tilpner> Then you'll only have to do "${foo}/bin/foo", which is slightly better if foo is a long name
<sphalerite> asymmetric: but you can do let fooBin = name: "${pkgs.${name}}/bin/${name}"; in …
<xok> gchristensen: this is how I run the script right now: PERL5LIB=/run/current-system/sw/lib/perl5/site_perl/5.24.3 perl rss.pl
nikola_i has quit [Remote host closed the connection]
<sphalerite> of course that only works for packages with the same attribute and binary name :)
<xok> how do I dynamically get that PERL5LIB=/run/current-system/sw/lib/perl5/site_perl/5.24.3 perl rss.pl
nikola_i has joined #nixos
<asymmetric> sphalerite: right. seems like it could be a nice addition to the stdlib
<tilpner> sphalerite: If your server does funny things again, or if it doesn't, I'd appreciate any opinions and observations you might have
<symphorien> xok: you should probably "package it properly" as a derivation
<sphalerite> asymmetric: not really, because it depends on pkgs, which isn't allowed in lib, and because it's not suitable for stuff that doesn't have that property
hellrazor has quit [Ping timeout: 240 seconds]
ThatDocsLady has quit [Ping timeout: 245 seconds]
<asymmetric> got it
<symphorien> it will likely be a better idea than depending on /run/current-system
<asymmetric> is anyone else having trouble with cachix? pushes are failing on my travis tests
<gchristensen> cc domenkozar ^
hellrazor has joined #nixos
<gchristensen> bryan1_: thank you for being interested in running those tests :)
<bryan1_> gchristensen: I'm very new to nixos and the various installation methods. Should I use a specific version of nix-build?
<gchristensen> shouldn't matter
<bryan1_> gchristensen: no problem.. it's time to learn
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<gchristensen> bryan1_: what kind of system do you have to run the tests?
<bryan1_> gchristensen: I have a VM sitting on 64 processors
<bryan1_> :)
<gchristensen> oh cool
<gchristensen> you don't need my hw then :P
<bryan1_> it's day time so server may be under some load.. should be no problem.. i'll scream otherwise..
xwvvvvwx has quit [Ping timeout: 250 seconds]
<ottidmes> is there an easier way to get a Nix expression at some position in a Nix file in its unevaluated form than parsing the file with hnix and going through the expression tree to figure out what the expression is and only print that? no builtin that says, print the Nix code at this point rather than the evaluate it?
<gchristensen> ottidmes: ...whatchyadoin?
<xok> symphorien: thanks, but the script itself needs to be in a writeable directory because it alters some data in a current directory...
<xok> symphorien: how do I get just the part which would look something like this? /run/current-system/sw/lib/perl5/site_perl/5.24.3
<symphorien> does the script modify itself ?
<infinee> sigh. take 2. first install attempt resulted in flashing cursor on reboot
<xok> symphorien: no...
<symphorien> then it can be read only
<ottidmes> gchristensen: thinking of a way to make the ultimate updater, I already have everthing in place to get the fetcher arguments and determine the hash automatically, but how to replace it for the new values, that is still the question
<xok> symphorien: yes, you are right, but I am not an author of the script and it would be pain to start re-writing it...
<gchristensen> ottidmes: ah
<xok> I am just trying to move the whole project in a standard DigitalOcean droplet with NixOps...
<gchristensen> ottidmes: fwiw, rnix's implementation is whitespace and comment preserving, ie: nix in -> rnix -> nix out is bit-perfect
<ottidmes> gchristensen: so now I can say nix-prefetch openraPackages.engines.bleed --rev master --output nix, and I would get the updated fetcher arguments with the rev replaced with master and a corresponding sha256
<symphorien> then package it properly, and copy it before using it to the directory you want
<symphorien> this way it will be in the right directory AND you benefit of the magic of stdenv
<ottidmes> gchristensen: so the GET part I have figured out, but the SET part needs some thought, I will checkout rnix, thanks!
<gchristensen> yeah, I'd recommend manipulating the AST and just writing the file back out
<gchristensen> ,jdwhat
<{^_^}> "Did you mean jDwhat?"
<gchristensen> ,jDwhat
<{^_^}> jD91mZM2
worldofpeace has joined #nixos
<gchristensen> ,jdwhat = jD91mZM2
<{^_^}> jdwhat redefined, was defined as "Did you mean jDwhat?"
<gchristensen> ottidmes: https://gitlab.com/jD91mZM2/rnix fwiw
<bryan1_> gchristensen: How much diskspace do you think I need?
<bryan1_> (to run all these tests)
<gchristensen> bryan1_: ehhh it was a lot... heh, you need enough to store the vagrant disk images for each of those images
sanscoeur has quit [Remote host closed the connection]
<gchristensen> like 40-50gb if you run them all in one go?
<bryan1_> ok
<bryan1_> won't run it on my laptop then
<gchristensen> if you need it, I can get you a big server to test with
<bryan1_> i'll let you know
<gchristensen> great
worldofpeace has quit [Remote host closed the connection]
markus1189 has joined #nixos
Denommus has joined #nixos
ubert has joined #nixos
<bryan1_> gchristensen: before I start looking how do I run individual tests?
<gchristensen> https://github.com/grahamc/nix-install-matrix/#running-tests I think these are up to date instructions :)
<bryan1_> sorry, i totally missed this
<gchristensen> no worries!
babic has quit [Quit: Leaving]
nefix has joined #nixos
<xok> how do I list methods and commands in nixops (or nixos)?...
<nefix> Hey there. I'm trying to follow this guide: https://nixos.wiki/wiki/Vim, but I can't add a custom Vim plugin. I'm stuck at the part I'm supposed to run `nix-shell -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix"`, and returns the following: `error: attribute 'pluginnames2nix' missing, at (string):1:94`
orivej has quit [Ping timeout: 268 seconds]
<nefix> Thanks in advance!
<xok> for example ${lib.getVersion perl} for example?..
<xok> how do I check what other methods does ${lib} support?..
<symphorien> for the content of lib: nix repl "<nixpkgs>"
erasmas has joined #nixos
<symphorien> type lib. then tab
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xok> symphorien: is that answer for me?..
drakonis has joined #nixos
<symphorien> xok: yes
nschoe has joined #nixos
<nefix> symphorien: Thanks! I find the NixOS wiki often misleading and confusing :(
<xok> symphorien: on the command it doesn't show anything interesting when I type "lib" and then hit TAB...
<symphorien> tap tab twice
<gchristensen> nefix: please do help!
<gchristensen> nefix: #nixos-wiki is has several very dedicated volunteers working to improve it
<symphorien> nefix: improving the wiki is a github account away
<xok> symphorien: libnetcfg is the only thing that gets filled...
<nefix> I see, I'm going to see if I can do something about it!
<nefix> Basically the learning curve is insane
<symphorien> xok: nix-repl> lib.<tab><tab>
<symphorien> Display all 357 possibilities? (y or n)
<symphorien> works for me™
<nefix> There are almost no examples and I find myself often scrolling and scrolling through the nixpkgs repository
<gchristensen> search.nix.gsc.io is a nice way to find examples of things -- searching around for uses
<nefix> For example, I want to have the desktop client for Riot. There's the riot-web package already, but it just copies the sources
shibboleth has joined #nixos
<nefix> But I can't see how should I make a derivation and do that by myself
worldofpeace has joined #nixos
<nefix> Also, where should I store my custom derivations, updates and all that stuff?
<xok> symphorien: I didn't have "nix-repl" installed, I've installed it but it still doesn't show anything...
<symphorien> xok: are you running nix 1 ?
<xok> yes..
<symphorien> nefix: riot web is the collection of static files to serve to obtain a copy of the riot.im webapp, not a desktop client afaik
<xok> oh, I am sorry, it seems I am running nix 2.*
<xok> nix (Nix) 2.0.4
<fendor> someone experience with the program ipe? I try to add the style `ucs.sty` for a presentation
<symphorien> then use nix repl instead of nix-repl
<symphorien> nix-repl is unmaintained and breaks on recent nixpkgs
<xok> symphorien: still nothing... :-|
<xok> honestly... :D
<symphorien> then update your nix ? current version is 2.2
<symphorien> nefix: ohhhh. packaging electron apps with nix is a pain. I would advise trying alternatives before.
<nefix> symphorien: the only alternative is running it through a browser :/
<tilpner> Though I run Riot in a chromium --app instance, because the above got annoying
<nefix> symphorien: so I added the plugin I'm trying to add to the vim names and run update.py, what I'm supposed to do next? (The nixpkgs repository is just clonned, no idea how am I supposed to "import" it to my system
<tilpner> (E.g. chromium --app=https://riot.im/app)
alex``` has quit [Ping timeout: 246 seconds]
<symphorien> ,unstable
<nefix> tilpner: why is it a pain?
<symphorien> nefix: ^ do like this, but replace <unstable> by /path/to/my/clone
<nefix> And if I am already in unstable?
dermetfan has quit [Ping timeout: 250 seconds]
<nefix> Nothing
<symphorien> nefix: https://nixos.org/nixos/packages.html#quaternion+matrix << does this work ?
<tilpner> nefix: I had to keep updating the pinned source, and it broke. Riot can't function without a browser or internet anyway, so might as well use chromium
<nefix> where do you all store your repository? It feels weird that the whole system is going to use my user path for getting packages
<tilpner> /cfg
<symphorien> nefix: well the gist is instead of using pkgs.vimPlugins.foo use (import /path/to/clone {}).vimPlugins.foo
<lassulus> if I run `systemd-run --pty --property=DynamicUser=yes curl example.com` I get `curl: (27) Out of memory` without DynamicUser it works, any idea how to fix this? it seems to be nixos specific and works on archlinux
<nefix> Hmmm
<nefix> symphorien: I like your approach
lawlesseel has quit [Quit: Leaving]
<tilpner> lassulus: Works here
<lassulus> huh
lawlesseel has joined #nixos
<lassulus> stabe or unstable?
<tilpner> unstable
<nefix> As for the Matrix client, I like how Riot looks. Could you add a .desktop entry for the chromium thing?
<tilpner> Sure you could
<nefix> How could*
<nefix> :)
<adisbladis> lassulus: Works for me
<tilpner> nefix: makeDesktopItem { name = "riot"; desktopName = "Riot"; exec = "${chromium}/bin/chromium --app=https://riot.im/app"; }
<tilpner> nefix: Add that to your users.users.nefix.packages
<tilpner> (That's a guess, I haven't used desktop items in years)
Jetien has quit [Quit: "thank you #haskell"]
<nefix> tilpner: it's for rofi
* tilpner just clutters PATH c.c
<infinisil> I wish I could have a PATH with only the things I actually use
<tilpner> Well, you can
<lucus16> On a fresh multi user macos nix install:
<lucus16> error: unexpected end-of-file
<lucus16> $ nix-shell -p nix-info --run "nix-info -m"
<infinisil> tilpner: In a simple way?
<tilpner> nefix: You may want to also pass --user-data-dir, I've been meaning to do that
<tilpner> infinisil: What's your usecase?
<lucus16> I can't tell what file it's reading, though I'm guessing it might be the socket with the nix-daemon
<tilpner> lucus16: strace is the tool you need to answer "what file is it reading"
<nefix> So where am I supposed to add it? I tried to add the declaration in "let ...... in" but it's complaining about makeDesktopItem not being found and inside the array it's not working neither
<nefix> tilpner: ^
<tilpner> strace -vfefile nix-shell ...
<infinisil> tilpner: Well I'm using rofi to start executables, having a million binaries on the path gets me a lot of search results when typing
<lucus16> tilpner: Indeed, but strace does not work on macos and its macos equivalent is somehow disabled as well
<tilpner> lucus16: Right, macOS, sorry
<tilpner> nefix: Either change that to be pkgs.makeDesktopItem and pkgs.chromium, or do with pgks; in front of it
<lucus16> It doesn't seem to be an issue when I run nix-shell as root
<nefix> error: The option value `home.packages.[definition 9-entry 7]' in `/home/nefix/.config/nixpkgs/home.nix' is not of type `package'.
<nefix> I hope there's noone named error
<lucus16> I noticed the directory .nix-profile points to doesn't exist, but I'm not sure if that is cause or result
<tilpner> infinisil: You could launch rofi with PATH=${makeBinPath thingsYouCareAbout}, and hope rofi doesn't need to call anything
<infinisil> tilpner: That will still include all binaries from those packages
<infinisil> Lots of packages have a couple binaries out of which you really only use one
<tilpner> So you want to specify somewhere which binaries you care about? That sounds quite tedious
<tilpner> You could of course build a directory of symlinks, put that into an empty PATH, and hope for the best
<tilpner> But after all that effort, you probably won nothing over makeDesktopItems
<tilpner> nefix: You'll have to paste whatever you tried, I'm not going to guess what you typed
<tilpner> ,paste nefix
<{^_^}> nefix: 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.
<infinisil> Yeah, it would be possible but tedious
<tilpner> I don't see a way around having to specify which binaries are important and which aren't
<infinisil> Maybe in the future all packages could declare their "main" binaries, and you could build a PATH from that
<nefix> home.packages = with pkgs; [ makeDesktopItem {
<nefix> great
<nefix> home.packages = with pkgs; [ makeDesktopItem { name = "Riot"; exec = "${pkgs.chromium}/bin/chromium --app=https://riot.im/app"; }
shibboleth has quit [Quit: shibboleth]
alex``` has joined #nixos
<nefix> tilpner: ^
<tilpner> with pkgs; [ ( ... ) ];
<nefix> Oh
<tilpner> makeDesktopItem is a function, but right now it's putting that function into a list instead of applying it
<tilpner> The function and its arguments aren't packages, thus the error message
<nefix> tilpner: thanks :D
fusion809 has quit [Remote host closed the connection]
<nefix> tilpner: > You may want to also pass --user-data-dir, I've been meaning to do that < what did you mean?
lunik1 has quit [Quit: WeeChat 2.3]
<tilpner> Right now, your wrapper shares state with all other chromium instances
<tilpner> Which might not be what you want
<nefix> I see
knupfer has quit [Ping timeout: 264 seconds]
fusion809 has joined #nixos
<tilpner> E.g. you'll be logged in on any other chromium instance you start, if you logged into Riot on this --app instance
mekeor has quit [Ping timeout: 245 seconds]
<tilpner> But if you pass --user-data-dir $HOME/.local/web-wrappers/riot, that won't happen
<nefix> like running chromium in a separated container?
<tilpner> No, it's just telling chromium where to find its session data
<nefix> I see
<nefix> Thanks
ubert has quit [Quit: Leaving]
nschoe has quit [Quit: Program. Terminated.]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed commit from @memberbetty to release-18.09 « aws-google-auth: use python3 (#52445) »: https://git.io/fhVER
Tucky has quit [Quit: WeeChat 2.2]
rauno has joined #nixos
<bryan1_> gchristensen: Is there a place to add assertions? I've added an image and just wondering if I should be greping for some expected output somewhere
<ottidmes> gchristensen: I verified that I got all I need to make an automatic nix-update-fetch (i.e. update a call make to a fetcher) work, all I need to figure out is to make rnix work, I got the position of the attribute name in a file, now I just need rnix to replace its corresponding value, seems easy enough considering the span info is available, its just I never really used Rust, do you have per chance an example
<ottidmes> of a simple Nix package that uses rnix, or would rustPlatform.buildRustPackage with a src of ./. just work to test this?
<bryan1_> ty
squidpickles has quit [Quit: squidpickles]
<gchristensen> bryan1_: what do you want to assert?
nschoe has joined #nixos
erictapen has joined #nixos
<bryan1_> gchristensen: I want to assert that the multi-user installer fails
<gchristensen> oh, you can't really assert that
<nefix> So, going back to adding my custom vim plugin, how can I run automatically the hook? (Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }})
<bryan1_> gchristensen: so here's the thing. I want to make sure that the PR i've created doesn't break anything.. So 1. should I make a release and update the matrix script to install from it? Or should I tweak the preinstall on the image to pull from my branch?
worldofpeace has quit [Remote host closed the connection]
<bryan1_> I know that setting umask to 027 (for example) will cause the multi-user installer to fail..
mekeor has joined #nixos
<bryan1_> but I don't knwo if the sed command is universal on all flavours of nix/bsd
<gchristensen> bryan1_: make a release and update the matrix script to install from it. ie: change these: https://github.com/grahamc/nix-install-matrix/blob/main/matrix.nix#L2-L41
mtesseract has joined #nixos
kim0 has joined #nixos
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has quit [Ping timeout: 268 seconds]
squidpickles has joined #nixos
<symphorien> nefix: nix based vim plugins are meant to be used with vimConfigurable.customise or by generating your vimrc with nix
<symphorien> this is arguably somewhat cumbersome
mekeor has quit [Remote host closed the connection]
<nefix> symphorien: what do you mean? It's a hook that needs to be run in order to be completly installed
ixxie has joined #nixos
<symphorien> huh ?
<symphorien> what does it do ?
<Ankhers> gchristensen: Has anything happened with your TAGS scheduler idea?
<{^_^}> [nixpkgs] @andir opened pull request #54504 → WIP: firefox 65 → https://git.io/fhVgO
<gchristensen> Ankhers: I wrote a bit of erlang, and a bit of c++, and have since not done anything
<Ankhers> gchristensen: Is it something you and other are still wanting to move ahead with?
<nefix> symphorien: I guess it downloads a binary required to run
<nefix> symphorien: https://github.com/iamcco/markdown-preview.nvim <- this is the plugin
<gchristensen> Ankhers: I do want to move ahead with it, preferrably in C++ inside of Nix or inside of Hydra
<Ankhers> gchristensen: Straight C++? No more Erlang?
<gchristensen> Ankhers: yeah -- it'd be much better to implement it directly in Nix, otherwise a lot of weirdness has to be implemented (like pretending a build is still going while it is actually restarted)
squidpickles has quit [Quit: squidpickles]
<gchristensen> Ankhers: but, it doesn't have to be :)
<symphorien> nefix: the lazy solution is that it is idempotent so run this function all the time in your vimrc
nschoe has quit [Ping timeout: 250 seconds]
<nefix> I can't, since it tries to modify the store
<nefix> symphorien: ^
<symphorien> then you must make a derivation for their binary thing (or even compile it from source) and then patch all usage of their bundle in the plugin
<symphorien> to replace the path by the store path of the bundle
<Ankhers> gchristensen: Gotcha. Well, I haven't written C++ in a few years. But let me know if you want help. I'll try and do what I can.
<{^_^}> [nixpkgs] @andir pushed 54 commits to staging-18.09: https://git.io/fhV2t
fuwa has quit [Ping timeout: 240 seconds]
<symphorien> nefix: Here is a work in progress example: https://github.com/NixOS/nixpkgs/commit/17d7154edb2c884ebb550a2a0b5b4ff99e41a58e
<nefix> symphorien: I haven't understood a word of what you just said
<symphorien> this plugin uses a python script which has dependencies
<symphorien> I package the script as a standalone executable
<symphorien> then patch the plugin to use my standalone version of the executable rather than their non-functional sript
<nefix> Hmmm
fuwa has joined #nixos
<nefix> Let's see if I can make it work
<bryan1_> gchristensen: `./result` takes an argument which isn't mentioned in the docs.. can i use any ol'path?
<gchristensen> uhh I suspect the path is where to write the results to
<gchristensen> and eah
<{^_^}> [nixpkgs] @danbst closed pull request #53560 → yubioath-desktop: Fix the desktop icon → https://git.io/fhGL8
Ariakenom has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
tilpner has quit [Ping timeout: 244 seconds]
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
fuwa has quit [Remote host closed the connection]
fuwa has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/20343f0ab47 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<leotaku> does anyone here know how to have a systemd timer run at two specific clocktimes in a NixOS configuration? The normal way to do this seems to be multiple OnCalendar entries, but I'm afraid NixOS does not support that.
sanscoeu_ has joined #nixos
Judson has joined #nixos
Judson is now known as Guest48960
<{^_^}> [nixpkgs] @danbst merged pull request #53501 → doc: don't overwrite makeFlagsArray in the example → https://git.io/fhsnb
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/fhVaZ
<{^_^}> [nixpkgs] @primeos merged pull request #54461 → scons: 3.0.3 -> 3.0.4 → https://git.io/fhgAX
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fhVac
dermetfan has joined #nixos
sanscoeur has quit [Ping timeout: 246 seconds]
xok has quit [Quit: Leaving.]
fuwa has quit [Quit: leaving]
pareidolia has quit [Remote host closed the connection]
<infinisil> leotaku: Try setting a list
<infinisil> of all value you want to set
<infinisil> I think it handles that correctly
pareidolia has joined #nixos
<leotaku> infinisil: no I have tried that and got a type error
<{^_^}> [nixpkgs] @andir opened pull request #54505 → WIP: [18.09] firefox 65 → https://git.io/fhVVT
dmc has quit [Quit: WeeChat 2.3]
<infinisil> leotaku: What's the error?
<infinisil> The standard "is not of type" one?
johnw has quit [Remote host closed the connection]
dmc has joined #nixos
<leotaku> infinisil: yes
sigmundv_ has quit [Ping timeout: 272 seconds]
pareidolia has quit [Client Quit]
<infinisil> Can you gist the relevant nix file(s)?
<infinisil> I'll try it out myself actually
ixxie has quit [Ping timeout: 245 seconds]
squidpickles has joined #nixos
<leotaku> infinisil: Oh I think I have found the problem: I am not using the "systemd.timers" configuration but the restic backup service, which claims to pass the timers to "systemd.timers" but sets the type to "attrsOf str".
<infinisil> Yeah the list thing I said works
<infinisil> for systemd timers
nikola_ has joined #nixos
nikola_i has quit [Ping timeout: 240 seconds]
squidpickles_ has joined #nixos
<leotaku> infinisil: So what do? Should I create an issue pull request for this problem?
squidpickles has quit [Ping timeout: 244 seconds]
squidpickles_ is now known as squidpickles
<leotaku> Because this seems to be unwanted behavior.
<infinisil> Yeah a PR would be appreciated
* infinisil checks how to get the proper type
reinhardt has joined #nixos
reinhardt has quit [Client Quit]
<infinisil> leotaku: (options.systemd.timers.type.getSubOptions ["services" "restic" "backups" "<name>" ]).timerConfig.type
<rycee> ivegotasthma: No, Home Manager cannot do copies of directories or files through the `home.file` option. You can use `home.activation` to insert a script that will do it for you, though.
nefix_ has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #53436 → nix-universal-prefetch: init at 0.2.0 → https://git.io/fh3cP
<{^_^}> [nixpkgs] @danbst pushed commit from @samueldr to master « nix-universal-prefetch: init at 0.2.0 (#53436) »: https://git.io/fhVwP
<infinisil> leotaku: That can be the option of timerConfig for restic, I think
ixxie has joined #nixos
nefix has quit [Ping timeout: 256 seconds]
<rycee> ivegotasthma: Something like https://is.gd/Bttv2F but with the copy command you want to run.
fuzzy-id has quit [Ping timeout: 250 seconds]
<leotaku> infinisil: Im in the process of trying it.
asymmetric has quit [Ping timeout: 240 seconds]
ixxie has quit [Client Quit]
<ivegotasthma> rycee: thanks!
freeman42x has joined #nixos
<ivegotasthma> In nixos, is it possible to rename a user defined in my configuration.nix? https://dpaste.de/dFxO/raw I want to rename "asthma" to something else.
<rycee> ivegotasthma: Instead of `dag.entryAfter` you may have to use `config.lib.dag.entryAfter`.
dmc has quit [Ping timeout: 240 seconds]
nikola_ has quit [Quit: Leaving]
<bryan1_> gchristensen: when I built a release from my PR, I replaced the `pre = ` line in `matrix.nix` w/the path of the release, added a new image w/umask 027 then ran `/bin/bash tests.sh`. I know I skipped some steps here but I do have a `nix-test-matrix-log(.tar)`. So now what do I do?
<fresheyeball> I am having a deployment fail because logrotate is looking for a file that is not yet created
<fresheyeball> can I make it wait?
<bryan1_> the age old question
<infinisil> fresheyeball: You could use systemd tmpfiles to make sure it exists
<mdash> ivegotasthma: if the uid stays the same yes
<fresheyeball> infinisil: I don't know this?!
<ivegotasthma> mdash: thanks
<symphorien> fresheyeball: logrotate certainly has an option to ignore missing filea
<infinisil> fresheyeball: I mean, I don't know much about logrotate, but if all you need is an empty file, systemd.tmpfiles is a good way to make sure it exists. Search through nixpkgs to find examples of how to use it
<symphorien> *files
<leotaku> infinisil: I have confirmed that your suggestion actually works.
dmc has joined #nixos
<leotaku> Are there any special shenanigans one has to go through in order to submit a nixpkgs pull request.
<samueldr> leotaku: having a github account, maybe some reading
<samueldr> and even then, contributions can be made without a github account :)
nikola_i has joined #nixos
<fresheyeball> infinisil: I am more asking the general question
<fresheyeball> can I append to `after` somehow?
<fresheyeball> I think if I can add `after = [ "mything.server" ]; `
<fresheyeball> that should do it
hellrazor has quit [Quit: WeeChat 2.3]
<infinisil> leotaku: Btw, getSubOptions isn't really used in nixpkgs at all. An alternative and arguably better solution would be to use `types.attrsOf unitOption` where unitOption comes from https://github.com/NixOS/nixpkgs/blob/6418e349/nixos/modules/system/boot/systemd-unit-options.nix#L18
<leotaku> samueldr: How should I "test" updates to a service?
<infinisil> leotaku: A way to do this would be to import the file like this: https://github.com/NixOS/nixpkgs/blob/6418e349/nixos/modules/system/boot/systemd.nix#L5
<samueldr> adding a test isn't required, but sure is a good addition
<infinisil> fresheyeball: Should work yeah, systemd.services.logrotate.after = ...
jonreeve has joined #nixos
<jonreeve> Is anyone else unable to update for the past few days? Here are the errors I've been getting. Not sure really what package is failing, or how to solve this. ttps://hastebin.com/obociwamiv.coffeescript
<infinisil> jonreeve: Seems that a patch we used for gpgme disappeared
<infinisil> But why is it not fetched from the cache I wonder..
<infinisil> Works for me on master
<infinisil> gpgme is from the cache
<jonreeve> Hm strange. I'm on unstable. I guess I probably need gpgme—is there a way I can get this working?
orivej has joined #nixos
<leotaku> infinisil: May I ask how to best import unitOption? Is using the relative path the only way or are there "cleverer" things one could do?
<infinisil> I don't think there's a better way than a relative path
<sphalerite> jonreeve: it's rather odd that it's trying to build your system from source at all
<sphalerite> jonreeve: did you deliberately disable the official binary cache?
<nikola_i> hello i am following this guide for setting up a custom keyboard https://nixos.wiki/wiki/Keyboard_Layout_Customization. But even loading the modified layout manually doesnt work. I have KDE plasma 5. Here's configuration.nix https://pastebin.com/AUwp8X0z and here's the modified keymap https://pastebin.com/butHwxfU
<sphalerite> nikola_i: how is it not working? Just no change at all?
Guanin has quit [Ping timeout: 240 seconds]
<nikola_i> no listing of modified keyboard in KDE's Keyboard Hardware and Layout settings
nefix_ has quit [Quit: Page closed]
<sphalerite> nikola_i: you'd probably need to put it in the xkb dir for kde to detect it
<nikola_i> i cannot put it is /etc/X11/xkb/symbols as it is RO directory. so i added a variable in configuration.nix and placed the keymap in .config/xkb/
<nikola_i> here's my configuration.nix https://pastebin.com/AUwp8X0z
<sphalerite> nikola_i: yeah you'd put it in the xkb dir using services.xserver.xkbDir
<sphalerite> although you'll want to be careful, Ithink you might deactivate all the standard keyboard layouts with that
<nikola_i> sphalerite: yea changing the xkb dir looks non trivial process to me. is there any other way to include just the new keymap to the existing xkb directory
<nikola_i> or somehow use it from a different directory
<jonreeve> spalerite: I don't *think* so. Is there a way to check?
<jasongrossman> You've tried services.xserver.exportConfiguration ?
<{^_^}> [nixpkgs] @Mic92 merged pull request #53818 → update most packages I maintain → https://git.io/fhnmJ
<{^_^}> [nixpkgs] @Mic92 pushed 11 commits to master: https://git.io/fhV60
<ottidmes> how can I use rustPlatform.buildRustCrate with nightly?
<jonreeve> spalerite: I do try to add caches for HIE here on lines 29 and 30: https://hastebin.com/vicapojupi.bash (my configuration.nix)
<jonreeve> ^ sphalerite
<Dedalo> clever: what if I want to include just this config part instead of the whole hardware nix profile for my laptop? https://github.com/NixOS/nixos-hardware/blob/master/common/pc/laptop/cpu-throttling-bug.nix
Guest78 has joined #nixos
tilpner has joined #nixos
<clever> Dedalo: add just that file to your imports list
<jonreeve> sphalerite: Sorry, spelling your username wrong above, might not have notified you
<Guest78> question on fetchgit...i'm getting permission denied on a fetch from a private bitbucket repo. I can see that it's reading my ~/.ssh/config file because it throws a "gssapiauthentication unknown" error, but it doesn't seem to respect the IdentityFile i've configured
<Guest78> is there something that nix-build is doing to prevent it from using the IdentityFile I've configured in that file?
<rain1> How do I get Data.Vector for ghc? I tried nix-env -f "<nixpkgs>" -iA haskellPackages.vector but it didn't do it
<nikola_i> jasongrossman: if enable services.xserver.exportConfiguration do i need to run nixos-rebuild for it to take effect?
<jasongrossman> nixos-rebuild switch, or something similar, yes.
<jasongrossman> I mean sudo nixos-rebuild switch.
erictapen has quit [Ping timeout: 240 seconds]
<tilpner> ,library rain1
<{^_^}> rain1: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
dermetfan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bachp opened pull request #54508 → WIP: Overlayfs test → https://git.io/fhViu
<nikola_i> jasongrossman: i have that option enabled already. if i run nixos-rebuild a whole lot of new packages will start getting downloaded. i haven't updated my system for a while. is there a way to load and test the new keymap manually? i tried `xkbcomp filename $DISPLAY`
<jasongrossman> nikola_i: You know that upgrades won't be downloaded unless you specify --upgrade, right? So I'm not sure that you will be downloading much, unless you've added new packages to your configuration. Anyway, if you can't rebuild frequently then you're not going to enjoy using NixOS, I'm afraid, because that's how you reconfigure things.
<tilpner> You can query without rebuilding everything
<tilpner> But it won't be in /etc
oskar has joined #nixos
nikola_i has quit [Remote host closed the connection]
nikola_i has joined #nixos
<oskar> newbie question: Im trying to install docker 18.09.1; looking at this file https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/docker/default.nix Imguessing all I need to do is update the revisions and checksums at the end; but how do I do that with overrideAttrs?
<Dedalo> clever: how can I do that? Right now I'm using `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>`. Do I need to download the file locally, using a relative path, or I can use the file url? Which is the right syntax?
Guest78 has quit [Remote host closed the connection]
<tilpner> oskar: I don't see it either. Usually there are tricks, but someone carefully guarded this function against all overrides :/
<clever> Dedalo: if you have a channel called nixos-hardware, then you can use <nixos-hardware/common/pc/laptop/cpu-throttling-bug.nix>
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1083 → AWS.S3: Implement s3 bucket lifecycle configuration → https://git.io/fhahi
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fhVPM
<oskar> what are my options? is that file on my computer somewhere so I can edit it?
<tilpner> oskar: Best option I can give you is inherit (callPackage (path + /pkgs/applications/virtualization/docker) {}) dockerGen; and then call it yourself as planned
<tilpner> (with pkgs;)
<{^_^}> [nixops] @AmineChikhaoui pushed to master « minor style fixes »: https://git.io/fhVXt
<Dedalo> clever: thanks
<oskar> ok, will see if I can figure that out. thanks tilpner
oskar has quit [Quit: Page closed]
yayforj has joined #nixos
<tilpner> > > let inherit (pkgs.callPackage (pkgs.path + /pkgs/applications/virtualization/docker) {}) dockerGen; in dockerGen # oskar
<{^_^}> error: syntax error, unexpected '>', at (string):215:1
<tilpner> > let inherit (pkgs.callPackage (pkgs.path + /pkgs/applications/virtualization/docker) {}) dockerGen; in dockerGen # oskar
<{^_^}> <LAMBDA>
<clever> tilpner: /pkgs/applications is an abolute path, starting at /, the root dir
<clever> tilpner: you want to quote that part of the path
<tilpner> > pkgs.path + /pkgs/applications/virtualization/docker
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/virtualization/docker
<gchristensen> ,locate column
<{^_^}> Found in packages: motif, quilt, kibana5, kanboard, liquibase, utillinux, kibana-oss, libuuid.bin, utillinux.bin
<gchristensen> :/ utillinux on darwin doesn't have column
<yayforj> how do i get a shell of an already built derivation?
<tilpner> clever: I've been using absolute paths all the time, they work fine
<clever> tilpner: thats an absolute path to a file that doesnt exist, which is then blindly being turned into a string, and concat'd on
<mdash> yayforj: "shell of"?
<tilpner> And why's that bad?
<yayforj> so i have shell.nix
<clever> tilpner: it may throw an exception in the future, when paths to non-existant files become an error
<mdash> yayforj: 'nix-shell -A' will give you a build environment, 'nix-shell -p' will give you a shell with named packages in the environment
<yayforj> and i did `nix-instantiate shell.nix --indirect --add-root $DIR/.nix-gc-roots/shell.drv ...`
<yayforj> on it
<mdash> yayforj: ah right
<yayforj> now it's in /nix/store
sanscoeu_ has quit [Remote host closed the connection]
<gchristensen> nix-shell /nix/store/the.drv
<yayforj> buit when i do `nix-shell ....` it makes an new one
<tilpner> clever: I don't know how I feel about writing Nix *that* defensively, taking into account future potential language changes
<gchristensen> a new what
sanscoeur has joined #nixos
<clever> tilpner: and it just feels wrong :P
<yayforj> /nix/store/blabla_a-new-shell.nix
<yayforj> /nix/store/blabla_a-new-shell.drv
<gchristensen> not sure where the .nix version is coming from
<tilpner> clever: Is there any talk about enforcing path existence? I don't think it looks wrong. Paths exists independent of a given filesystem
<yayforj> .nix was a typo
<yayforj> sry
<yayforj> only .drv
<gchristensen> it won't make a new one if it is already in the store
<clever> > "${/pkgs}"
<{^_^}> access to path '/pkgs' is forbidden in restricted mode
<__monty__> tilpner: The existence of a file possibly breaking an expressions sounds like a bad idea.
<yayforj> but it does
<clever> > "${./doesntexist}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/doesntexist' is forbidden in restricted mode
<gchristensen> yayforj: then it should be identical contents
<yayforj> mb because directory is changing or something
<tilpner> __monty__: It doesn't matter if the file exists, the filesystem is never checked against this path
<yayforj> but reguardless, can i somehow use the .drv that's already in store?
<clever> yayforj: run nix-shell on the .drv file
<gchristensen> nix-shell /nix/store/the-exact.drv will do that. it can't make a new one, because it doesn't know how to make it
<gchristensen> and if you think it is doing something else, can you provide a copy of your shell session?
<{^_^}> [nixpkgs] @dylex opened pull request #54511 → scons: update 3.0.4 hash → https://git.io/fhV1u
jomik has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @vcunat opened pull request #54512 → jemalloc nitpick: better semantics for stripPrefix → https://git.io/fhVMm
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c595242ca95 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<yayforj> clever: gchristensen: thanks, i don't even know why didn't think of that
yayforj has quit [Quit: WeeChat 2.2]
<gchristensen> I suggested that 30 minutes ago :X
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2a858b3f766 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @primeos pushed to master « scons.src: Update the hash (tarball was modified) »: https://git.io/fhVDB
<samrose> I have a rather simple nix expression test I am running. How can I specify not to also evaluate the 'jdk' package in this nix expression test I am running in hydra?
<sphalerite> primeos: that seems odd, did you check what's changed in the scons tarball?
jomik has quit [Quit: WeeChat 2.2]
<bryan1_> gchristensen: Does this look correct ` pre = "/nix/store/5q66f5vcd990ac9948ml027nn4k847vd-nix-2.3pre6621_92d08c0";` This is the path returned after running `$ nix-build release.nix -A build.x86_64-linux
<bryan1_> also, do you want me to send you the matrix.tar ?
<gchristensen> sure!
<gchristensen> bryan1_: I forget how exactly to do it :/ it is a bit tough because the system builds in a VM and won't have access to the tarball
<bryan1_> gchristensen: yes, it's not obvious.. i've been thinking how to improve the test script to assist w/this
eadwu has quit [Read error: Connection reset by peer]
<gchristensen> there is a directory in that project with a rust program. it'll take the output from the builds and create a report.html like I linked before
eadwu has joined #nixos
<bryan1_> gchristensen: if you have any ideas how to confirm that i'm *really* testing my changes that would be helpful..
<bryan1_> Okay.. i clobbered everrything and just restarted another test :(
<bryan1_> i wasn't sure if I was doing it correctly the first go
znc has joined #nixos
znc is now known as Guest88038
Denommus has quit [Read error: Connection reset by peer]
eadwu has quit [Read error: Connection reset by peer]
nikola_i has quit [Ping timeout: 250 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6418e349710 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<samrose> or maybe there is just a "don't evaluate this" method for pacakges?
eadwu has joined #nixos
<gchristensen> why not use jdk in hydra?
<bryan1_> gchristensen: ahh `pre = /path/to/release` failed https://pastebin.com/uuZeE6F0
<samrose> gchristensen: for aarch64 it is 'unfree' and so nix refuses to evaluate
<samrose> gchristensen: plus for my purposes, there is nothing running on the OS that will require oraclejdk
<gchristensen> bryan1_: my best guess is I creating the distributable tarball and downloaded it
<gchristensen> samrose: what is your expression?
<samrose> gchristensen: currently it is like this https://gist.github.com/samrose/ebb80fe774f6b2f47ce0ea37d45615d4
<{^_^}> [nixpkgs] @Infinisil merged pull request #54310 → nixos/postgresqlBackup: add backupAll option → https://git.io/fhE9p
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhVyS
<LnL> bryan1_: what are trying to do exactly?
<gchristensen> samrose: jdk being unfree in hydra shouldn't cause your problems: hydra skips things which don't evaluate porperly
<samrose> gchristensen: yes indeed :) so it is skipping this test :-D
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<leotaku> In the nixpkgs pull request template, what does "Tested using sandboxing" mean? Does it mean that I have tried building/enabling the pkg/service with sandboxing, or that I have run some actual "tests" with sandboxing.
<gchristensen> samrose: look in the evaluation log and figure out why?
<samrose> gchristensen: ok, thanks for that suggestion
<bryan1_> LnL: try to get https://github.com/NixOS/nix/pull/2643 merged
<{^_^}> nix#2643 (by buecking, 1 day ago, open): install: Check for a valid umask before running multi-user installer.
<gchristensen> samrose: presumably it'll say "failed to evaluate X because <<jdk>> is unfree"
<gchristensen> LnL: bryan1_ is trying to run my nix install matrix since I can't do it right now :|
<samrose> gchristensen: yes actually I was just going to write that
<LnL> ah that
<samrose> gchristensen: it is indeed stating "Package ‘oraclejdk-8u191’ has an unfree license (‘unfree’), refusing to evaluate.'
fendor has quit [Ping timeout: 272 seconds]
nikola_i has joined #nixos
<samrose> gchristensen: so I am trying to think of either how to not care as you say (like in my expression I can tell it allow unfree which is fine I suppose) or to tell hydra in my expression not to evaluate this package
<bryan1_> gchristensen: which script do I run to build a tarball?:
averell has quit [Quit: .]
<clever> leotaku: as a random example, net-snmp will check for the existance of files in /etc/ to during ./configure, and bake the answer into the source
<bryan1_> ahh
<clever> leotaku: due to the nix sandbox, it tries to open "unknown" rather then "/etc/mtab"
<clever> and then all disk based operations fail
<LnL> bryan1_: I think you want binaryTarball.x86_64-linux (and friends)
<bryan1_> It looks like release should have built them..
<gchristensen> -A binaryTarball.x86_64-linux
averell has joined #nixos
<bryan1_> oh
<LnL> the release contains a bunch of builds, tarball (source), build (binaries), binaryTarball (tarball with installer?)
<leotaku> clever: That I already knew. But does "tested using sandboxing" simply mean that the pkg builds? What does "tested" mean in this context?
sanscoeu_ has joined #nixos
chessai has joined #nixos
<clever> leotaku: mostly that it builds in the sandbox and still works when ran
<leotaku> clever: ok, thanks
<clever> leotaku: some people file PR's that do network during the build
<leotaku> clever: Because they do not know any better? Or for valid reasons?
<clever> they just never turned on the sandbox, so they dont even notice the build being naughty
<LnL> bryan1_: just checked, that's the tarball with the installer scripts, etc.
<bryan1_> LnL: thanks for checking.. seems to be doing something w/o failure
<ottidmes> can a Rust package using Nighly be included into Nixpkgs, I mean would a PR for it ever be accepted? are there any pre existing examples of this?
<gchristensen> ottidmes: nightly isn't really available in nixpkgs
timor has joined #nixos
sanscoeur has quit [Ping timeout: 240 seconds]
<LnL> bryan1_: unpacking a tarball like that and running nix-2.2prexxx/install is what the installer script on nixos.org will do
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/749a3a0d00b (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<ottidmes> gchristensen: I was afraid of that, considering the need for the mozilla overlay, I tried to compile rnix, but it uses rowan, which in turn seems to require nightly
<symphorien> there is an escape hatch: export RUSTC_BOOTSTRAP=1 unlocks nightly power
<symphorien> unfortunately, stable is forked several months before the release, so you get an outdated and buggy nightly
<symphorien> so not all packages will accept to compile
<ottidmes> symphorien: ah, thank you, I knew about that flag actually, but I thought all it did was ignore some warnings, let me try
pepesza has quit [Ping timeout: 240 seconds]
<leotaku> So I've just created my first nixpkgs pull request. I'm unsure if it fits all of the requirements. Should I simply submit it and fix any potential problems later, or would that be bad form?
doyougnu has quit [Ping timeout: 240 seconds]
<samrose> gchristensen: I am going to see if there is some place in my hydra build input where I can specify allowUnfree = true
anderslundstedt has quit [Ping timeout: 240 seconds]
<tilpner> leotaku: Ask questions about things you suspect are wrong, and then just submit it
<clever> samrose: the point where release.nix somehow imports ../.. i think
pepesza has joined #nixos
random_yanek has quit [Ping timeout: 240 seconds]
<timor> When I try to rebuild my system config, libreoffice is being recompiled. When I install it via nix-env, it is not recompiled. I suspect that an overlay is responsible for that, and that some overridden dependency causes the rebuild. Is there a way to find out why libreoffice is being compiled?
<ottidmes> symphorien: it seems to fail on stable, but I guess it is OK, as long as it runs on nixos-unstable, I do not care if it takes for the next stable release to be working, but too never be able to merge it with Nixpkgs would make this project not worthwile, so I am going to check unstable now
<clever> timor: use nix-diff on the 2 .drv files to see how they differ
anderslundstedt has joined #nixos
<{^_^}> [nixpkgs] @LeOtaku opened pull request #54514 → nixos/restic: change type of timerConfig option → https://git.io/fhV9V
<clever> timor: also, libreoffice is broken on unstable, there is a chance you have a 2nd channel, and its just grabbing an older (still working) version
nikola_i has quit [Ping timeout: 268 seconds]
<samrose> clever: yes I think it happens here in the nixos release-combined https://github.com/NixOS/nixpkgs/blob/master/nixos/release-combined.nix#L140
<gchristensen> samrose: you can add an Input to the hydra jobset called nixpkgsArgs, with the type nix expression, with the value { inHydra = true; allowUnfree= true; }
<gchristensen> samrose: you can add an Input to the hydra jobset called nixpkgsArgs, with the type nix expression, with the value { config = { inHydra = true; allowUnfree= true; }; }
<timor> clever: regarding your second answer, do you mean that that nix-env is grabbing the older (still working) version?
<clever> timor: yeah
<timor> clever: thanks
<clever> timor: you can see if it is, by comparing the versions they are claiming to install, but thats not 100%
<bryan1_> what's `pre` called here `installUrls.pre` a record of installUrl?
<gchristensen> bryan1_: probably a mistake having committed it
<bryan1_> gchristensen: Sorry, I think pre means prelrease.. build I'm wondering what the nix names are for these branches of configs.. is nix a language or a config format?
<gchristensen> nix is a language
<bryan1_> s/build/but
<bryan1_> so installUrl.pre is a method on installUrl?
<gchristensen> ah
<ottidmes> symphorien++ I got it failing correctly on unstable, i.e. the errors I get now are due to the project being wrong, not the Rust compiler :)
<{^_^}> symphorien's karma got increased to 12
<gchristensen> bryan1_: ^ it is getting the value from the record by that name
<samrose> gchristensen: cool thanks I will try it
<bryan1_> ty
winem_ has joined #nixos
random_yanek has joined #nixos
<ottidmes> gchristensen: I experimented a bit wit the examples of rnix and the dependencies, but it just seems to fail for me when using rnix 0.5.0, because rnix itself has some incompatibilities with the version of rowan used it seems
<ottidmes> even tried using the master branch directly, since I copied the examples from master, but that too failed with the same 4 errors
<rain1> How do I list the files in a package?
<averell> anyone seeing wonky output from "uptime"?
hamishmack has joined #nixos
<Synthetica> rain1: just ls the folder in /nix/store
<gchristensen> averell: lgtm: 16:20:04 up 5 days 5:57, 1 user, load average: 0.35, 0.49, 0.47
<primeos> sphalerite: Yes I've checked it, in case you're interested: https://github.com/NixOS/nixpkgs/commit/32e7f391fc254444289564fa00a3ee436bc9e8e9#commitcomment-32042082
<rain1> the problem with ls /nix/store/*-ocaml-*/ is that i get multiple results, is there a way with the nix command line tools to list just for one package
<averell> hm. it tells me up 410 days, with a 4.19.17 kernel, and it's not the only box. weird.
<ottidmes> jD91mZM2: are you around? for rnix 0.5.0 I am getting error[E0599]: no method named `with_children` found for type `&rowan::SyntaxNode<parser::Types, R>` in the current scope in git/checkouts/rnix/src/types.rs:583:29
<tdeo> rain1: find "$(nix-build -A ocaml '<nixpkgs>')" works for me
<tilpner> averell: I don't know how uptime is tracked. If it's a counter, this shouldn't happen, but if it just saves a timestamp, broken system time might do it. Do you use ntp? Did you alter your time manually at some point?
<primeos> sphalerite: (It was actually a bit unfortunately as I've already expected that it might change with the official announcement but neither "nix-store -r --check $(nix-instantiate -A scons.src)" nor @GrahamcOfBorg did catch it)
<averell> hm, could be. it's showing correct time, but maybe someone did something on the host
<tilpner> averell: Also try sudo hwclock --show
johnw has joined #nixos
<tilpner> Is asking all people with access an option? c.c
mekeor has joined #nixos
MP2E has joined #nixos
pareidolia has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #54516 → unixtools.utillinux: add column → https://git.io/fhV7Y
mtesseract has joined #nixos
mtesseract has quit [Client Quit]
aramiscd has quit [Ping timeout: 240 seconds]
reilithion has joined #nixos
<samrose> gchristensen: that nixpkgsArgs { config = { inHydra = true; allowUnfree= true; }; } didn't work but I am still digging on it
<reilithion> Why is my machine listening for mDNS connections?
<mdash> reilithion: is avahi running?
<reilithion> mdash, No. And I have no mention of Avahi in my configuration.nix
<jasongrossman> reilithion: Is it a Macitosh? mDNS is built in deep to MacOS (at least in some versions - I've lost track of which ones).
<jasongrossman> * Macintosh
sanscoeu_ has quit [Remote host closed the connection]
<reilithion> jasongrossman: No. This is a normal PC running NixOS. `netstat -4 -6 -l` shows "udp6 0 0 [::]:mdns [::]:*"
<reilithion> (among other things)
<jasongrossman> Hm then.
sanscoeur has joined #nixos
<symphorien> reilithion: add -p to netstat to find the offending processs
fresheyeball has quit [Quit: WeeChat 2.2]
<reilithion> Oh, there we go.
<reilithion> symphorien: That solves that mystery. Thanks for the tip.
rprije has joined #nixos
<reilithion> It was Chromium.
<symphorien> oh
<laas> does nixos not mount /tmp as a tmpfs?
<gchristensen> not by default
<reilithion> laas: It's a configuration option you can enable in configuration.nix
<laas> ah
<laas> oh I see I can also just set it to clear it on boot
<laas> I think I'll do that considering my limited 8 GB of RAM
<laas> thanks!
mtesseract has joined #nixos
Lisanna1 has joined #nixos
Lisanna has quit [Ping timeout: 268 seconds]
Lisanna1 is now known as Lisanna
mtesseract has quit [Client Quit]
<reilithion> Are bootps and bootpc security risks on the open Internet?
<sphalerite> can anyone tell what went wrong on https://hydra.nixos.org/build/87713886/nixlog/1 ?
mtesseract has joined #nixos
mtesseract has quit [Client Quit]
<symphorien> sphalerite: "there is no package called 'Matrix'" ?
<sphalerite> FWIW it built just fine on my dad's laptop
<sphalerite> hm make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. also seems odd
fragamus has joined #nixos
<symphorien> it just means that the makefile is not parallel-enabled, it should have no incidence
tertl3 has joined #nixos
aramiscd has joined #nixos
mtesseract has joined #nixos
<rain1> How could I get this version of ocaml please?
<symphorien> ,unstable rain1
<rain1> it seems there was only ber_metaocaml ocaml ocaml_3_12_1 ocaml_4_02
<rain1> thanks
<rain1> https://bpaste.net/show/7f3b84d53c1f when I tab complete there are lots of new versions of ocaml but it doesn't have 4.07 - am i doing this correctly?
<symphorien> rain1: ah sorry, not even needed: ocamlPackages_latest.ocaml is 4.07
<rain1> oh okay! i'll try
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36948 → glibc: don't use bootstrap libgcc_s → https://git.io/vxTP8
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to staging: https://git.io/fhVFG
<rain1> how do you use ocamlPackages_latest? it doesn't seem to be a channel
<symphorien> pkgs.ocamlPackages_latest.ocaml
<rain1> ocamlPackages = pkgs.ocamlPackages_latest; I should put this in my nixos config?
<symphorien> what do you want to do ?
<symphorien> I tend to avoid compilers in my default PATH
<symphorien> instead, using nix-shells is often a good idea
<rain1> i want ocaml (ocamlrun) 4.07, i don't mind i have to use nix-shell or something
<symphorien> each time you would have used ocaml, use ocamlPackages_latest.ocaml
jackdk has joined #nixos
<rain1> i don't really know how to translate that into commands or anything
<symphorien> how have you installed ocaml before ?
<{^_^}> [nixpkgs] @bachp closed pull request #29713 → WIP: Docker runv (hypercontainer) → https://git.io/vdUzH
<rain1> nix-env -i ocaml
<symphorien> ah
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<symphorien> ,A rain1
<rain1> later i did nix-env -e ocaml to remove it
<symphorien> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
jasongrossman has joined #nixos
jasongrossman has quit [Remote host closed the connection]
jasongrossman has joined #nixos
<symphorien> so the "right" command is : nix-env -iA nixos.ocaml
<{^_^}> [nixpkgs] @Infinisil merged pull request #54279 → nixos/plex: allow access to hardware acceleration libraries → https://git.io/fhRMS
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhVFd
jasongro` has joined #nixos
Ariakenom has quit [Quit: Leaving]
jasongrossman has quit [Read error: Connection reset by peer]
jasongro` has quit [Read error: Connection reset by peer]
<symphorien> to have 4.07, replace ocaml by ocamlPackages_latest.ocaml
<reilithion> How secure is the default firewall setup? Do I need to do anything to harden my machine if I intend to give it a public IP?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #54350 → Support PowerPC in llvm → https://git.io/fhuWV
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhVFx
<Dedalo> How do I install JetBrains tools, like IntelliJ Idea, Pycharm, PhpStorm and Clyon? I have seen they are available here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/jetbrains/default.nix
orivej has quit [Ping timeout: 240 seconds]
<Dedalo> I think I found, should be idea.phpstorm
<Dedalo> or something like that
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simpson> reilithion: I think that it starts out secure, but then rapidly loses security as various network-facing services are enabled.
<simpson> You can probably follow the same practices that you've followed on other distros.
<reilithion> simpson: I've always been behind a NAT before. If I go forward, this'll be the first time I've administered a machine with a public IP. I'll still be behind an organizational firewall, but I'm unwilling to trust that blindly.
knupfer has joined #nixos
<simpson> reilithion: Well, the NAT probably did nothing for you before, in terms of firewall behaviors or security properties.
<simpson> So, again, follow whatever practices you've had before.
<simpson> Or ask your local networking professional.
<adisbladis> simpson: Well, with firewall enabled you need to open ports explicitly (the notable exception being ssh)
<adisbladis> simpson: As opposed to most other distros that come with no firewalling enabled (citation needed)
<simpson> adisbladis: To a degree? Linux ain't Windows and "block the ports" doesn't make sense as blanket advice.
<simpson> More importantly, there's no way that I know as much about reilithion's deployment as they do.
aramiscd has quit [Ping timeout: 268 seconds]
<timor> Is anyone here using spacemacs?
<ar1a> i use doom-emacs :P
<jackdk> I use GNU emacs :P
<adisbladis> Aren't most nixos peeps using emacs? :P
<adisbladis> simpson: My point was mostly that the NixOS default firewall setup is pretty restrictive and you should be pretty well off.
<adisbladis> reilithion: ^
<ar1a> adisbladis: we can only hope
<__monty__> adisbladis: That's what the disciples of the beast *want* you to think.
aramiscd has joined #nixos
kvda has joined #nixos
jasongrossman has joined #nixos
<reilithion> Hmm. Does the firewall have a way to open ports that a given trusted program listens on?
<adisbladis> reilithion: Some modules have options to open ports, but for most that's a manual thing: https://nixos.org/nixos/options.html#firewall
<ar1a> is there a way to get the firewall to allow a subnet? i want my LAN to be unrestricted
doyougnu has joined #nixos
<adisbladis> ar1a: You can always use networking.firewall.extraCommands
<adisbladis> But no convenient way
jonreeve has quit [Ping timeout: 245 seconds]
<ar1a> weechat
simukis has quit [Quit: simukis]
alex``` has quit [Read error: Connection reset by peer]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex``` has joined #nixos
knupfer has quit [Remote host closed the connection]
<rnhmjoj> is there an ada compiler in nixpkgs? gnat seems to have been remove
<Sophos[m]> TIL of the package which. Something kinda usefull when using a pure nix shell (nix-shell --pure). it was weird not having which. thought i broke something... :/
orivej has joined #nixos
sigmundv_ has joined #nixos
zukaboo has joined #nixos
<ar1a> Sophos[m]: the program that shows you where stuff is?
<Sophos[m]> yep
<ar1a> check out whereis too
<Sophos[m]> what's the difference from which?
<{^_^}> [nixpkgs] @Infinisil closed pull request #23590 → Introduce concept of NixOS support states → https://git.io/vyRwG
<Sophos[m]> i have not heard of whereis
<adisbladis> Sophos[m]: type is a good one too (and a bash builtin)
<makefu> or `command -v`
<Sophos[m]> wow, `type -a` that's really neat
<Sophos[m]> ar1a: what's this `whereis` command? it's not a builtin nor a nixpkg afaict
<ar1a> Sophos[m]: might be a zsh thing
<ar1a> it was already installed on my nixos and i never installed it
<clever> Sophos[m]: there is also which
<clever> some shells even alias which to something like 'alias | which --some-flag' to get type-like support, but at that point, just use type!
<ar1a> they just said 10 messages ago they just discovered which
<Sophos[m]> clever: which needs to be installed in a pure nix-shell environment. Learned that the hard way just now
<Sophos[m]> however, type is bash builtin and already available
<clever> Sophos[m]: yeah, i just use type for everything now
justanotheruser has quit [Quit: WeeChat 2.2]
<clever> Sophos[m]: the problem, is when you tell somebody to "type foo" and the literally type in "foo"
winem_ has quit [Ping timeout: 250 seconds]
<Sophos[m]> hahaha, that would be an issue...
winem_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53805 → synergy: fix compilation on macOS → https://git.io/fhnJS
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhVxZ
<{^_^}> [nixpkgs] @Infinisil closed pull request #28240 → Nixpkgs config: NIXPKGS_CONFIG -> <nixpkgs-config> → https://git.io/v7QII
<clever> Sophos[m]: another fun one, when sharing a screen via 'screen', "can you see this?" -> "yes" -> yyyyyyyyyyyyyyyyyyyyyyyyyyyyy.....
<ar1a> lmao
<clever> ar1a: which reminds me, one of the really old "smart" phones before modern ones, there was a root shell on tty1 that got all keyboard input, but the gui was controlling the display, so you never noticed
<clever> ar1a: until you send `rm -rf /` as a txt, and the phone bricks itself
<ar1a> wow. before my time :P
justanotheruser has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @primeos pushed to master « python37Packages.cryptography: Add meta-attributes »: https://git.io/fhVpe
<{^_^}> [nixpkgs] @Infinisil merged pull request #54411 → coreutils: fix tests failing on f2fs → https://git.io/fhzCA
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to staging: https://git.io/fhVpN
zukaboo has left #nixos ["No boundaries on the net!"]
<{^_^}> [nixpkgs] @Infinisil merged pull request #53986 → nixos/prometheus-dovecot-exporter: enhance `socketPath` documentation → https://git.io/fhC8h
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhVhm
<{^_^}> [nixpkgs] @Infinisil merged pull request #54512 → jemalloc nitpick: better semantics for stripPrefix → https://git.io/fhVMm
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhVh0
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54385 → lego: 1.2.1 -> 2.0.1 → https://git.io/fhu5L
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhVhV
tmaekawa has joined #nixos
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54410 → [18.09] mate updates and downgrades → https://git.io/fhzOP
<{^_^}> [nixpkgs] @Infinisil pushed 37 commits to release-18.09: https://git.io/fhVhA
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54132 → python37Packages.elasticsearch-dsl: 6.2.1 -> 6.3.1 → https://git.io/fhlpD
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhVjZ
<{^_^}> [nixpkgs] @veprbl opened pull request #54518 → texlive: fix latexindent runtime → https://git.io/fhVjW
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54366 → gocryptfs: 1.5 -> 1.6.1 → https://git.io/fhuzy
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhVjl
<{^_^}> [nixpkgs] @devhell opened pull request #54519 → nixos-generate-config: Include extraGroups "wheel" → https://git.io/fhVju
kitl_ has joined #nixos
<kitl_> This question may be very silly, but I've failed at googling my way to an answer: If I build a Haskell binary w/ nix, will I be able to run it on another computer that doesn't have nix?
<ar1a> yes, the only thing it links to is libc
<ar1a> iirc
<bgamari> kitl_, you'll likely want to produce a statically linked binary
<bgamari> nh2, ping
<nh2> bgamari: pong
<bgamari> nh2, I was playing around with your dwarf patch and noticed that it's apparently not possible to further override the dwarf package set
<nh2> kitl_: so if you use what I built there (instructions included), you can build a fully static binary, that doesn't depend on even libc, and it will run on pretty much any Linux
<bgamari> either that or I have missed something
<bgamari> e.g. haskell.packages.ghc861.dwarf.override doesn't take an `overrides` argument
eadwu has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54514 → nixos/restic: change type of timerConfig option → https://git.io/fhV9V
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhweT
<kitl_> bgamari, nh2, ar1a: Thank ye, thank ye! That looks promising, nh2. And I may as well just build something simple and move it between machines to see if it just works.
<nh2> bgamari: hmm, that doesn't sound good. Should I be using something other than `packages."${name}".override`?
<bgamari> that's a good question
<bgamari> I'm not yet sure how best to fix it
<{^_^}> [nixpkgs] @Infinisil merged pull request #54400 → arrow-cpp, pythonPackages.pyarrow: 0.11.0 -> 0.12.0 → https://git.io/fhzJl
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhwem
<nh2> bgamari: but what I do where you commented is the same as for the integerSimple package set, does that have the same problem?
<bgamari> I suspect so
<{^_^}> [nixpkgs] @Infinisil merged pull request #54360 → ispc: 1.9.2 -> 1.10.0 → https://git.io/fhu05
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhwec
reilithion has quit [Quit: Leaving]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54316 → msmtp: Configure sysconfdir to point to /etc → https://git.io/fhE7W
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhwel
<bgamari> admittedly I'm still quite rather lost when it comes to the finer points of overrides in nix
<bgamari> it may just be that I should instead be using extend
timor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danbst merged pull request #50239 → Add options to build disk image function → https://git.io/fpqvs
<{^_^}> [nixpkgs] @danbst pushed commit from @tathougies to master « Add options to build disk image function (#50239) »: https://git.io/fhweK
rgee has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #54520 → sherpa: 2.2.5 -> 2.2.6 → https://git.io/fhwei
shabius has quit [Ping timeout: 240 seconds]
shabius has joined #nixos
rgee has quit [Ping timeout: 256 seconds]
<ar1a> what's everyones favourite sans serif font? im looking for a replacement for dejavu - trying new stuff! :D
<nh2> bgamari: same here
<{^_^}> [nixpkgs] @Infinisil merged pull request #54356 → linux-steam-integration: 0.7.2 -> 0.7.3 → https://git.io/fhu0i
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhwvv
npmccallum has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #53796 → ejabberd: 18.06 -> 18.12.1 → https://git.io/fhZA2
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhwvG
doyougnu has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54516 → unixtools.utillinux: add column → https://git.io/fhV7Y
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhwvW