andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<lovesegfault> alright, this is where I'm at: https://github.com/lovesegfault/nix-config/blob/pinall/default.nix
<lovesegfault> jared-w: I tried doing `shellDeps = (import ./shell.nix).buildInputs` and adding that to `ci = []` and it worked
<lovesegfault> but now I get all this stuff as a `./result`
<benley> LnL: what I ended up doing: nix-shell -p cabal-install haskell.compiler.ghc883 git wget zlib --run "cabal update && cabal configure --enable-coverage && cabal build && cabal test"
<benley> LnL: and that'll end up in a shell.nix I suppose
<benley> so yeah, simple enough. Running that in the nixos/nix:2.3 docker base image, which has some of its own downsides
jonten has quit [Ping timeout: 258 seconds]
zeta_0 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
erasmas has quit [Ping timeout: 255 seconds]
maddo has quit [Quit: See ya]
raingloom has quit [Ping timeout: 272 seconds]
chagra has quit [Ping timeout: 255 seconds]
<bqv[m]> it's that time of the day again! would someone like to take care of this PR so i can go scream into a pillow in peace https://github.com/NixOS/nixpkgs/pull/80402
<{^_^}> #80402 (by bqv, 2 weeks ago, open): ripcord: init at 0.4.23
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 255 seconds]
mbrgm_ is now known as mbrgm
<lovesegfault> can I have a "noop" `mkDerivation`?
drakonis has quit [Ping timeout: 240 seconds]
<lovesegfault> like an mkDerivation that doesn't do anything, just propagates some inputs
<{^_^}> [nixpkgs] @marsam merged pull request #81798 → haproxy: 2.1.2 -> 2.1.3 → https://git.io/JvVCm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvVpg
abathur has quit [Read error: Connection reset by peer]
<bqv[m]> if it doesn't do anything, why do you need it?
exfalso_ has quit [Ping timeout: 255 seconds]
abathur has joined #nixos
<clever> lovesegfault: buildEnv
<clever> lovesegfault: what exactly are you trying to do?
blaggacao has quit [Ping timeout: 258 seconds]
<lovesegfault> clever: I have a shell.nix, and I want an attr in my `default.nix` that just has all the buildInputs in my shell.nix but doesn't actually do anything with them
<lovesegfault> i.e. I want a hack to `nix-build shell.nix`
blaggacao has joined #nixos
<infinisil> lovesegfault: This does that: https://paste.infinisil.com/sY8_0nQd70.nix
* lovesegfault squints
nixxy has joined #nixos
<lovesegfault> infinisil: I am very confused by that file :P
<lovesegfault> what's happening there?
<lovesegfault> Are you just overriding the builder?
CMCDragonkai_ has joined #nixos
<CMCDragonkai_> hi
<CMCDragonkai_> just wondering
<CMCDragonkai_> what would happen if you import 2 modules
<CMCDragonkai_> that both have the same name and same options?
<infinisil> lovesegfault: Basically: Creates a derivation that when built results in a result that depends on all build dependencies
<CMCDragonkai_> does the later one override the first one?
<lovesegfault> CMCDragonkai_: I think they get merged
<infinisil> lovesegfault: `env` contains the environment, therefore all strings of the dependencies. By writing that to $out it makes those dependencies runtime dependencies of the result
<lovesegfault> and if there are inconsistencies it complains
<CMCDragonkai_> but i actually want to use my own module
<CMCDragonkai_> like there's an existing module in nixos..., if i import my module which has the same options/config
<CMCDragonkai_> will there be errors
<lovesegfault> infinisil: why does it reference nix/config.nix?
<infinisil> lovesegfault: And the whole orig business is to be able to set derivation attributes without removing original dependencies
<infinisil> nix/config.nix contains a very basic shell you can use as a derivation builder
erasmas has joined #nixos
<infinisil> So no need for a bash or so
<infinisil> Which could contain many more dependencies itself
<infinisil> (and which nixpkgs version should it be gotten from)
<lovesegfault> I don't want to rely on NIX_PATH being set
m0rphism has quit [Ping timeout: 265 seconds]
<infinisil> That's not reliant on NIX_PATH
<lovesegfault> Oh, nice
<infinisil> nix/config.nix is kind of like a builtin NIX_PATH value
<lovesegfault> Nice
<lovesegfault> infinisil: it works!
m0rphism1 has quit [Ping timeout: 268 seconds]
blaggacao has quit [Read error: Connection reset by peer]
<lovesegfault> amazing!
<infinisil> :D
<lovesegfault> infinisil++++
<lovesegfault> infinisil++
<{^_^}> infinisil's karma got increased to 225
erasmas has quit [Ping timeout: 256 seconds]
werner291 has quit [Quit: werner291]
<{^_^}> [nixpkgs] @marsam opened pull request #81853 → dbeaver: fix hash → https://git.io/JvVp1
blaggacao has joined #nixos
bhipple has joined #nixos
Rusty1 has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
tomberek has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/82b54d49066 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
h0m1 has joined #nixos
butterthebuddha has joined #nixos
butterthebuddha has quit [Client Quit]
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
reallymemorable has joined #nixos
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #81854 → nixos/prometheus-*-exporters: minor fixes → https://git.io/JvVhn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81855 → tiny: 0.5.1 -> 0.5.2-test → https://git.io/JvVhc
<CMCDragonkai_> how come after overriding a package's doCheck to false, and building it, it still ends up running installCheckPhase?
<CMCDragonkai_> or is installCheckPhase not part of `doCheck`?
nixxy has quit [Ping timeout: 260 seconds]
<lopsided98> CMCDragonkai_: I believe there is doInstallCheck
flodeskum has joined #nixos
<bqv[m]> oh come on
<bqv[m]> i've found a hash mismatch in a package i'm not even writing
<ottidmes> bqv[m]: more common than you mind think, if the source host chooses to serve a different file under the same location, it will fail
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81856 → topgrade: 4.0.2 -> 4.2.0 → https://git.io/JvVhg
Baughn has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #81857 → nixos/prometheus-mikrotik-exporter: init → https://git.io/JvVhw
butterthebuddha has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #81844 → gcc: place cross-compiled target libraries in lib output → https://git.io/JvVdV
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to staging: https://git.io/JvVhP
<{^_^}> [nixpkgs] @matthewbauer closed pull request #58606 → [WIP] gcc: put target-specific libs in lib output → https://git.io/fjk2t
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvVh1
<{^_^}> [nixpkgs] @matthewbauer closed pull request #81781 → gcc: Move target libraries to `lib` output when building a cross compiler → https://git.io/JvV3m
ottidmes has quit [Quit: WeeChat 2.7.1]
kvda has joined #nixos
growpotkin has joined #nixos
<lovesegfault> When you build a nixos system you get an outlink with an `activate` bin in the root, as well as `bin/switch-to-configuration. What's the difference?
<lovesegfault> cc. clever
kvda has quit [Client Quit]
<bqv[m]> ok, anyone here familiar with the yarn2nix tool?
<bqv[m]> the package i'm trying to build has a github dependency
<bqv[m]> that's what's causing the hash mismatch
<bqv[m]> can i specify that one manually?
<bqv[m]> as part of mkYarnPackage?
flodeskum has quit [Ping timeout: 260 seconds]
bhipple has quit [Ping timeout: 258 seconds]
<clever> lovesegfault: switch-to-configuration takes most of the args nixos-rebuild takes, including test, switch, boot
kvda has joined #nixos
<clever> lovesegfault: so you can run `switch-to-configuration boot` to make it the default at next boot
<clever> lovesegfault: test/switch, will update several symlinks, restart systemd services, and run activate
<lovesegfault> Ah, I see
<clever> lovesegfault: and activate does misc stuff that has to be done on boot or switch
<lovesegfault> so I want switch-to-configuration
zeta_0 has joined #nixos
<lovesegfault> Also: if I switch-to-configuration with a pinned nixpkgs used to build the system, will that be reflected in the system's NIX_PATH?
<clever> lovesegfault: nope
<lovesegfault> goddammit
<clever> lovesegfault: $NIX_PATH will respect the pre-existing channels, by default
* lovesegfault sighs
reallymemorable has quit [Quit: reallymemorable]
<clever> lovesegfault: that changes it
<lovesegfault> :O
<lovesegfault> clever: you have all the answers
<lovesegfault> if you're in SF some time please let me get you a coffee
<zeta_0> i followed these instructions exactly but for some reason a version mismatch error is being thrown? https://hastebin.com/nekefegoke.rb https://github.com/cachix/elm2nix
drakonis has joined #nixos
gila has joined #nixos
wildtrees has quit [Quit: Leaving]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blaggacao has quit [Ping timeout: 260 seconds]
<zeta_0> here's my elm.json file: https://hastebin.com/enupafofep.json
blaggacao has joined #nixos
<zeta_0> what file do you guys think has the incorrect elm version?
butterthebuddha has joined #nixos
flodeskum has joined #nixos
gila has quit [Ping timeout: 256 seconds]
butterthebuddha has quit [Client Quit]
tilcreator has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #63866 → alsa-firmware: enable cross compilation → https://git.io/fjosG
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @dingxiangfei2009 to master « alsa-firmware: enable cross compilation (#63866) »: https://git.io/JvVhj
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #81858 → Cross compilation fixes → https://git.io/JvVje
<lovesegfault> clever: does all this pinning work make using NixOps easier?
<clever> lovesegfault: nixops itself still uses <nixpkgs> to get the nixos that is going to eval your config
<zeta_0> i don't understand the error, elm.json has the correct elm version but for some reason it says that i am already using version 0.19.0, i don't even have elm installed, i only have elm2nix installed, this is strange?
<lovesegfault> clever: ;-;
<clever> # nixops modify -d house deployments/house.nix -I nixpkgs=https://github.com/nixos/nixpkgs/archive/dae9cf6106d.tar.gz
butterthebuddha has joined #nixos
<lovesegfault> cc. gchristensen who is doing the god's work with nixops
<clever> lovesegfault: but, if you run this, nixops will remember that `-I nixpkgs=foo` flag
<zeta_0> i already looked through all of the files and only elm.json contains the file version
<clever> lovesegfault: and it will internally respect that, for every `nixops deploy`
vidbina has joined #nixos
<lovesegfault> clever: why does it matter which nixos is being used to eval the config?
abathur has quit [Read error: Connection reset by peer]
flodeskum has quit [Remote host closed the connection]
abathur has joined #nixos
flodeskum has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81859 → vector: 0.8.0 -> 0.8.1 → https://git.io/JvVjT
<zeta_0> zeta waits patiently for help
<softinio[m]> When I try to install version 12 of nodejs I get an attribute not found error. All other versions work fine
<softinio[m]> Anyone experience the same problem? Any suggestions ?
flodeskum has quit [Ping timeout: 255 seconds]
<clever> softinio[m]: what attribute are you using?
<softinio[m]> @clever nodejs-12_x
<{^_^}> [nixpkgs] @zowoq opened pull request #81860 → rkt: remove → https://git.io/JvVjO
<clever> softinio[m]: which channel are you on?
<softinio[m]> Stable 19.09
<softinio[m]> Also have nix-Darwin
<{^_^}> [nixpkgs] @marsam merged pull request #81852 → pueue: 0.1.5 -> 0.1.6 → https://git.io/JvVxg
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvVjs
<clever> softinio[m]: that channel may not have nodejs 12
<softinio[m]> Strange then that it gets listed as a option when I do a search for nodejs
<clever> softinio[m]: what does the search output?
<jared-w> infinisil: that hack derivation is some deep magic there. Nice
<infinisil> Originally not by me but gchristensen :) (I think)
flodeskum has joined #nixos
<softinio[m]> Give me a couple of hours to get you that on train not in front of laptop @clever
flodeskum has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #81861 → haskellPackages.pantry_0_2_0_0: Mark dontCheck → https://git.io/JvVj4
<{^_^}> [nixpkgs] @marsam merged pull request #81830 → broot: 0.13.1 -> 0.13.2 → https://git.io/JvVSZ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvVjB
default_user1[m] has joined #nixos
default_user1[m] has left #nixos [#nixos]
bhipple has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81862 → xxHash: 0.7.2 -> 0.7.3 → https://git.io/JvVj2
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qubasa_ has joined #nixos
<mlatus> how does nix deal with binary substituters with same priority in nix-cache-info? can i specify the priority at client side?
<zeta_0> hmm, when i changed elm.json's elm version from 0.19.1 to 0.19.0 it works, why is that?
<{^_^}> [nixpkgs] @bhipple opened pull request #81863 → staging -> staging-next → https://git.io/JvVjK
qubasa has quit [Ping timeout: 256 seconds]
<lovesegfault> is this the right way of adding kernel patches? https://github.com/lovesegfault/nix-config/blob/master/system/hardware/thinkpad-p1.nix#L16-L29
nwops has quit [Quit: nwops]
<lovesegfault> I'd expect this to work, but I get error: attribute 'patch' missing, at /nix/store/09vyl7xk43ag15mg3fdriqndisgnmx0v-source/pkgs/os-specific/linux/kernel/manual-config.nix:95:17
selfsymmetric-mu has quit [Remote host closed the connection]
<lovesegfault> Which leads me to believe my fetchpatch application is incorrect
<lovesegfault> cc. infinisil
nwops has joined #nixos
<qyliss> kernelPatches isn't like patches in mkDerivation
<lovesegfault> ;-;
<qyliss> > pkgs.kernelPatches
<{^_^}> { bridge_stp_helper = <CODE>; cpu-cgroup-v2 = <CODE>; export_kernel_fpu_functions = <CODE>; genksyms_fix_segfault = <CODE>; iwlwifi_mvm_support_version_7_scan_req_umac_fw_command = <CODE>; mac_nvme_t2...
<clever> > pkgs.kernelPatches.bridge_stp_helper
<{^_^}> { name = "bridge-stp-helper"; patch = /var/lib/nixbot/nixpkgs/master/repo/pkgs/os-specific/linux/kernel/bridge-stp-helper.patch; }
<clever> lovesegfault: kernelPatches must be a list of these sets
<lovesegfault> I see
* lovesegfault tries
<{^_^}> [nixpkgs] @volth opened pull request #81864 → firefox: mark as broken on 32-bit buildPlatform → https://git.io/JvVjP
erasmas has joined #nixos
kvda has joined #nixos
reallymemorable has joined #nixos
<lovesegfault> clever++ qyliss++
<{^_^}> clever's karma got increased to 339, qyliss's karma got increased to 35
shafox has joined #nixos
erasmas has quit [Ping timeout: 256 seconds]
<fresheyeball> is there a way to propogate nulless in nix?
<fresheyeball> let me explain with a small example
<fresheyeball> foo = { x ? "x" }: x + "y";
<infinisil> > lib.mapNullable (x: x + 1) null
<{^_^}> null
<infinisil> > lib.mapNullable (x: x + 1) 10
<{^_^}> 11
<fresheyeball> bar = { x ? "x" }: foo { inherit x; } + "z";
<fresheyeball> this does what I am asking
<fresheyeball> but it means I can't define the default for x only in foo
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<fresheyeball> is there a way I can do that
<fresheyeball> bar = { x }: foo { inherit x; } + "x"; where x is optional to bar?
<fresheyeball> if this was haskell I would be passing a Maybe down
<infinisil> > f = { x ? "x" }@args: { ${if args ? x then "x" else null} = x; }
<{^_^}> f defined
<infinisil> > :p f { x = 10; }
<{^_^}> { x = 10; }
<infinisil> > :p f { }
<{^_^}> { }
<infinisil> A bit ugly, but that works
<fresheyeball> infinisil: can you show the example with bar and foo?
<fresheyeball> I am having trouble mapping this technique
<infinisil> bar = { x ? "x" }@args: foo { ${if args ? x then "x" else null} = x; } + "z"
<fresheyeball> ok!
<fresheyeball> I see how it works
<fresheyeball> what about this then
<fresheyeball> I didn't know you could use ? that way
<fresheyeball> nix repl shows you are dead on
<fresheyeball> bar = { x ? null }: foo { ${if x == null then null else "x"} = x; } + "z"
<fresheyeball> ??
h0m1 has quit [Ping timeout: 240 seconds]
<infinisil> That behaves differently depending on whether you pass `{ x = null; }` or `{ }`
<fresheyeball> infinisil: how so?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> > f = { x ? null }: { ${if x == null then null else "x"} = x; }
<{^_^}> f defined
<infinisil> > f {}
<{^_^}> { }
<infinisil> > f { x = null; }
<{^_^}> { }
<infinisil> Um
<infinisil> I meant
<fresheyeball> I not crazy?
<infinisil> It doesn't propagate x = null
<infinisil> It just removes it
<fresheyeball> right, because of the if statement
h0m1 has joined #nixos
<fresheyeball> I am going to play with this
<infinisil> > g = { x ? null }@args: { ${if args ? x then "x" else null} = x; }
<fresheyeball> thanks!
<{^_^}> g defined
<fresheyeball> infinisil++
<infinisil> > g {}
<{^_^}> infinisil's karma got increased to 226
<{^_^}> { }
<infinisil> > g { x = null; }
<{^_^}> { x = null; }
<infinisil> :)
kvda has joined #nixos
<fresheyeball> ok so yeah, x == null vs args ? x
<fresheyeball> are different
kapil_ has joined #nixos
<bqv[m]> can i ask again, how do i override a dependency in yarn2nix, cause it's got a hash mismatch with a github-based one
<tomberek> does nixFlakes change uri parsing in some way? i'm noticing some builtins.fetchGit is trying to parse the url as if it was a flake, not a git repo
<tomberek> i'm using something like "url = ssh://git@gitlab.com/some/repo.git;"
<tomberek> i get an error "fetching Git repository 'ssh:///some/repo.git'ssh: Could not resolve hostname : Name or service not known". Seems like confusion in parsing.
salty_spaghetti has joined #nixos
zeta_0 has joined #nixos
<salty_spaghetti> Anyone know how to access the internet from within a NixOS test?
<cole-h> Pretty sure internet is disabled inside NixOS tests
<cole-h> Because it introduces un-reproducability
<cole-h> or something
<tomberek> salty_spaghetti: usually that's discouraged, but look at __noChroot = true;. When in a derivation, it's build is not sandboxed (also need to allow this in your nix.conf
<zeta_0> am i going to need to use the unstable version of elm2nix in order for elm 0.19.1 to be supported? right now i have to go to elm.json and change 0.19.1 to 0.19.0
<tomberek> looks like a newer nixFlakes fixes the parsing bug
fresheyeball has quit [Quit: WeeChat 2.6]
nwops has quit [Quit: nwops]
<clever> salty_spaghetti: why does your test need internet?
<bqv[m]> should i just wait until flakes are ready instead of trying to fix this yarn expression?
ghasshee has joined #nixos
nwops has joined #nixos
<lovesegfault> cole-h: it runs in a sandbox with no network to preserve r11y
<cole-h> (isn't it r13y?)
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<lovesegfault> yes, that one :P
<cole-h> :^) So yeah
<lovesegfault> brb, trying my new r13y'able system config
lovesegfault has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81865 → gnome3.accerciser: 3.34.4 -> 3.36.0 → https://git.io/JvweL
nwops has quit [Quit: nwops]
lovesegfault has joined #nixos
<lovesegfault> I DID IT
<lovesegfault> PINNED EVERYTHING
<lovesegfault> thanks clever, infinisil, colemickens for all the help and direction
<clever> lovesegfault: :D
nwops has joined #nixos
<lovesegfault> jtojnar: I have bad news for you
<lovesegfault> jtojnar: (process:2390): GLib-GIO-ERROR **: 19:27:29.480: Settings schema 'org.gnome.desktop.wm.preferences' is not installed
<lovesegfault> look who's back
<lovesegfault> 💀
<lovesegfault> clever: do I need the niv source when using niv?
<lovesegfault> like, my niv comes from the pinned nixpkgs
<lovesegfault> so what's the point
vidbina has quit [Ping timeout: 260 seconds]
<infinisil> Nix probably has a Nix library too, not just the executable
<clever> lovesegfault: you can just install nixpkgs.niv i believe
<lovesegfault> clever: yeah, I have that in my `shell.nix`
<lovesegfault> going to nuke niv
<lovesegfault> done, and everything works still
<cole-h> lovesegfault: Pretty sure that's just there for "sane defaults" (same with its nixpkgs source)
<cole-h> So yeah, it's safe to remove from the sources
<lovesegfault> :)
<lovesegfault> I am so happy that I got this working
<cole-h> You should write a blog post about it now ;)
<cole-h> Inspire others to up their r13y game
<lovesegfault> A blog post is not a bad idea, it'd have to be more than one I think
<lovesegfault> 1. the shellHack
<lovesegfault> 2. Nivification
<clever> cole-h: i had turned on repeat in my nix.conf, while developing some software
<clever> cole-h: then i discovered several bugs in nixos itself, that blocks nixos-rebuild
<lovesegfault> clever: What's repeat?
<cole-h> ^
<cole-h> Does it "repeat" builds to ensure r13y?
<clever> if you set `repeat = 1` in nix.conf, or build with `--option repeat 1` then nix will repeat every build 1 extra time
nwops_ has joined #nixos
<clever> and if the 2 builds didnt produce identical outputs, the build fails
<lovesegfault> O.o
<cole-h> "How many times to repeat builds to check whether they are deterministic." Yep
salty_spaghetti has quit [Ping timeout: 260 seconds]
<cole-h> clever: You fixed them (or at least reported), right? ;-)
<clever> cole-h: i reported one issue, but had to turn repeat back off to even use the system
<lovesegfault> c.f. r13y.com/
nwops has quit [Ping timeout: 268 seconds]
nwops_ is now known as nwops
<lovesegfault> is it down?
<lovesegfault> oh, no, just slow
<cole-h> Yeah it was up for me like 10 seconds ago haha
<clever> cole-h: i thought i reported it, but i dont see it on github
<infinisil> lovesegfault: What shellHack?
<cole-h> You'll have to wait until the blog post to find out ;)
<lovesegfault> infinisil: the one you came up with!
<cole-h> (the one you attribute to gchristensen)
<mlatus> What may cause compiling kernel result in a sub-make error 2 without any error messages? I'm trying to compile the kernel on Dell inspiron 7590 with impureUseNativeOptimizations applied
<infinisil> Ahh that one!
<clever> cole-h: it was a bug with mime info, and only occurs if you have multiple things in your systemPackages
<clever> mlatus: if your using anything more then `-j1` it may print the error, and then keep going and build more things
<lovesegfault> this beauty
<clever> mlatus: you have to scroll up further
aw has joined #nixos
<cole-h> Speaking of mime, lovesegfault did you ever file that bug against wl-clipboard? Or were you just happy to get waybar working again that you just let it be
<lovesegfault> cole-h: I forgot, I decided to tackle r13y next
spacefrogg has joined #nixos
<mlatus> clever: looks like I should scroll up a lot, does nix keep build log for failed builds?
<clever> mlatus: nope
<lovesegfault> you only use nixops on your servers?
<lovesegfault> What do you do for your laptop?
<clever> lovesegfault: the laptop is managed by nixos-rebuild, but also hosts the nixops state for the router/nas
<clever> and nix-channel controls the laptop
gila has joined #nixos
<lovesegfault> clever: Why this choice of not doing pinning for your laptop?
<clever> lovesegfault: i run the laptop from nixos-unstable, and i only nix-channel --update when i want it to update
<mlatus> Another question: can I control the priority of substituters use of nix?
<colemickens> Do you use Firefox nightly? :P
<clever> lovesegfault: and if i dont like an update, --rollback
<colemickens> It's the only thing that is effectively not pinned and I don't feel like writing a manual update / pin for it.
<lovesegfault> clever: I see, can nixops manage the "host" machine?
<clever> [root@amd-nixos:~]# curl -s https://cache.nixos.org/nix-cache-info | grep Prio
<clever> Priority: 40
<colemickens> * It's the only thing that is effectively not pinned and I don't feel like writing a manual update / pin for it, though it's not that hard.
<clever> mlatus: each cache advertises its own priority, and nix will sort them by that
<lovesegfault> colemickens: I do not use firefox nightly
<lovesegfault> I use beta
<clever> lovesegfault: it can, just use the "none" type (same as my router and nas) but with the ip of 127.0.0.1
<lovesegfault> clever: got it, I might tackle NixOps next since gchristensen gave it some love
<mlatus> clever: no settings in the client side? what if two substituers have same priority?
<clever> mlatus: then your down to luck, do both caches actually have the same thing, or does only one have what you want?
<mlatus> I want to use a mirror of the official cache which I can access more easily in my region, but it is sometimes not up to date so I want to also keep the official cache (re @mlatus_irc_bot: <clever>
<mlatus> =================
<mlatus> mlatus: then your down to luck, do both caches actually have the same thing, or does only one have what you want?)
gila has quit [Ping timeout: 265 seconds]
<mlatus> clever: I want to use a mirror of the official cache which I can access more easily in my region, but it is sometimes not up to date so I want to also keep the official cache
<clever> mlatus: that is pretty much exactly what https://github.com/cleverca22/cachecache/ is designed for
abathur has quit [Read error: Connection reset by peer]
<clever> mlatus: its a proxying mirror, so if it lacks something, it will just fetch it on the spot, so it can be your only cache
abathur has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3aa3291b208 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jtojnar> lovesegfault what package?
<NemesisD> i'd like to store nix configuration for all my systems in a git repo. so far this works pretty well in that i symlink the leaf directories in place, but then i can't import files with relative dirs that way. any suggestions?
<clever> NemesisD: instead of using a symlink, make a configuration.nix with only { imports = [ /path/to/leaf.nix ]; }
<mlatus> clever: oh perfect, thanks a lot
<cole-h> lovesegfault: When you do pursue NixOps, I'd be interested to hear what you do
felixfoertsch has joined #nixos
<clever> lovesegfault: here is my most recent/crazy thing with nixops: https://github.com/librerpi/rpi-open-firmware/blob/master/nixops.nix
<NemesisD> clever: what exactly does `imports` do?
<clever> lovesegfault: `nixops deploy -d rpi` will build the rpi firmware, cross-build the entire nixos, deploy it to the pi, and update the custom firmware in /boot/
<lovesegfault> cole-h: probably tonight or tomorrow
<clever> NemesisD: it gives nixos a list of modules, that all have the same format as configuration.nix
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> NemesisD: i always make a tree of modules, start at a leaf like laptop.nix or desktop.nix, then work my way up the branches, both of those do imports = [ ./gui-system.nix ]; for example, which then does imports = [ ./core.nix ];
<clever> then non-gui systems, skip gui-system.nix and go directly to core.nix
<NemesisD> clever: that's cool! is this generally applicable to nix projects or something particular to the nixos system configuration. like could i do this in home-manager?
<clever> NemesisD: but you can also start branching again after the trunk (like roots), and have certain role-specific stuff, like media-center.nix, that is only in imports on one machine, but nicely isolates the functions
<clever> NemesisD: anything that is using the module system, which would be nixos and home-manager mainly
<clever> NemesisD: this configures everything needed to run plex automatically on boot, and by keeping it to its own file, i can easily remove media-center.nix from imports to turn it off, or add it to more systems in the future
<NemesisD> clever: thanks! this is starting to make sense. this is gonna help a lot. i started with a media server a few weeks ago and i'm moving all my systems to nixos. it's really hard the first time and then pretty easy the second time
<lovesegfault> clever: that's amazing
waleee-cl has quit [Quit: Connection closed for inactivity]
<clever> lovesegfault: there are 2 key parts to making nixops do that
<clever> lovesegfault: in nixos.nix: nixpkgs.crossSystem.system = "armv7l-linux"; configures nixops to cross-compile to arm
abathur has quit [Ping timeout: 258 seconds]
<clever> lovesegfault: and this then configures a custom bootloader in nixos
<clever> lovesegfault: nixos will run install-openpi.sh, any time it wants to update the bootloader config
<clever> lovesegfault: line 18 pulls in a directory with firmware, that i was already cross-compiling, before nixos worked
<clever> lovesegfault: and https://github.com/NixOS/nixpkgs/pull/72657 added vc4 cross-compile to nixpkgs
<{^_^}> #72657 (by cleverca22, 17 weeks ago, merged): Initial implementation of vc4 cross-compile
<cole-h> I think I asked this before, but I've since forgotten: how do I expand a `«derivation abdefg.drv»` to show its actual attributes?
<clever> cole-h: in nix repl, try `hello.<tab><tab>`
drakonis has quit [Quit: WeeChat 2.7.1]
<cole-h> I was hoping more to be able to see all of the attrs at once in there
<cole-h> `lib.attrValues` shows the values at least
<lovesegfault> clever: Absolutely awesome
* lovesegfault starts setting up NixOps
<clever> cole-h: lib.attrNames shows the names
erasmas has joined #nixos
<jtojnar> lovesegfault I will take a look at it tomorrow
<lovesegfault> jtojnar: 👍
<clever> > builtins.removeAttrs hello ["type"]
<{^_^}> { __ignoreNulls = true; all = <CODE>; args = <CODE>; buildInputs = <CODE>; builder = <CODE>; configureFlags = <CODE>; depsBuildBuild = <CODE>; depsBuildBuildPropagated = <CODE>; depsBuildTarget = <COD...
<lovesegfault> with my new config you can boot a VM of my machine and reproduce the issue!
<clever> cole-h: you can also use this
<clever> cole-h: nix repl uses .type to detect if it should pretty-print things
<jtojnar> lovesegfault could you please open an issue so I do not forget about it
<cole-h> clever++ Perfect! Now if only there was a way to apply `nixfmt` to the resulting output :P
<{^_^}> clever's karma got increased to 340
<lovesegfault> jtojnar: on it
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erasmas has quit [Ping timeout: 255 seconds]
<mlatus> clever: would you mind giving some hints about how to setup cachecache? Tried to understand the code but I have little experience with Hasekll..
<bqv[m]> heyheyhey, another hour, another ask, anyone know how to override a dependency in mkYarnPackage?
<bqv[m]> i'm running out of ideas
<clever> mlatus: https://github.com/cleverca22/nixos-configs/blob/master/nas.nix lines 24 and 145, thats pretty much all you need
nwops has quit [Quit: nwops]
<clever> mlatus: and a copy of cachecache.nix (in the same dir)
<mlatus> clever: many thanks! :P
<mlatus> clever++
<{^_^}> clever's karma got increased to 341
evanjs- has joined #nixos
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
drainful has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
kleisli has quit [Ping timeout: 258 seconds]
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
drainful has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
lovesegfault has joined #nixos
abathur has joined #nixos
jojojojojo has joined #nixos
inkbottle has joined #nixos
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
kvda has joined #nixos
cjpbirkbeck has joined #nixos
captn3m0 has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
drainful has joined #nixos
Mateon1 has joined #nixos
stevenroose has joined #nixos
mlatus has joined #nixos
krasnij has joined #nixos
pareidolia_ has joined #nixos
Emantor has joined #nixos
epl692 has joined #nixos
garbas has quit [Ping timeout: 255 seconds]
garbas has joined #nixos
bhipple has quit [Ping timeout: 255 seconds]
bhipple has joined #nixos
gila has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #81867 → waf: move binary to $out/bin/ → https://git.io/JvwfP
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/93ba4ecd586 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
gila has quit [Ping timeout: 258 seconds]
chagra has joined #nixos
captn3m0 has quit [Ping timeout: 255 seconds]
siel has joined #nixos
siel has joined #nixos
siel has quit [Changing host]
bhipple has quit [Remote host closed the connection]
captn3m0 has joined #nixos
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
drainful has joined #nixos
bukkitgerman8 has joined #nixos
orivej has joined #nixos
growpotk- has joined #nixos
realrokka has quit [Ping timeout: 256 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
realrokka has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
siel has joined #nixos
siel has quit [Changing host]
siel has joined #nixos
bukkitgerman8 has quit [Quit: Ping timeout (120 seconds)]
realrokka has quit [Ping timeout: 260 seconds]
growpotk- has quit [Quit: ZNC 1.7.5 - https://znc.in]
bukkitgerman8 has joined #nixos
growpotkin has joined #nixos
abathur has quit [Ping timeout: 255 seconds]
realrokka has joined #nixos
<bqv[m]> Its me again, seeing if anyone knows anything about overriding broken deps in mkYarnPackage again
<{^_^}> [nixpkgs] @FRidh merged pull request #79793 → stdenv: update ARM bootstrap tarballs → https://git.io/JvCmv
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JvwUa
<{^_^}> [nixpkgs] @FRidh merged pull request #80266 → gnupg: apply patch to allow import of key updates without user ids → https://git.io/Jv8ZW
<{^_^}> [nixpkgs] @FRidh pushed commit from @Valodim to staging « gnupg: apply patch to allow import of key updates without user ids »: https://git.io/JvwUw
abathur has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #80186 → libvdpau: 1.2 -> 1.3, vdpauinfo: 1.0 -> 1.3 → https://git.io/JvlNW
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JvwU6
zfnmxt_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #80016 → ncurses: 6.1-20190112 -> 6.2 → https://git.io/JvWiK
<{^_^}> [nixpkgs] @FRidh pushed commit from @zowoq to staging « ncurses: 6.1-20190112 -> 6.2 »: https://git.io/JvwU1
knupfer has joined #nixos
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
lelit has joined #nixos
nixy- has joined #nixos
swistak35_ has joined #nixos
yvansraka has joined #nixos
TweyII has joined #nixos
nbp_ has joined #nixos
nixy has quit [Ping timeout: 260 seconds]
TweyII is now known as Twey
Twey has quit [Ping timeout: 260 seconds]
Raito_Bezarius has quit [Ping timeout: 260 seconds]
fraun has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #79711 → gdb: 8.3.1 -> 9.1 → https://git.io/JvcyU
<{^_^}> [nixpkgs] @FRidh pushed commit from @lsix to staging « gdb: 8.3.1 -> 9.1 »: https://git.io/JvwUF
Raito_Bezarius has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #81867 → waf: move binary to $out/bin/ → https://git.io/JvwfP
<{^_^}> [nixpkgs] @FRidh pushed commit from @matthewbauer to master « waf: move binary to $out/bin/ »: https://git.io/JvwUA
ddellacosta has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #81811 → libevdev: 1.8.0 -> 1.9.0 → https://git.io/JvVRv
<jackdk> I am trying to write a nix expression to automatically call pypi2nix for me. pypi2nix calls `nix-shell` when it starts, and if I add nix to `buildInputs` I get `error: creating directory '/nix/var': Permission denied`. Is there a way to run subshells inside a nix build?
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libevdev: 1.8.0 -> 1.9.0 »: https://git.io/JvwTe
<{^_^}> [nixpkgs] @FRidh merged pull request #81677 → libva: 2.5.0 -> 2.6.1 → https://git.io/Jva2l
<{^_^}> [nixpkgs] @FRidh pushed commit from @colemickens to staging « libva: 2.5.0 -> 2.6.1 »: https://git.io/JvwTv
<{^_^}> [nixpkgs] @FRidh merged pull request #81660 → vim: 8.2.0227 -> 8.2.0343 → https://git.io/Jva0j
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « vim: 8.2.0227 -> 8.2.0343 »: https://git.io/JvwTf
<colemickens> Merge baby, merge!
<lovesegfault> arcnmx: Are you around?
erasmas has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #81614 → [20.03] libfido2: change dependency from libressl to openssl → https://git.io/Jvaqn
<{^_^}> [nixpkgs] @FRidh pushed commit from @prusnak to release-20.03 « libfido2: change dependency from libressl to openssl »: https://git.io/JvwTk
<{^_^}> [nixpkgs] @FRidh pushed 154 commits to staging-next: https://git.io/JvwTm
<{^_^}> [nixpkgs] @FRidh pushed 155 commits to staging: https://git.io/JvwTY
<{^_^}> [nixpkgs] @FRidh merged pull request #81396 → util-linux: use $bin output for umount → https://git.io/JvgKK
<{^_^}> [nixpkgs] @FRidh pushed commit from @matthewbauer to staging « util-linux: use $bin output for umount »: https://git.io/JvwTO
knupfer has quit [Ping timeout: 240 seconds]
erasmas has quit [Ping timeout: 258 seconds]
tertl3 has joined #nixos
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
drainful has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #79710 → skypeforlinux: 8.55.0.141 -> 8.56.0.103 → https://git.io/JvcDx
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « skypeforlinux: 8.55.0.141 -> 8.56.0.103 »: https://git.io/JvwTR
<{^_^}> [nixpkgs] @FRidh merged pull request #79531 → intel-graphics-compiler: 1.0.3041 -> 1.0.3151 → https://git.io/JvniZ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « intel-graphics-compiler: 1.0.3041 -> 1.0.3151 »: https://git.io/JvwTu
<{^_^}> [nixpkgs] @FRidh merged pull request #79349 → rawtherapee: 5.7 -> 5.8 → https://git.io/JvZaL
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « rawtherapee: 5.7 -> 5.8 »: https://git.io/JvwTg
rogue_koder has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @FRidh merged pull request #81199 → zotero: 5.0.82 -> 5.0.83 → https://git.io/JvzE7
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « zotero: 5.0.82 -> 5.0.83 »: https://git.io/JvwTa
<{^_^}> [nixpkgs] @FRidh merged pull request #80864 → urh: 2.8.2 -> 2.8.3 → https://git.io/Jv0aF
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « urh: 2.8.2 -> 2.8.3 »: https://git.io/JvwTV
<bqv[m]> Screw it, just gonna ghetto an appimage locally. Not gonna spend years trying to get another package I barely care about into nixpkgs
<{^_^}> [nixpkgs] @FRidh merged pull request #80580 → gdcm: 3.0.4 -> 3.0.5 → https://git.io/JvBVX
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « gdcm: 3.0.4 -> 3.0.5 »: https://git.io/JvwTr
<{^_^}> [nixpkgs] @FRidh merged pull request #80570 → facter: 3.14.7 -> 3.14.8 → https://git.io/JvBu1
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « facter: 3.14.7 -> 3.14.8 »: https://git.io/JvwTo
<bqv[m]> Whats the story on flakes at the moment, anyway? Documentation is lacking, but that's normal for nix, so I can't tell
<{^_^}> [nixpkgs] @FRidh merged pull request #80501 → elogind: 243.4 -> 243.7 → https://git.io/JvBeq
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « elogind: 243.4 -> 243.7 »: https://git.io/JvwTK
<{^_^}> [nixpkgs] @FRidh merged pull request #79977 → osi: 0.108.4 -> 0.108.6 → https://git.io/JvWuz
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « osi: 0.108.4 -> 0.108.6 »: https://git.io/JvwT6
<{^_^}> [nixpkgs] @FRidh merged pull request #81609 → python27Packages.uproot: 3.11.2 -> 3.11.3 → https://git.io/JvaLM
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.uproot: 3.11.2 -> 3.11.3 »: https://git.io/JvwTi
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.traitsui: 6.1.1 -> 6.1.3 »: https://git.io/JvwTP
<{^_^}> [nixpkgs] @FRidh merged pull request #81607 → python27Packages.traitsui: 6.1.1 -> 6.1.3 → https://git.io/JvaI1
<{^_^}> [nixpkgs] @FRidh merged pull request #81586 → python27Packages.pyface: 6.1.1 -> 6.1.2 → https://git.io/Jv2hd
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.pyface: 6.1.1 -> 6.1.2 »: https://git.io/JvwTX
<{^_^}> [nixpkgs] @FRidh merged pull request #81587 → python37Packages.pikepdf: 1.10.0 -> 1.10.2 → https://git.io/Jv2jc
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.pikepdf: 1.10.0 -> 1.10.2 »: https://git.io/JvwTM
<{^_^}> [nixpkgs] @FRidh merged pull request #81581 → python27Packages.denonavr: 0.7.10 -> 0.7.12 → https://git.io/Jv2pX
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.denonavr: 0.7.10 -> 0.7.12 »: https://git.io/JvwTS
<{^_^}> [nixpkgs] @FRidh merged pull request #81578 → python37Packages.ckcc-protocol: 1.0.0 -> 1.0.1 → https://git.io/Jv2pE
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.ckcc-protocol: 1.0.0 -> 1.0.1 »: https://git.io/JvwT9
<{^_^}> [nixpkgs] @FRidh merged pull request #81532 → micronaut: 1.3.0 -> 1.3.2 → https://git.io/Jv26N
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « micronaut: 1.3.0 -> 1.3.2 »: https://git.io/JvwTH
linarcx has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #81529 → metabase: 0.34.2 -> 0.34.3 → https://git.io/Jv2K6
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « metabase: 0.34.2 -> 0.34.3 »: https://git.io/JvwTQ
<{^_^}> [nixpkgs] @FRidh merged pull request #81523 → librealsense: 2.31.0 -> 2.32.1 → https://git.io/Jv2w7
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « librealsense: 2.31.0 -> 2.32.1 »: https://git.io/JvwT7
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
drainful has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #81627 → rednotebook: 2.16 -> 2.18 → https://git.io/JvasB
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « rednotebook: 2.16 -> 2.18 »: https://git.io/JvwTd
<{^_^}> [nixpkgs] @FRidh merged pull request #81571 → python37Packages.hstspreload: 2020.2.5 -> 2020.2.29 → https://git.io/Jv2bn
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.hstspreload: 2020.2.5 -> 2020.2.29 »: https://git.io/JvwTF
<{^_^}> [nixpkgs] @vbgl merged pull request #81276 → coqPackages_8_10.QuickChick: init at 1.2.0 → https://git.io/JvzQw
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JvwTN
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nurelin_ has joined #nixos
bob_twinkles_ has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/dca7ec628e5 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
jperras has joined #nixos
kenran has joined #nixos
<jackdk> bqv[m]: not I, but last time I tried the appimage stuff it worked pretty nicely
<bqv[m]> It is. Its just not as nice as having a nice pure package built from source, but I've spent hours fiddling and nobody has any answers and I'm tired
<bqv[m]> So appimage-run it is
<{^_^}> [nixpkgs] @cdepillabout merged pull request #81861 → haskellPackages.pantry_0_2_0_0: Mark dontCheck → https://git.io/JvVj4
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvwkK
abathur has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @Profpatsch closed pull request #71066 → ripcord: init at 0.4.18 → https://git.io/Jelpk
<{^_^}> [nixpkgs] @vbgl merged pull request #75766 → js_of_ocaml: 3.4.0 -> 3.5.2 → https://git.io/Je7kF
<{^_^}> [nixpkgs] @vbgl pushed commit from @nomeata to master « js_of_ocaml: 3.4.0 -> 3.5.2 (#75766) »: https://git.io/JvwkP
growpotkin has quit [Ping timeout: 265 seconds]
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
drainful has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81869 → cmake: 3.16.4 -> 3.16.5 → https://git.io/JvwIX
bob_twinkles_ is now known as bob_twinkles
palo1 has joined #nixos
palo1 is now known as palo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81870 → crispyDoom: 5.7 -> 5.7.1 → https://git.io/JvwLr
<{^_^}> [nixpkgs] @Profpatsch merged pull request #81412 → tree-sitter.builtGrammars: build parser libraries → https://git.io/JvgDo
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @teto to master « tree-sitter.builtGrammars: build parser libraries »: https://git.io/JvwLo
zaeph has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/1f99fd2fdbe (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
captn3m0- has joined #nixos
gila has joined #nixos
captn3m0 has quit [Ping timeout: 255 seconds]
johnw has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81871 → byobu: 5.131 -> 5.133 → https://git.io/JvwLN
gila has quit [Ping timeout: 256 seconds]
<lovesegfault> colemickens: do you use home-manager as a nixos module?
exfalso has joined #nixos
remirol has joined #nixos
kenran has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
sgrunert has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 42 commits to staging-next: https://git.io/JvwtC
<{^_^}> [nixpkgs] @FRidh merged pull request #81863 → staging -> staging-next → https://git.io/JvVjK
flodeskum has joined #nixos
peelz has quit [Remote host closed the connection]
<fling> it looks awesome!
veske2 has joined #nixos
veske has joined #nixos
<fling> Should I try nixos? :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81872 → cimg: 2.8.3 -> 2.8.4 → https://git.io/Jvwtu
<etu> fling: sure!
<lovesegfault> fling: either yes or yes
<fling> Is there an lxd image?
<lovesegfault> fling: no :(
<fling> D'oh!
<etu> fling: This channel btw is super helpful, if you have any questions don't hesitate to ask here :)
<colemickens> I don't use home-manager at all
<lovesegfault> colemickens: :O
<fling> Ok, Is there a root filesystem I could just download and then use for lxd-p2c?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
logzet has joined #nixos
<fling> Omg it is huge!
captn3m0 has joined #nixos
captn3m0- has quit [Ping timeout: 268 seconds]
<fling> How is it compared to gentoo?
<etu> Uhm, gentoo follows the classical FHS and looks very much like most distros
<fling> eew
<etu> While NixOS doesn't. But NixOS is extremely flexible and powerful because of this.
<fling> I'm using gentoo on hardware because I can go without blobs and patch anything easily
<etu> Like, we don't have package conflicts, version conflicts or circular dependencies ever
<fling> I also write my own ebuilds for stuff like lxd
<etu> And you'd be surprised how many people in NixOS that has a gentoo background, I count myself to that group
<etu> If you compare NixOS to gentoo you can say that NixOS is source-based with a binary cache. If you modify a package you get to compile it yourself. Otherwise it's probably in the cache.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81874 → datovka: 4.14.1 -> 4.15.0 → https://git.io/JvwmL
<etu> And NixOS configuration allows you to patch any package you like.
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81875 → cfr: 0.148 -> 0.149 → https://git.io/JvwmY
<fling> hmm
cole-h has quit [Ping timeout: 265 seconds]
siel has quit [Ping timeout: 272 seconds]
siel has joined #nixos
kenran has joined #nixos
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @poscat0x04 opened pull request #81876 → fix https://github.com/NixOS/nixpkgs/issues/81873https://git.io/Jvwm4
kenran has quit [Ping timeout: 260 seconds]
Tucky has joined #nixos
wolfshappen has joined #nixos
zupo has joined #nixos
geosmin has joined #nixos
<geosmin> i've got a few questions about nixos, i'd like to check my assumptions
Jackneill has joined #nixos
<geosmin> i've heard some interesting things about the config restoring a 1:1 version of someone's setup on a new computer
philr has joined #nixos
<geosmin> how much exactly does 1:1 cover? presumably data isn't included of course, but what about dotfiles, configs, etc.
lovesegfault has quit [Ping timeout: 272 seconds]
lovesegfault has joined #nixos
<manveru> geosmin: my nixos config includes almost all of that
lsix has joined #nixos
<manveru> you can use the home-manager modules for everything in your ~
ris has quit [Ping timeout: 268 seconds]
<geosmin> how static is this stuff? will a config that's 1-5 years old work for a new deployment?
<manveru> been only using it for 2 years, but yes
noudle has joined #nixos
<manveru> it of course depends on how much the app you're using changes its config formats and such
<manveru> that's why the nixos modules are nice, since you write the config in nix, and that generates the final file, and can adjust to format changes a little bit more gracefully
<geosmin> yeah, definitely interesting thanks
erasmas has joined #nixos
<geosmin> anyone using sway? last time i checked getting it up and running seemed pretty iffy
<manveru> other things, like KDE or Gnome i think might be a lot harder to manager that way though
kenran has joined #nixos
erasmas has quit [Ping timeout: 258 seconds]
vishnusuresh has joined #nixos
kenran has quit [Ping timeout: 265 seconds]
vishnusuresh has quit [Remote host closed the connection]
vishnusuresh has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #81877 → shellcheck: add manpage and docs → https://git.io/Jvwmi
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81878 → dpic: 2019.11.30 -> 2020.03.01 → https://git.io/JvwmX
<lovesegfault> clever: still up?
vishnusuresh has quit [Client Quit]
maddo has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
vishnusuresh has joined #nixos
kenran has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kenran has quit [Ping timeout: 258 seconds]
lsix has quit [Quit: WeeChat 2.7.1]
abathur has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
abathur has quit [Ping timeout: 260 seconds]
lsix has joined #nixos
kenran has joined #nixos
flodeskum has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @WilliButz merged pull request #81757 → [20.03] codimd: 1.5.0 -> 1.6.0 → https://git.io/JvVIh
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to release-20.03: https://git.io/JvwYY
kenran has quit [Ping timeout: 255 seconds]
crsc has joined #nixos
crsc is now known as cr
cr is now known as crsc
lewo has joined #nixos
crsc has left #nixos [#nixos]
vishnusuresh has quit [Ping timeout: 260 seconds]
<mlatus> Now Im curious: why does nix let the server side rather than the client side to choose the priority of each binary substituter?
civodul has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #81854 → nixos/prometheus-*-exporters: minor fixes → https://git.io/JvVhn
<{^_^}> [nixpkgs] @WilliButz pushed 6 commits to master: https://git.io/JvwYK
<{^_^}> [nixpkgs] @dmeijboom opened pull request #81879 → Feature/update and fix pulumi → https://git.io/JvwY6
kenran has joined #nixos
m0rphism has joined #nixos
flodeskum has joined #nixos
kenran has quit [Ping timeout: 258 seconds]
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #81880 → palemoon: 28.8.2.1 -> 28.8.4 → https://git.io/JvwYj
veske2 has joined #nixos
veske has joined #nixos
gila has joined #nixos
morr has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81853 → dbeaver: fix hash → https://git.io/JvVp1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvwOY
<arianvp[m]> Wondered the same myself
gila has quit [Ping timeout: 256 seconds]
<infinisil> Ping niksnut ^^
<{^_^}> [nixpkgs] @marsam merged pull request #81847 → crun: 0.12.2.1 -> 0.13 → https://git.io/JvVNt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvwOZ
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @WilliButz pushed to master « nixos/tests/prometheus-exporters: increase memory for rspamd »: https://git.io/JvwOB
<{^_^}> [nixpkgs] @marsam merged pull request #81856 → topgrade: 4.0.2 -> 4.2.0 → https://git.io/JvVhg
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvwO0
<{^_^}> [nixpkgs] @marsam closed pull request #81855 → tiny: 0.5.1 -> 0.5.2-test → https://git.io/JvVhc
tomberek has quit [Ping timeout: 255 seconds]
flodeskum has quit [Remote host closed the connection]
thc202 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #81846 → youtube-dl: 2020.03.01 -> 2020.03.06 → https://git.io/JvVbV
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvwOy
JonReed has joined #nixos
chloekek has joined #nixos
jgeerds has joined #nixos
siers is now known as ij
<JonReed> Hi, how do I uninstall everything that was installed via `nix-env` and leave only packages from `configuration.nix`?
<{^_^}> [nixos-channel-scripts] @garbas opened pull request #33 → Push channels to s3 bucket (fix) → https://git.io/JvwOb
<JonReed> Nevermind, I didn't notice it in `man nix-env` the first time and now found it.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81881 → gnome3.devhelp: 3.34.0 -> 3.36.0 → https://git.io/JvwOx
<{^_^}> [nixpkgs] @Ma27 pushed commit from @zowoq to release-20.03 « youtube-dl: 2020.03.01 -> 2020.03.06 »: https://git.io/JvwOp
<{^_^}> [nixpkgs] @WilliButz pushed 6 commits to release-20.03: https://git.io/Jvw3l
<{^_^}> [nixpkgs] @nomeata opened pull request #81882 → backport js_of_ocaml: 3.4.0 -> 3.5.2 (and other required changes) → https://git.io/Jvw36
<{^_^}> [nixpkgs] @WilliButz merged pull request #81857 → nixos/prometheus-mikrotik-exporter: init → https://git.io/JvVhw
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to master: https://git.io/Jvw3S
alexherbo2 has joined #nixos
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #81883 → pdf2djvu: 0.9.14 -> 0.9.17 → https://git.io/Jvwso
kenran has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #81877 → shellcheck: add manpage and docs → https://git.io/Jvwmi
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvwGL
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81884 → focuswriter: 1.7.4 -> 1.7.5 → https://git.io/JvwGt
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #81880 → [20.03] palemoon: 28.8.2.1 -> 28.8.4 → https://git.io/JvwYj
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to release-20.03: https://git.io/JvwGM
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #81745 → cherrytree: 0.38.11 -> 0.39.0 → https://git.io/JvVJA
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JvwG9
Makaveli7 has quit [Ping timeout: 272 seconds]
Makaveli7 has joined #nixos
gila has joined #nixos
Shoubit has joined #nixos
orcus has joined #nixos
erasmas has joined #nixos
m0rphism has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #81879 → Feature/update and fix pulumi → https://git.io/JvwY6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvwZ9
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @dmeijboom to release-20.03 « pulumi: 1.4.0 -> 1.12.0 »: https://git.io/JvwZQ
<{^_^}> [nixpkgs] @hedning closed pull request #81881 → gnome3.devhelp: 3.34.0 -> 3.36.0 → https://git.io/JvwOx
<{^_^}> [nixpkgs] @hedning closed pull request #81865 → gnome3.accerciser: 3.34.4 -> 3.36.0 → https://git.io/JvweL
erasmas has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #76123 → pulumi: 1.4.0 -> 1.7.1 → https://git.io/JedRT
<{^_^}> [nixpkgs] @Mic92 closed pull request #77948 → pulumi: 1.4.0 -> 1.8.1 → https://git.io/JvT6b
<Shoubit> Is there a better way to upgrade the single dependency of a package without `.override` or doing something like import <nixpkgs/pkgs/applications/editors/neovim/wrapper.nix> { inherit (pkgs) lib stdenv makeWrapper vimUtils bundlerEnv ruby nodejs nodePackages pythonPackages; python3Packages = mySikPy3Pkgs; }
<{^_^}> [nixpkgs] @Mic92 closed pull request #75870 → pulumi from 1.4.0 > 1.7.1 and update associated plugins → https://git.io/Je5Ih
<{^_^}> [nixpkgs] @Mic92 merged pull request #81884 → focuswriter: 1.7.4 -> 1.7.5 → https://git.io/JvwGt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvwnJ
justanotheruser has quit [Ping timeout: 256 seconds]
<{^_^}> [nixos-homepage] @garbas merged pull request #329 → Update packages-explorer to use relative paths. → https://git.io/Jv2yE
<{^_^}> [nixos-homepage] @garbas pushed commit from @egasimus to master « Update packages-explorer to use relative paths. (#329) »: https://git.io/JvwnZ
<{^_^}> [nixos-channel-scripts] @edolstra merged pull request #33 → Push channels to s3 bucket (fix) → https://git.io/JvwOb
<{^_^}> [nixos-channel-scripts] @edolstra pushed 3 commits to master: https://git.io/Jvwn4
<tilpner_> Shoubit: Why do you want to avoid override?
<{^_^}> [nixos-org-configurations] @edolstra pushed 5 commits to master: https://git.io/Jvwnr
wpcarro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81885 → elisa: 19.12.2 -> 19.12.3 → https://git.io/JvwnK
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<garbas> Shoubit: that is exactly what `.override` function does except that you don't have to know where is the code for the package you are overriding
<Shoubit> tilpner_, my bad, I meant overlays. To be more specific, how do I override python3's withPackages to provide my own set?
<Shoubit> Neovim uses `python3.withPackages` in its buildCommand. The buildCommand is quite large so ideally I'd avoid having to override that. I just want to upgrade a single package of the python3.withPackages set.
<garbas> Shoubit: i thought this case is covered in the manual. have you already looked there? i can totally understand if you havent found the place where this is documented.
tertl3 has quit [Quit: Connection closed for inactivity]
locallycompact has joined #nixos
JonReed has quit [Remote host closed the connection]
<adisbladis> Shoubit: (python3.override { packageOverrides = (pyself: pysuper: { requests = null; }); }).withPackages(ps: [ ps.requests ])
locallycompact has quit [Ping timeout: 268 seconds]
locallycompact has joined #nixos
noudle has quit []
Izorkin has joined #nixos
cmacrae has joined #nixos
<cmacrae> o/ Anyone had any luck packaging hyperkit on Darwin?
<cmacrae> puffnfresh: hope you don't mind the ping, but I see you might've dabbled in this area (at least with VPNKit)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #81774 → shorewall: fix RestartTriggers → https://git.io/JvVOn
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvwCC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81886 → gnome3.gnome-disk-utility: 3.34.4 -> 3.36.0 → https://git.io/JvwCz
<{^_^}> [nixpkgs] @stigtsp opened pull request #81887 → perlPackages.AuthenSCRAM: init at 0.011 → https://git.io/JvwC2
mrCyborg has joined #nixos
rootatarch has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81888 → gnome3.gnome-sudoku: 3.34.1 -> 3.36.0 → https://git.io/JvwCV
fendor has joined #nixos
<{^_^}> [nixops] @adisbladis opened pull request #1244 → script_defs: Remove None assertion → https://git.io/JvwCQ
<cmacrae> Ah, for anyone curious on my above query, this works: https://github.com/nix-community/linuxkit-nix/blob/master/hyperkit/default.nix
<{^_^}> [nixpkgs] @aanderse merged pull request #79957 → godot: 3.1.2 -> 3.2 → https://git.io/JvW4W
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvwCh
flodeskum has joined #nixos
cmacrae has quit [Remote host closed the connection]
flodeskum has quit [Ping timeout: 265 seconds]
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
mrCyborg has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jtojnar closed pull request #81886 → gnome3.gnome-disk-utility: 3.34.4 -> 3.36.0 → https://git.io/JvwCz
kenran has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jtojnar closed pull request #81888 → gnome3.gnome-sudoku: 3.34.1 -> 3.36.0 → https://git.io/JvwCV
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81890 → gnome3.gnome-chess: 3.34.0 -> 3.36.0 → https://git.io/JvwWZ
chagra has joined #nixos
kenran has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #81890 → gnome3.gnome-chess: 3.34.0 -> 3.36.0 → https://git.io/JvwWZ
Neo-- has joined #nixos
zfnmxt_ is now known as zfnmxt
kenran has quit [Ping timeout: 260 seconds]
xkapastel has joined #nixos
o1lo01ol1o has joined #nixos
kenran has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
th0rex has joined #nixos
Poscat[m] has joined #nixos
sgrunert has quit [Remote host closed the connection]
kenran has quit [Ping timeout: 258 seconds]
werner291 has joined #nixos
jperras has quit [Ping timeout: 265 seconds]
p01ar has joined #nixos
Izorkin_ has joined #nixos
unacceptable has joined #nixos
janneke_ has joined #nixos
emilsp has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
janneke_ is now known as janneke
plp_ has joined #nixos
Izorkin has quit [Ping timeout: 265 seconds]
Izorkin_ is now known as Izorkin
monsieurp has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
maurer has quit [Ping timeout: 265 seconds]
Enzime has joined #nixos
pie_[bnc] has joined #nixos
pie_[bnc] has quit [Changing host]
pie_[bnc] has joined #nixos
benedikt93 has joined #nixos
Blessjah has joined #nixos
cmgn has joined #nixos
smove has joined #nixos
m1cr0m4n has joined #nixos
jeschli has joined #nixos
_e has joined #nixos
joehh1 has joined #nixos
chloekek has joined #nixos
kraem has joined #nixos
th0rex has quit [Quit: Leaving]
n1x_ has joined #nixos
jperras has joined #nixos
pingiun has joined #nixos
jeaye has joined #nixos
Freneticks has joined #nixos
maurer has joined #nixos
hl has joined #nixos
hl has joined #nixos
hl has quit [Changing host]
cransom has joined #nixos
erasmas has joined #nixos
<Poscat[m]> Why is nix, a configuration language, uses lazy evaluation?
<Poscat[m]> *does
<Poscat[m]> IMO lazily evaluated languages are more prone to space leaks.
phreedom has quit [Ping timeout: 240 seconds]
erasmas has quit [Ping timeout: 268 seconds]
Communi4810 has joined #nixos
<balsoft> Because it's useful for package management
<balsoft> You don't want to evaluate packages you don't need
kenran has joined #nixos
<gchristensen> Nix's evaluation model is so short there isn't time for a space leak to matter much
phreedom has joined #nixos
xantoz has joined #nixos
ramses_ has joined #nixos
xantoz has quit [Client Quit]
<obadz> balsoft: eager evaluation doesn't mean that you evaluate the whole code base :)
xantoz has joined #nixos
<ramses_> Hey guys, quick question, if I want to share a type (something like types.strMatching "...") between multiple modules in my nixos config, how can I do that? How can I make like a type available to multiple modules? Should I make my own lib-like module which exports these definitions and that I can then import in my modules?
<ramses_> I want to give the same type to multiple options defined in separate modules, without repeating e.g. the regex
<obadz> ramses_: put it in a variable which you import?
<balsoft> obadz: at the same time, it requires a lot more thinking to not do that. With lazy evaluation, it's pretty much OOTB
evils has quit [Read error: Connection reset by peer]
evils has joined #nixos
<balsoft> ramses_: It might make sense to create a new type for that if it's generic enough
<ramses_> obadz: like a lib module containing these definitions? Would it just be a module looking like "{ lib, ... }: { f1 = <...>; f2 = <...>; }" which I then import?
<ramses_> I think I tried this but then f1, f2, need to be defined options
<obadz> ramses_: don't think it needs to be a module? but I'm not an expert.
<ramses_> Ah, or it could just be an attrset that I assign to a var like "my_lib = import my_lib.nix;"
<obadz> that's what I was thinking.
<ramses_> Let me try that, thanks!
fendor_ has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4707311e202 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @FRidh merged pull request #79913 → mkdocs: default to Python 3 → https://git.io/JvCxw
<{^_^}> [nixpkgs] @FRidh pushed commit from @jethrokuan to master « mkdocs: default to Python 3 »: https://git.io/Jvw8y
evanjs- has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has joined #nixos
evanjs has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #81832 → cloudflare-wrangler: 1.7.0 -> 1.8.1 → https://git.io/JvV93
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvw4q
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « spago: disable Hydra build while its marked broken »: https://git.io/Jvw4c
<{^_^}> [nixpkgs] @marsam merged pull request #81624 → radarr: 0.2.0.1450 -> 0.2.0.1480 → https://git.io/Jva3u
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvw4C
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable Hydra builds that don't evaluate »: https://git.io/Jvw4W
<{^_^}> [nixpkgs] @marsam merged pull request #81672 → macvim: 8.1.2234 -> 8.2.319 → https://git.io/JvagH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvw4l
<{^_^}> [nixos-org-configurations] @zimbatm merged pull request #106 → Remove checks for update script for nixos.org website → https://git.io/JvVdf
<{^_^}> [nixos-org-configurations] @zimbatm pushed commit from @garbas to master « Remove checks for update script for nixos.org website (#106) »: https://git.io/Jvw48
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvw4g
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/Jvw4o
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/Jvw4K
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/Jvw4P
<{^_^}> [nixpkgs] @marsam merged pull request #81640 → teamspeak_server: 3.10.2 -> 3.11.0 → https://git.io/Jvacb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvw4X
<{^_^}> [nixpkgs] @marsam closed pull request #78831 → teamspeak_server: 3.10.2 -> 3.11.0 → https://git.io/JvOR3
<pie_[bnc]> oh no.
<pie_[bnc]> looks like we are stuck on qt 5.12 for a while
farn has joined #nixos
veske2 has joined #nixos
veske has joined #nixos
v88m has joined #nixos
tomberek has joined #nixos
<{^_^}> [nixpkgs] @emilazy opened pull request #81891 → nginx: use Mozilla Intermediate TLS configuration → https://git.io/Jvw4y
xelxebar has quit [Remote host closed the connection]
<pie_[bnc]> so, how do I do an FHS-style build of qt?
xelxebar has joined #nixos
Rusty1 has joined #nixos
<pie_[bnc]> yak shave time...
fendor_ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvw4x
<emily> pie_[bnc]: sounds like you're the perfect person to update the qt packages :p
<{^_^}> [nixpkgs] @Mic92 merged pull request #81752 → uwsgi: use pyhome instead of pythonpath for uwsgi vassals → https://git.io/JvVkB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvwBI
<pie_[bnc]> emily: eek ;P
* pie_[bnc] points to all the university studying he should be doig
<{^_^}> [nixpkgs] @Mic92 pushed commit from @alexbakker to release-20.03 « uwsgi: use pyhome instead of pythonpath for uwsgi vassals »: https://git.io/JvwBq
<pie_[bnc]> i hope this patch applies cleanly to shiboken for 5.12 because then i can avoid it...
<pie_[bnc]> this is all for a different yak shave
siiky has quit [Quit: leaving]
kleisli has joined #nixos
abathur has joined #nixos
siiky has joined #nixos
dkijancz has joined #nixos
dkijancz has quit [Client Quit]
<{^_^}> [nixpkgs] @peti pushed 887 commits to haskell-updates: https://git.io/JvwB3
abathur has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-03-06T12:35:04Z »: https://git.io/JvwBC
abathur has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81892 → recursive: 1.042 -> 1.043 → https://git.io/JvwBE
felixfoertsch has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @gebner opened pull request #81893 → elan: 0.7.5 -> 0.8.0 → https://git.io/JvwBg
<{^_^}> [nixos-homepage] @zimbatm pushed 0 commits to flake: https://git.io/JvwBo
fendor_ has joined #nixos
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #81893 → elan: 0.7.5 -> 0.8.0 → https://git.io/JvwBg
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JvwBy
<ramses_> Is it expected behaviour that the following module does not cause a type error: https://gist.github.com/R-VdP/b18a8cc0e1d8180e1f8887af6f500993
<ramses_> name is of type int and I assign it a string, but nix does not complain
<ramses_> Is this a bug?
<ramses_> I just import it in my configuration.nix
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @clkamp opened pull request #81895 → http2tcp: init at 0.4postgit20190303 → https://git.io/JvwBj
Makaveli7 has quit [Quit: WeeChat 2.7.1]
<arianvp> is there a way to make nix say _what_ path it is dumping when you get warning: dumping very large path (> 256 MiB); this may run out of memory
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81896 → gnome3.gnome-robots: 3.34.1 -> 3.36.0 → https://git.io/JvwRf
fendor_ has quit [Ping timeout: 240 seconds]
<immae> ramses_: it will complain as soon as you try to actually use it
tilcreator has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81897 → ghc: 8.8.2 -> 8.8.3 → https://git.io/JvwRL
<{^_^}> [nixpkgs] @ryantm merged pull request #81795 → ibus-engines.table: 1.9.22 -> 1.9.25 → https://git.io/JvVcL
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvwRt
<{^_^}> [nixpkgs] @jtojnar closed pull request #81896 → gnome3.gnome-robots: 3.34.1 -> 3.36.0 → https://git.io/JvwRf
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81898 → gpxsee: 7.22 -> 7.25 → https://git.io/JvwRO
werner291 has quit [Ping timeout: 265 seconds]
jojojojojo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81899 → gnome3.gnome-mahjongg: 3.34.0 -> 3.36.0 → https://git.io/JvwRn
jojojojojo has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #81899 → gnome3.gnome-mahjongg: 3.34.0 -> 3.36.0 → https://git.io/JvwRn
tilcreator has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #81900 → dav1d: 0.5.2 -> 0.6.0 → https://git.io/JvwRW
remirol is now known as lorimer
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
jojojojojo has quit [Remote host closed the connection]
jojojojojo has joined #nixos
linarcx has quit [Ping timeout: 256 seconds]
gustavderdrache has joined #nixos
erasmas has joined #nixos
rsoeldner has quit [Remote host closed the connection]
erasmas has quit [Ping timeout: 255 seconds]
zupo has joined #nixos
kenran has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 closed pull request #80952 → nginx: add EECDH+AESGCM and EDH+AESGCM SSL ciphers → https://git.io/JvEZe
<{^_^}> [nixpkgs] @Mic92 merged pull request #81891 → nixos/nginx: use Mozilla Intermediate TLS configuration → https://git.io/Jvw4y
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvw0o
<{^_^}> [nixpkgs] @eraserhd opened pull request #81901 → gerbil: add wrapper to set GERBIL_HOME → https://git.io/Jvw0K
<{^_^}> [nixpkgs] @Mic92 opened pull request #81902 → [backport] nixos/nginx: use Mozilla Intermediate TLS configuration → https://git.io/Jvw0S
kenran has joined #nixos
butterthebuddha has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
fendor_ has joined #nixos
ramses_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #81903 → spago: not broken → https://git.io/JvwEs
kenran_ has joined #nixos
kenran has quit [Ping timeout: 256 seconds]
kenran_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #81904 → python3Packages.django_compat: fix tests and re-enable → https://git.io/JvwE8
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @gebner opened pull request #81905 → elan: v0.8.0 tag was force-pushed by upstream → https://git.io/JvwE4
kahiru has quit [Read error: Connection reset by peer]
kahiru has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #81905 → elan: v0.8.0 tag was force-pushed by upstream → https://git.io/JvwE4
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JvwEy
werner291 has joined #nixos
kenran has joined #nixos
fendor_ has quit [Remote host closed the connection]
fendor_ has joined #nixos
selfsymmetric-pa has joined #nixos
justanotheruser has joined #nixos
<selfsymmetric-pa> I can't build 20.03 anymore: https://gist.github.com/matthew-piziak/48f233fc3aa08dacd2151bae299e37d7
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<selfsymmetric-pa> `openssl` marked insecure. I don't have `openssl` in my `systemPackages`.
<selfsymmetric-pa> Is it a dependency of something here?
<selfsymmetric-pa> Oh, rsyslogd, okay. Thanks for rubber ducking for me. :)
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<selfsymmetric-pa> Wait I can't run crontabs anymore either?
thc202 has joined #nixos
<evanjs> Hrm. Can't seem to compile something with muslPkgs.callPackage, seemingly due to krb5. Can somebody else confirm?
<evanjs> The only dependency I'm using is cmake in nativeBuildInputs
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81906 → ipset: 7.5 -> 7.6 → https://git.io/Jvwuc
fendor_ has quit [Quit: Leaving]
pinion[m] has left #nixos ["User left"]
<selfsymmetric-pa> Wow this breaks rsyslog, cron, and dbus!
<selfsymmetric-pa> That's a significant proportion of systems. I'm guessing they'll have their openssl dependencies updated in the beta?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #81903 → spago: not broken → https://git.io/JvwEs
gila has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JvwzR
<selfsymmetric-pa> Ah okay looks like the team is on it https://github.com/NixOS/nixpkgs/pull/81851
<{^_^}> #81851 (by dasJ, 16 hours ago, open): libksi: Bump openssl dependency for rsyslogd
<{^_^}> [nixpkgs] @atlaua opened pull request #81907 → nixos/wireguard: Fix typo in error message → https://git.io/Jvwza
kahiru has quit [Ping timeout: 268 seconds]
kahiru has joined #nixos
captn3m0- has joined #nixos
kapil_ has quit [Quit: Connection closed for inactivity]
captn3m0 has quit [Ping timeout: 260 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
waleee-cl has joined #nixos
dm9 has joined #nixos
turion has joined #nixos
<turion> Nixos does not automatically build all crawl all PyPi for python packages?
<turion> What's least painful way to install an executable from PyPi?
<turion> (One that isn't packaged in nixpkgs)
ddellacosta has joined #nixos
<garbas> turion: poetry2nix
<garbas> turion: should have give you the link to the project -> https://github.com/nix-community/poetry2nix
drakonis has joined #nixos
<turion> Thanks, but I've never heard of Poetry in that context before
<turion> Is it similar to pypi2nix?
<turion> I tried pypi2nix so far, but it doesn't seem to give me executables
gila has joined #nixos
Npv has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b719c465f25 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
gila has quit [Ping timeout: 255 seconds]
<turion> garbas: I have no idea how to use poetry & poetry2nix to achieve my goal
<garbas> turion: it is similar but instead of using pip it uses poetry (https://python-poetry.org/)
<turion> garbas: I understand that, but I can't figure out how to use poetry
<garbas> turion: i think then you need to to solve that problem first. i found the documentation of poetry quite nice
<{^_^}> [nixpkgs] @pSub merged pull request #81883 → pdf2djvu: 0.9.14 -> 0.9.17 → https://git.io/Jvwso
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/Jvwgo
<turion> garbas: It just feels like overkill. All I want is some simple executable.
<turion> In any other distro I can just do `pip install csvdiff`
<turion> How can simple things like that still be so hard after years of using nixos...
<garbas> turion: then install pip with nix-env or nix-shell and run that command. i'm not sure what your goal is. saying "i just want some simple executable" can mean many things
philr has quit [Ping timeout: 265 seconds]
<turion> garbas: What could it mean?
rardiol has quit [Ping timeout: 240 seconds]
<garbas> do you want to package it with nix or it is just something you use for the next 5min?
<turion> The latter
<turion> The former I'd have hoped can be automated by crawling PyPi somehow, the same way stackage is crawled for Haskell packages
<garbas> then install virtualenv+pip and use it like in any other distro
<turion> Ok
<garbas> crawling pypi is not possible (too long discussion to go into it)
<garbas> and stackage is manually curated set of haskel packages. if that would exist in python we would already have it in nixpkgs
<turion> Ok that's sad, and I also don't mean to go into that discussion
<garbas> it is a sad discussion indeed :)
<turion> Then the next question is how would I install pip and virtualenv correctly
<garbas> but if you are not doing python development on a daily basis you can appreciate how better your tools are :P
<arcnmx> lovesegfault: hm?
<garbas> nix-shell -p pythonPackages.virtualenv
<garbas> turion: i believe pip comes with virtualenv already
<turion> Yes
<turion> garbas: Neat, thanks :) that nearly works:
<turion> [...] ModuleNotFoundError: No module named 'setuptools'
<turion> $ pip install csvdiff
<turion> So next try is $ nix-shell -p pythonPackages.virtualenv pythonPackages.setuptools
<turion> Ok, now it's getting rich. $ pip install csvdiff
<turion> [...] ERROR: Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/site-packages/Click-7.0.dist-info'
cinimod_ has joined #nixos
<clever> turion: `pip install` wont work on nixos, you must tell nix-shell what you want
<garbas> sorry i thought you are more familiar with python ecosystem and how tools there work
<clever> turion: in this case, you probably want python.withPackages
<garbas> you need to:
<garbas> $ virtualenv env
<garbas> $ ./env/bin/pip install csvdiff
<garbas> then the binarry you are looking for is in ./env/bin
<turion> garbas, clever: I used to do Python dev in olden days, before nixos, poetry, conda and so on. Pip was already new hot stuff to me back then ;)
drakonis has quit [Ping timeout: 272 seconds]
<garbas> and +1 for adding setuptools.
<turion> clever: That package (csvdiff) isn't in nixpkgs unfortunately
<clever> turion: then you need to write a default.nix for it
<turion> garbas: Ahh ok, that makes a lot of sense. Now I'm already at:
<turion> ValueError: ZIP does not support timestamps before 1980
<turion> Yay, seems like UNIX epoch is always there when you need it
<turion> clever: Yeah :/ maybe. I was looking for something simple. Approximately as simple as in any other distro.
<turion> clever: I was hoping pypi2nix would create a suitable default.nix for me, but nope
<turion> garbas: Ah no, if I use virtualenv properly, I don't need to add setuptools. You were right in the first place.
drakonis has joined #nixos
kenran has quit [Ping timeout: 255 seconds]
aveltras has joined #nixos
<turion> garbas: I'm reverting what I said before. This is highly confusing. I'm doing the following:
<turion> $ nix-shell -p python3Packages.virtualenv
<turion> [...]ValueError: ZIP does not support timestamps before 1980
<turion> $ env/bin/pip install csvdiff
<turion> $ virtualenv env
erasmas has joined #nixos
<garbas> turion: do this before pip install line
<garbas> export SOURCE_DATE_EPOCH=315532800
* garbas hopes he doesn't need to explain why :)
<LnL> perhaps we should also add that python setup-hook to virtualenv
<garbas> LnL: +1
<turion> Sounds reasonable
<turion> garbas: Horray, now installing works! Thanks!
<turion> And now *drumroll*
Kaligule has joined #nixos
<turion> $ csvdiff
<turion> csvdiff: command not found
Kaligule has quit [Remote host closed the connection]
<turion> Is this the point where I find out that this is an upstream bug after all?
Kaligule has joined #nixos
<turion> Or did I forget to pass the --frobnicate-executables option to pip?
<garbas> ./env/bin/csvdiff
erasmas has quit [Ping timeout: 256 seconds]
<garbas> it is placed in that virtual python environment that you created in the begginging
<turion> garbas: *facepalm* Yes. Thanks.
kenran has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7218f3a791c (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kenran has quit [Ping timeout: 255 seconds]
logzet has joined #nixos
<coderobe> trying to get nixops running on a system without nix runtime, attempting to use https://github.com/matthewbauer/nix-bundle but i'm getting really weird execvp errors - now trying the nix2appimage from in there. does anyone have a clue why that might be broken? also cc clever, i think you may have looked at this in the past ;)
tertl3 has joined #nixos
kahiru has quit [Ping timeout: 255 seconds]
erasmas has joined #nixos
kahiru has joined #nixos
opthomasprime has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
chloekek has quit [Quit: WeeChat 2.7]
<turion> garbas: Thanks for your help!
noj has joined #nixos
myskran has joined #nixos
abathur has quit [Ping timeout: 256 seconds]
RRedcroft has joined #nixos
armin has joined #nixos
turion has quit [Ping timeout: 255 seconds]
Kaligule has quit [Ping timeout: 260 seconds]
th0rex has joined #nixos
orivej has joined #nixos
turion has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/815dd784b65 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<abbe> hi
vidbina has joined #nixos
<abbe> how does this disallowedReferences works ?
<tilpner_> abbe: You set a thing your derivation outputs are not allowed to reference, and the build fails if they do
<abbe> in what way are they not allowed to reference ?
<abbe> like they are not allowed to contain the string of the reference in one of the files ?
<abbe> e.g. I'm getting this error when building Python 3.7
<abbe> output '/nix/store/6m7fbc1g4hj1zfpqwpix9prdasgn56zd-python3-3.7.6' is not allowed to refer to the following paths: /nix/store/b2dk08srh1i8qnr5rizadmr1pa77n2b1-openssl-1.1.1d-dev
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
opthomasprime has left #nixos [#nixos]
<tilpner_> Yes, it scans for the store path (or hash, not entirely sure)
<abbe> openssl-1.1.1d-dev has no .so files, only header files, or pkgconfig files
<{^_^}> [nixpkgs] @danieldk opened pull request #81911 → cargo-asm: 0.1.17 -> 2019-12-24 → https://git.io/Jvway
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
<abbe> strangely this disallowedReferences is not present for Python 2.7, so that gets installed, but not 3.7 :/
RRedcroft has quit [Ping timeout: 255 seconds]
sigmundv has quit [Ping timeout: 256 seconds]
lovesegfault has quit [Ping timeout: 258 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
abathur has joined #nixos
gila has joined #nixos
myskran has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos
gila has quit [Ping timeout: 240 seconds]
Tucky has quit [Quit: WeeChat 2.7.1]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2ec23b2e2fc (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/815dd784b65 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
dm9 has quit [Quit: WeeChat 2.7.1]
andreas31 has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
jb55 has joined #nixos
<softinio[m]> @clever I get
oida has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
eyJhb has joined #nixos
th0rex has quit [Quit: Leaving]
vidbina has quit [Ping timeout: 260 seconds]
nwops has joined #nixos
<clever> softinio[m]: add -A to that search command i believe
<softinio[m]> Ah only lists 10.16.0 version
<{^_^}> [nixpkgs] @WilliButz pushed commit from @Frostman to release-20.03 « snmp_exporter: 0.15.0 -> 0.17.0 »: https://git.io/JvwVK
<clever> softinio[m]: i'm not sure where its finding 12 from then
<softinio[m]> Also did nix-channel —list and it does list unstable channel
<clever> softinio[m]: but when did you last update the channels?
<clever> softinio[m]: `nix eval nixpkgs.lib.version` ?
<softinio[m]> Yeah weird when I do nix-env -was it lists it but not when I use A
<softinio[m]> Yesterday
<clever> softinio[m]: echo $NIX_PATH?
<softinio[m]> "19.09pre177248.ed1b59a98e7"
<softinio[m]> darwin-config=/Users/salarrahmanian/.nixpkgs/darwin-configuration.nix:/nix/var/nix/profiles/per-user/root/channels:/Users/salarrahmanian/.nix-defexpr/channels:/Users/salarrahmanian/.nix-defexpr/channels:/Users/salarrahmanian/.nix-defexpr/channels
sixx has joined #nixos
<softinio[m]> clever: ^^
<clever> softinio[m]: roots channels have priority, so what does `sudo -i` then `nix-channel --list` report?
VanCoding has joined #nixos
turion has quit [Quit: Leaving.]
<sixx> sooo, I'm wanting to deploy a web server on a remote machine. there's nix-copy-clojure for installing software. can setting up a service work the same way? also thinking about a nix-container maybe.
<clever> sixx: sounds like you want nixops
<o1lo01ol1o> sixx: nixops plus nix-copy-closure with your derivation setup as a systemd service
<o1lo01ol1o> (terrform / cloudformation is more scalable if you work with a team, though.)
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<clever> o1lo01ol1o: though baremetal nixops can team-scale without much management of the state
<o1lo01ol1o> clever: what do you mean by baremetal? I like nixops but there's a couple points where it's not so great. Teams are one, certain AWS configurations are another (ie, vpns on RDS instances)
<sixx> ok I should read up on nixops, and also making a service in nix. the latter seems to be something you do in your configuration.nix, not just an expression in the nix store. I guess nixops is oriented towards setting up services.
<clever> o1lo01ol1o: using nixops against a machine that nixops didnt provision
<o1lo01ol1o> ah, right
<clever> sixx: nixops is mainly for deploying a configuration.nix to a remote box, and optionally creating hardware in the cloud
<softinio[m]> clever: I get nothing back when I do that. Note that I am using nix on MacBook with nix-Darwin
<{^_^}> [nixpkgs] @ajs124 opened pull request #81912 → notable: 1.7 -> 1.8 → https://git.io/JvwVd
<sixx> ok sounds perfect
<clever> softinio[m]: nix-instantiate --find-file nixpkgs
VanCoding has quit [Remote host closed the connection]
<clever> sixx: nas.nix and router.nix are basically just configuration.nix files, for 2 different machines
<clever> sixx: lines 12 and 16 tell nixops what to ssh into when deploying
buckley3103 has quit [Quit: The Lounge - https://thelounge.chat]
<clever> sixx: then you just `nixops create -d name house.nix` and `nixops deploy -d name`
buckley310 has joined #nixos
<softinio[m]> clever: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<clever> sixx: when doing it with the none backend (as shown here), you need to take care that all of the config for fileSystems."/" is present in the file, or it will loose the ability to boot
<{^_^}> [nixpkgs] @ajs124 opened pull request #81913 → mstflint: 4.4 -> 4.13 → https://git.io/JvwVh
<clever> sixx: as root, `cat ~/.nix-channels`
<clever> softinio[m]: oops, ^
<softinio[m]> No file or directory when I do that
<clever> softinio[m]: ls -l /nix/var/nix/profiles/per-user/root/channels /nix/var/nix/db/big-lock
opthomasprime has joined #nixos
<softinio[m]> That directory doesn’t exist after channels there is a Darwin directory and a nixpkgs
<{^_^}> [nixpkgs] @doronbehar opened pull request #81914 → sequoia: 0.14.0 -> 0.15.0 → https://git.io/Jvwwc
<clever> softinio[m]: nix-instantiate said it does exist
<softinio[m]> Let me try again
bvdw has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<softinio[m]> The path you gave has nix instantiate says nixpkgs so that must be it let do it with that
bvdw has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> when I use builtins.fetchGit on any commit other than current master
<fresheyeball> I get the following error
<softinio[m]> When you go there no var directory
<fresheyeball> fatal: not a tree object:
<clever> softinio[m]: what is the exact error it gave?
<fresheyeball> any idea? Why can't I fetch an arbitrary revision?
<softinio[m]> clever: error for what ?
<clever> fresheyeball: you must tell fetchgit what branch the rev is part of
<LnL> fresheyeball: git doesn't allow that by default
<fresheyeball> clever: its on master
<fresheyeball> I am using fetchGit with a capital G
boxscape has joined #nixos
<fresheyeball> clever: how would I tell it what branch?
<clever> fresheyeball: ref = "branch";
<fresheyeball> clever: same error
<LnL> fresheyeball: you have to specify both the ref (eg. branch) as well as the revision https://nixos.org/nix/manual/#builtin-fetchGit
zupo has joined #nixos
Npv has quit [Remote host closed the connection]
<fresheyeball> ok it worked
<fresheyeball> thanks, I didn't know about ref, and got confused between fetch gits
<LnL> the naming is also rather subtile :)
<coderobe> trying to get nixops running on a system without nix runtime, attempting to use https://github.com/matthewbauer/nix-bundle but i'm getting really weird execvp errors - now trying the nix2appimage from in there. does anyone have a clue why that might be broken? also cc clever, i think you may have looked at this in the past ;)
ZamaneKz[m] has joined #nixos
kenran has joined #nixos
<clever> coderobe: why are you unable to use nix on the host?
<coderobe> i just dont want to set up nix on a particular host
<coderobe> ... also having nix-bundle work in general would be kinda nice..
<clever> coderobe: getting nix itself to work in nix-bundle is tricky
<coderobe> clever: yeah but also the hello world example from the nix-bundle readme fails in the same way
<coderobe> which, presumably, does not make extensive use of nix :p
<clever> coderobe: if you use strace to run the bundle, what errors does execve give?
GodZalo has joined #nixos
infinisil has joined #nixos
rootatarch has quit [Quit: WeeChat 2.7.1]
GodZalo has quit [Ping timeout: 268 seconds]
nwops has quit [Quit: nwops]
<coderobe> clever: >execvp(/nix/store/4w99qz14nsahk0s798a5rw5l7qk1zwwf-hello-2.10/bin/hello): No such file or directory
civodul has joined #nixos
<clever> coderobe: does that path exist within the bundle?
<simpson> That's curious. Maybe the kernel doesn't allow user namespacing?
domogled has joined #nixos
cidkid has joined #nixos
blaggacao has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @eamsden closed pull request #61500 → llvmPackages_6.compiler-rt: Backport cross-compilation fixes... → https://git.io/fjlTR
blaggacao has joined #nixos
sixx has quit [Remote host closed the connection]
<coderobe> clever: hm, doesn't actually seem like it
<coderobe> though i have no clue
<coderobe> does it work for you?
<coderobe> simpson: are user namespaces enabled by default on nixos?
<colemickens> Did anyone move from NM to ConnMan? I'm so happy with IWD that I'm thinking of giving it a shot.
<simpson> coderobe: I think so. But I don't know about the system that you're running on. I can't reproduce your problems; nix-bundle WFM on my NixOS laptop.
<coderobe> i'm trying it on a rather empty nixos stable 19.09
<Shell> well, it doesn't work on my nixos laptop either o.O
<Shell> so, weird.
knupfer has joined #nixos
<coderobe> simpson: are you running the git master HEAD or the one in nixpkgs?
<coderobe> fwiw neither work for me, but there may be differences
linarcx has joined #nixos
<simpson> From nixpkgs.
cosimone has joined #nixos
kleisli has quit [Ping timeout: 265 seconds]
<coderobe> simpson: and what nix channel are you on?
* coderobe trying to reproduce..
kenran has quit [Ping timeout: 265 seconds]
<cole-h> Anybody using sway from the nixpkgs-wayland overlay: does your `sway --version` come with a git rev, or does it just say 1.4?
shibboleth has joined #nixos
<colemickens> It will just say 1.4 :/
<simpson> coderobe: I'm on commit a1d487872378e1ea5b0be68c1b2ef4b8cb5558c4 from Jan 11. I did $(nix-shell -p nix-bundle --run 'nix-bundle hello /bin/hello') and it produced a working ./hello.
<colemickens> They used to take the sway version as a meson variable and when they dropped that I was too annoyed to go back to patching the version cole-h.
<colemickens> But they probably don't appreciate that if they get bug reports from nixpkgs-wayland users... if you open an Issue I'll fix it eventually (patches welcome of course)
<Shell> simpson: I am on some arbitrary version of nixos-unstable, last updated fairly recently, and get... https://alterednarrative.net/share/3b19f506848d111b535c6793f3607be14f4692e88aa9cd3e1559a7b4fea54849 - same error as on coderobe's nixos-19.09
<coderobe> yeah that's the same i get running simpson's command
<coderobe> with git master HEAD instead of the nixpkgs version i get the (broken?) file and execvp error
<simpson> nix-user-chroot won't build? That'd be a problem. nix-user-chroot is one of the tools underneath nix-bundle.
shafox has quit [Remote host closed the connection]
<fresheyeball> are there good docs for adding assertions to my nix code?
<fresheyeball> I want to ensure some invariants
<colemickens> cole-h: I'm not a big meson guy, it used to be parameterized higher up
<colemickens> cole-h: if it's possible to just set mesonFlags and set SWAY_VERSION, I'm certainly open to that.
tertl3 has quit [Quit: Connection closed for inactivity]
<cole-h> Testing, please hold :P
ris has joined #nixos
<cole-h> :(
<emily> it won't
<emily> you need to just patch version: '1.4'
<emily> would be nice if meson supported some version override env/arg
<emily> but I don't think it does
<colemickens> I think I didn't want to figure out the sed line, was feeling real lazy.
copy` has joined #nixos
nwops has joined #nixos
<colemickens> wow, I've been doing this overlay longer than I thought, they had a "sway-version" flag but its been gone for 13 months now.
<emily> why would you remove such a thing...
<emily> they didn't have the version in the file at all previously
<emily> i'd like to think upstream would be amenable to adding it back in for overrides but who knows
<cole-h> Just gotta use fetchgit with leaveDotGit: sway version 1.4-c0811fc (Jan 1 1970, branch 'fetchgit')
<cole-h> :P
<colemickens> It may have been at at time when they didn't want packaging and/or it ought to not be an issue for normal releases that get packaged, so I took it as a nixpkgs-carry-able patch. Slash didn't feel like the social capital to try to push.
<colemickens> I'd prefer to get the version from Nix (since we know the rev) rather than add/invoke git again.
<colemickens> maybe something like `preConfigure = '' sed -i 's/version: '(/d+)'/version: ${rev}/g' ''; `
<cole-h> `sed "s/version: '.*',/version: 'lol',/"`
<colemickens> haha, yes.
<cole-h> Gotta keep in mind the point :P
fragamus has joined #nixos
<cole-h> Does sed support capture groups?
<cole-h> Yes it does
thc202 has quit [Ping timeout: 260 seconds]
<cole-h> And also need to keep in mind there is a `meson_version`, so we can't use that naive sed above
blaggacao has quit [Read error: Connection reset by peer]
blaggacao has joined #nixos
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
vidbina has joined #nixos
nwops has quit [Quit: nwops]
orivej has quit [Ping timeout: 265 seconds]
<cole-h> colemickens: `sed "s/\([ \t]\)version: '\(.*\)',/\1version: '\2-rev (date, branch \\\'master\\\')',/"` Here's my brief attempt
wildtrees has quit [Client Quit]
wildtrees has joined #nixos
nwops has joined #nixos
<cole-h> ;d
<colemickens> ./result/bin/sway --version
<colemickens> sway version 1.4
<colemickens> Hmm
gila has joined #nixos
<colemickens> oops, I didn't realize which syntax you gave me
<cole-h> lol, `-i meson.build` or whatever
<symphorien> I am using xfce, which comes with a stripped down version of gvfs, how can I get the full one (with webdav support) ?
orivej has joined #nixos
<colemickens> cole-h Github username?
<cole-h> Same
<cole-h> :-)
<{^_^}> colemickens/nixpkgs-wayland#203 (by colemickens, 9 seconds ago, open): sway: patch version
sigmundv has joined #nixos
nwops_ has joined #nixos
nwops has quit [Ping timeout: 268 seconds]
nwops_ is now known as nwops
<cole-h> colemickens: One more change inc, sec
copy_ has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 256 seconds]
pikajude has quit [Quit: ZNC 1.7.5 - https://znc.in]
<cole-h> colemickens: Not that it really matters, but it would be nice to see the same format :)
nixy- has quit [Quit: ZNC 1.7.4 - https://znc.in]
<colemickens> "the same format" - as ?
<colemickens> oh, gotcha
<cole-h> What sway does when built from git lol
<cole-h> Yeah
nixy has joined #nixos
nixy371 has joined #nixos
<colemickens> next time you have to send the PR though ;)
<cole-h> :D
<cole-h> I'll send a PR to your PR
<colemickens> also, thank you
<cole-h> What started out as a sanity check ended up as something useful :D Happy to help
<colemickens> hm can we date munge in nix? might not be worth the effort
reallymemorable has quit [Quit: reallymemorable]
reallymemorable has joined #nixos
nwops has quit [Quit: nwops]
fragamus has quit [Ping timeout: 240 seconds]
reallymemorable has quit [Client Quit]
<cole-h> colemickens: Yep. Haven't updated recently, so mine is still `sway version 1.4-f2a60d2d (Feb 24 2020, branch 'master')`, but that looks to match.
<cole-h> (Weirdest thing is that `git rev-parse --short HEAD` gives me 7 characters, while the sway binary displays 8 characters...)
captn3m0- has quit [Quit: ZNC 1.7.5 - https://znc.in]
copy_ has quit [Remote host closed the connection]
<emily> it's easy enough to just write a git format thing to give you the right date/etc. info
<emily> and store that in the derivation
copy_ has joined #nixos
<emily> (and put the command in a comment for updates)
copy_ has quit [Remote host closed the connection]
<emily> probably easier than trying to reconstruct it
copy_ has joined #nixos
captn3m0 has joined #nixos
gilligan_ has joined #nixos
<colemickens> good point, I'll just pull it from what they do https://github.com/swaywm/sway/blob/master/meson.build#L137
<colemickens> oh, but then I have to keep the .git
<cole-h> Yeah
<colemickens> I don't know if I care that much :/
<colemickens> plus this way I get to keep more bash in my nix and I mean, :)
<cole-h> Tbh I think it's fine since you already have the date and commit stuff on hand in metadata.nix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81916 → libreswan: 3.30 -> 3.31 → https://git.io/JvwoP
<cole-h> Also, is `date` available by default?
Kaligule has joined #nixos
<cole-h> It's a part of coreutils. Dunno if that's always pulled in or not
<colemickens> idk, apparently coreutils is available by default
<cole-h> Then we should be g2g
<colemickens> I'm on nixos and it builds in the sandbox, so it should be fine.
<cole-h> colemickens++
<{^_^}> colemickens's karma got increased to 12
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JvwoM
gilligan_ has quit [Quit: Leaving]
<cole-h> Woot! Beautiful :) Now I'll know that the overlay works properly :P
<cole-h> s/I'll/I
<colemickens> sway version 1.4-1ccbbb25 (Mar 04 2020, branch 'xwayland_hidpi')
gilligan_ has joined #nixos
gilligan_ has quit [Remote host closed the connection]
<Kaligule> Hello, I would like to install nixos on a T430S Thinkpad from a stick for the first time. I am no stranger to the commandline, but I am to filesystems and hardware so I tried to follow this guide (which is more detailed than the manual): https://alexherbo2.github.io/blog/nixos/install-guide/ Unfortunatelly, when I tried to create new partitions
<Kaligule> with Gparted the only filesystems that where shown as available where "minix" and "linux-swap". both fat32 and ext4 were greyed out. This holds me back from trying out nixos for now. Can someone help me find out what the problem is, please?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d3f3e83c47d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cosimone has quit [Quit: Quit.]
nwops has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
opthomasprime has quit [Remote host closed the connection]
nwops has quit [Quit: nwops]
<{^_^}> [nixpkgs] @colemickens opened pull request #81917 → firefox: wrapper: add libva to libs → https://git.io/JvwK4
<Shell> clever: so it turns out that the issue with nix-bundle master from earlier is... at some point, a bug in Nix re exportReferencesGraph was fixed. nix-bundle depends on this bug not being fixed. I now have a very hacky version of nix-bundle that works again. :p
<colemickens> Kaligule: generally you will need to delete partitions first
M-Gregoire495 has joined #nixos
<colemickens> Kaligule: if you've previously had an OS on there, etc.
<colemickens> Kaligule: this is of course, destructive, you should backup any data before proceeding, etc.
M-Gregoire495 has quit [Remote host closed the connection]
claudiii has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « git-annex: enable the s3 flag again now that 'aws' compiles »: https://git.io/JvwK0
flodeskum has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: enable all 'aws' builds »: https://git.io/JvwKg
jojojojojo has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 260 seconds]
flodesku_ has joined #nixos
<Kaligule> colemickens: Interesting. I have an old Fedora installation there and no data to loose. I tried to clean the partitions with "wipefs" but it didnt work so I skiped that part.
<Kaligule> now that I think about it, perhaps that wasn't clever.
<colemickens> I dont' think wipefs actually changes anything in the part table though
<colemickens> That guide does not list the steps I'd expect to see where I'd normally remove existing partitions.
<colemickens> (from the brief glance I took)
vidbina has joined #nixos
flodeskum has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvwK6
<Kaligule> colemickens: Ohh, so how _would_ I remove those? The manual from nixos uses a bunch of crazy commands that scare me, so I thought using Gparted would be a good idea.
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
flodesku_ has quit [Ping timeout: 258 seconds]
<colemickens> barring a very strange circumstance, and assuming you don't care about the data, what is there to be afraid of?
<colemickens> worst case, you start over and hopefully learn where/what went wrong :)
<colemickens> I don't hvae gparted installed and don't know, but generally in those tools you'll select a partition and then an action, or an action and then a partition.
<Shell> is there any way I can work out what Nix version a certain release of NixOS shipped with? not finding its derivation in nixpkgs...
<colemickens> I'd recommend you poke at it and see if you can figure out how to remove them inside gparted first and if not we can Google it or check the manpages or I can install it :)
<Kaligule> colemickens: Thats right. I just learned not to type anything into the terminal as root if I don't understand it.
<{^_^}> [nixpkgs] @jonringer opened pull request #81918 → pulumi: use autoPatchelfHook → https://git.io/JvwKM
<Shell> oh, finally found it in pkgs/tools/package-management/nix
<Kaligule> I will try to be more couragous. Thank you for now, kind stranger.
<clever> Shell: ahh
chagra has quit [Quit: WeeChat 2.7.1]
cole-h has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @xzfc opened pull request #81919 → cached-nix-shell: init at 0.1.1 → https://git.io/JvwK7
chagra has joined #nixos
mrCyborg has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #81900 → dav1d: 0.5.2 -> 0.6.0 → https://git.io/JvwRW
<{^_^}> [nixpkgs] @primeos pushed to master « dav1d: 0.5.2 -> 0.6.0 (#81900) »: https://git.io/JvwKA
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81920 → libxmlb: 0.1.14 -> 0.1.15 → https://git.io/JvwKh
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b417adb48b1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
alexfmpe[m] has joined #nixos
stites has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #81818 → [19.09] signal-desktop: 1.31.0 -> 1.32.0 (backport) → https://git.io/JvVaG
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/Jvw6n
<alexfmpe[m]> my /root/.cache/nix/binary-cache-v6.sqlite seems slightly broken, is it safe to delete?
<Kaligule> colemickens: So after not getting it done in GParted (probably because I know too little about how filesystems and disks work) I decided that using the commands from the manual couldn't be too bad as long as I type them in myself. That way I would at least get an idea of what is happening. I don't know why but all the problems I had with Gparted
<Kaligule> just didn't appear. I thank you as much as I can and will now continue in my quest to install nixos. Have a wonderfull evening/morning/night.
<alexfmpe[m]> getting this for some derivations, but not for others :
<alexfmpe[m]> error: executing SQLite query 'select present, namePart, url, compression, fileHash, fileSize, narHash, narSize, refs, deriver, sigs, ca from NARs where cache = ? and hashPart = ? and ((present = 0 and timestamp > ?) or (present = 1 and timestamp > ?))': database disk image is malformed (in '/root/.cache/nix/binary-cache-v6.sqlite')
<clever> alexfmpe[m]: you can just `rm /root/.cache/nix/binary-cache-v6.sqlite*`
<colemickens> Kaligule: happy to hear it. good luck on your nixos journey, we'll be here.
<clever> alexfmpe[m]: that file is re-created any time its missing
vidbina has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @symphorien opened pull request #81921 → Paperwork update → https://git.io/Jvw68
<alexfmpe[m]> thanks, here goes nothing
<{^_^}> [nixpkgs] @jonringer merged pull request #81904 → python3Packages.django_compat: fix tests and re-enable → https://git.io/JvwE8
<{^_^}> [nixpkgs] @jonringer pushed commit from @lsix to master « python3Packages.django_compat: fix tests and re-enable »: https://git.io/Jvw6B
cidkid has quit [Ping timeout: 255 seconds]
<{^_^}> [nixops] @grahamc opened pull request #1245 → Deploy targets start → https://git.io/Jvw60
cidkid has joined #nixos
<clever> alexfmpe[m]: and because of how disposable the file is, nix disabled all atomic logic in sqlite to make it perform better, which opens the risk of it becoming corrupt
cole-h has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #81321 → [20.03] Remove trv → https://git.io/JvgLh
<{^_^}> [nixpkgs] @vbgl pushed 5 commits to release-20.03: https://git.io/Jvw6z
<alexfmpe[m]> indeed, my derivations are now unborked and the binary-cache file got recreated
<alexfmpe[m]> thanks, this was driving me nuts
<{^_^}> [nixpkgs] @mjlbach opened pull request #81922 → Enable nvidia-optical-flow-sdk when building opencv4 wih cuda → https://git.io/Jvw6g
Neo-- has quit [Ping timeout: 240 seconds]
<clever> alexfmpe[m]: i ran into the exact same problem on an rpi, many years ago
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
vidbina has joined #nixos
jojojojojo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 31 commits to haskell-updates: https://git.io/Jvw6X
<icey_> can hydra be triggered on-demand? Or asked differently. Can I ask another machine to materialize a `nixos-rebuild` for me? (Slow laptop is not cool for compiling some larger packages)
<clever> icey_: add a build machine
<{^_^}> [nixpkgs] @peti pushed 29 commits to haskell-updates: https://git.io/Jvw6S
cosimone has joined #nixos
<icey_> oh right, I forgot. It's supported out of the box, right?
<clever> icey_: with that, nix will make other machines help out with the build
<icey_> clever: thanks
<{^_^}> [nixpkgs] @vbgl opened pull request #81923 → [20.03] ocaml-ng.ocamlPackages_4_10.ocaml: 4.10.0+β2 → 4.10.0 → https://git.io/Jvw6H
<clever> icey_: that is also what hydra itself uses, to know where to send the jobs
<icey_> neat
<icey_> I'm trying to find some way of making gentoo behave on my laptop, but it really feels like nixos is somewhere between one and two decades ahead
<icey_> this being a good example
<icey_> basically I'm trying to understand why one would run gentoo and failing so far ;-(
<{^_^}> [nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/Jvw6A
<icey_> nixos seems so polished in comparison
<clever> :D
<clever> and that is why i now use nixos on every new install
<icey_> yup :D
<icey_> i spent several days getting zfs to work on the laptop
fresheyeball has quit [Quit: WeeChat 2.6]
<icey_> chromium, alacritty and xmonad took 20+ hours to build
<icey_> once I got too fed up, I took my nixos config...
<clever> icey_: with nixos, its trivial to do a zfs root, and chrome is in the binary cache
<benley> holycrap why do you need to build chromium from source?
<icey_> about 30 minutes to set up the datasets
<icey_> another 30 minutes to apply all my config
<benley> oh that was on gentoo wasn't it
<clever> benley: gentoo lacks binary caches
<icey_> and the machine is fully done again
<qyliss> Chrome is in the binary cache? Isn't it non-free?
<colemickens> I'd rather spend time maintaining (my) nixpkgs than re-installing debian|arch|windosw and doing first-time-setup for 1-2 hours.
<benley> gotcha :-)
<clever> qyliss: chromium is in the cache, thats the open source build
<qyliss> oh, right.
<icey_> well, I just did a vanilla install by the handbook
<icey_> so it didn't use binary caches
<colemickens> google-chrome-dev is too though, must be redistributable?
<qyliss> > pkgs.google-chrome-dev.meta.license
<{^_^}> { free = false; fullName = "Unfree"; shortName = "unfree"; }
<icey_> at any rate, there was one! package that had to be built
<qyliss> That shouldn't be in the binary cache
<icey_> virtualbox for whatever reason wasn't cached
<qyliss> colemickens: sure you're not just using Google's binary?
<icey_> the rest of the system was just downloaded
<colemickens> oh, maybe I just don't notice if it just downloads/unzips. or rather my CI job might be pushing it to cachix anyway
<colemickens> qyliss: yeah, I think it's a nixpkgs pkgs that just downloads google's bin, somehow I thought it was cached in cache.nixos.org but I was wrong.
iclanzan has joined #nixos
vidbina has quit [Ping timeout: 255 seconds]
<icey_> the one thing i'm not sure is if I should be running unstable or 20.03 for the main system
<icey_> bleeding edge is not the same in nixos than any other distro, really :P
<fionera> How would I add this overlay so I can install a package into my user env? https://github.com/colemickens/nixpkgs-wayland
stites has quit [Remote host closed the connection]
<colemickens> Oh I shouldn't have removed the instructions I had on that page.
<cole-h> Have you seen https://nixos.wiki/wiki/Overlays?
<colemickens> The NixOS wiki page is meant to help with that. ^^ yeah.
<fionera> Ah wait didnt worked last time i tried
<fionera> one sec
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/JvwiZ
<selfsymmetric-pa> I figured out my cognitive dissonance around overlays. I never use them. And I think it's because for a single configuration, overlays can always be flattened into a single `overrideAttrs`, which is more denotational.
<Kaligule> Bye, and thanks for everything
Kaligule has quit [Remote host closed the connection]
<selfsymmetric-pa> If I were maintaining a collection of flavors for a team, then I would find a use for overlays, but yeah.
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Jvwin
<{^_^}> [nixpkgs] @jtojnar merged pull request #81920 → libxmlb: 0.1.14 -> 0.1.15 → https://git.io/JvwKh
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvwiW
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/JvwiR
<selfsymmetric-pa> `overrideAttrs` semantically says "install steam, but with libva". Overlays say: "if steam is installed somewhere else in the configuration, install it with libva".
<selfsymmetric-pa> The former is cleaner for a single user.
duairc has quit [Ping timeout: 240 seconds]
duairc has joined #nixos
ambroisie has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #81924 → Samba 4.12.0 → https://git.io/Jvwiz
pepesza has quit [Ping timeout: 260 seconds]
<cole-h> I prefer overlays tbh. It looks cleaner. But I do get that it can make it more confusing, because you don't know which package you're using -- the overlayed or the original
pepesza has joined #nixos
<selfsymmetric-pa> cole-h: Precisely the issue. Overlays are more _general_ but I don't need any of their usecases.
<cole-h> Fair
<{^_^}> [nixpkgs] @bachp opened pull request #81925 → plex: 1.18.7.2438 -> 1.18.7.2457 → https://git.io/Jvwio
<selfsymmetric-pa> I struggled for a while to understand why the community used overlays everywhere. It felt like I had missed some memo. It feels good to have reached a personal conclusion there.
<selfsymmetric-pa> Maybe I should write a comparison doc or something, or a paragraph in https://nixos.wiki/wiki/Overlays
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81926 → libqmi: 1.24.4 -> 1.24.6 → https://git.io/Jvwi6
<fionera> cole-h: I get an error when I try to import it via fetchTarBall
<fionera> I do this `( import (builtins.fetchTarball { url = "https://github.com/Ma27/nixpkgs/archive/master.tar.gz"; } ) {})`
<selfsymmetric-pa> I don't have globals in my configuration. No nix-path stuff. Instead, pinned channels and no overlays. Every expression is evaluated according to the expressions in its definition.
<selfsymmetric-pa> y'know, denotationally
abathur has quit [*.net *.split]
v88m has quit [*.net *.split]
plp_ has quit [*.net *.split]
p01ar has quit [*.net *.split]
jD91mZM2 has quit [*.net *.split]
exfalso has quit [*.net *.split]
fendor has quit [*.net *.split]
infty has quit [*.net *.split]
MoreTea has quit [*.net *.split]
jonge has quit [*.net *.split]
ent has quit [*.net *.split]
codezero has quit [*.net *.split]
ivegotasthma has quit [*.net *.split]
<selfsymmetric-pa> Downside: lack of mixin configuration flavors. But I am only one user, so that is fine.
<cole-h> ,tell fionera Try removing the last `{}` -- `(import (builtins.fetchTarball { url = ".."; }))`
<{^_^}> cole-h: I'll pass that on to fionera
fendor has joined #nixos
p01ar has joined #nixos
plp_ has joined #nixos
jD91mZM2 has joined #nixos
v88m has joined #nixos
ajs124 has joined #nixos
abathur has joined #nixos
exfalso has joined #nixos
leothrix has joined #nixos
sleepingforest has joined #nixos
toppler` has joined #nixos
fionera has joined #nixos
octe has joined #nixos
ptrcmd has joined #nixos
mrpi has joined #nixos
never_released has joined #nixos
dirkx_ has joined #nixos
multun has joined #nixos
romanofski has joined #nixos
choward has joined #nixos
mkaito_ has joined #nixos
infty has joined #nixos
travelion7 has joined #nixos
packer has joined #nixos
davidcl has joined #nixos
meck has joined #nixos
barrucadu has joined #nixos
devalot has joined #nixos
callahad8707 has joined #nixos
lukash|away has joined #nixos
inf has joined #nixos
dooms has joined #nixos
otulp has joined #nixos
mupf has joined #nixos
MoreTea has joined #nixos
zemm has joined #nixos
ikwildrpepper has joined #nixos
ivan has joined #nixos
trulsa has joined #nixos
f18d7dc7 has joined #nixos
trfl_ has joined #nixos
jonge has joined #nixos
johnny101 has joined #nixos
ent has joined #nixos
AWizzArd has joined #nixos
commander has joined #nixos
epta has joined #nixos
thommey has joined #nixos
andromeda-galaxy has joined #nixos
lux1 has joined #nixos
codezero has joined #nixos
tarruda has joined #nixos
georges has joined #nixos
ivegotasthma has joined #nixos
switchy has joined #nixos
liori has joined #nixos
alexherbo24 has joined #nixos
penguwin has joined #nixos
<icey_> hmm, I'm having a "collision" between nvidia drivers: https://pastebin.com/GtPeQc4P
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jvwid
<icey_> idea idea how I can disable the non-legacy ones?
ivegotasthma has quit [Max SendQ exceeded]
trulsa has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvwiN
trulsa has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo24 is now known as alexherbo2
<cole-h> fionera: Still not working?
v88m has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/Jvwip
kgz has joined #nixos
<fionera> cole-h: nope
<fionera> The option value `nixpkgs.overlays.[definition 1-entry 2]' in `/etc/nixos/overlays' is not of type `nixpkgs overlay'.
<{^_^}> fionera: 3 minutes, 50 seconds ago <cole-h> Try removing the last `{}` -- `(import (builtins.fetchTarball { url = ".."; }))`
<cole-h> ^
ivegotasthma has joined #nixos
<fionera> ah k will try
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fionera> infinite recursion encountered, at undefined positio
<fionera> now its broken even more
<fionera> xD
plp_ has quit [Ping timeout: 240 seconds]
umachan has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #81543 → Update Haskell package set to LTS 15.2 (plus other fixes) → https://git.io/Jv2Mi
<{^_^}> [nixpkgs] @peti pushed 21 commits to master: https://git.io/JvwPU
<fionera> oh wait found the issue
arianvp has quit [Ping timeout: 268 seconds]
plp_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JvwPI
<fionera> thx <3
GodZalo has joined #nixos
umachan has joined #nixos
GodZalo has quit [Read error: Connection reset by peer]
arianvp has joined #nixos
<cole-h> You can't just leave us hanging! What was the issue?
bennofs1 has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed to master « python3akcages.django_compat: improve test fix »: https://git.io/JvwP3
cidkid has quit [Ping timeout: 258 seconds]
cidkid has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed to master « python3Pakcages.django_compat: fix »: https://git.io/JvwPC
erasmas has quit [Quit: leaving]
rardiol has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #81859 → vector: 0.8.0 -> 0.8.1 → https://git.io/JvVjT
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « vector: 0.8.0 -> 0.8.1 »: https://git.io/JvwPW
<{^_^}> [nixpkgs] @lsix pushed 3 commits to release-20.03: https://git.io/JvwPB
kloenk has joined #nixos
MichaelRaskin has joined #nixos
wildtrees has quit [Ping timeout: 260 seconds]
GodZalo has joined #nixos
bvdw has quit [Quit: bvdw]
RRedcroft has joined #nixos
RRedcroft has quit [Remote host closed the connection]
bvdw has joined #nixos
<Cadey> is there a way to make a nixos usb automatically install on boot?
<selfsymmetric-pa> To…like, the host hard drive?
<selfsymmetric-pa> Sounds like a hilarious thing to accidentally plug in.
<Cadey> yes, i have a good reason for this but it's in the "god is dead" realm of hilariousness
<selfsymmetric-pa> hahahaha okay just checking XD
<Cadey> i have machines that i want to install linux on that i have to run headless because i don't have a microhdmi cable
<{^_^}> [nixpkgs] @LnL7 merged pull request #81925 → plex: 1.18.7.2438 -> 1.18.7.2457 → https://git.io/Jvwio
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JvwPy
<Cadey> like i said, it's a god is dead case
<MichaelRaskin> I would consider booting a USB with SSH enabled, and install via network.
iclanzan has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81928 → libzip: 1.6.0 -> 1.6.1 → https://git.io/JvwP9
<MichaelRaskin> Just because a mere NixOS USB drive with SSH has a pretty low potential for unplanned !!FUN!!, and auto-installer USB drive is just asking for it
<Cadey> except i don't know what the DHCP address of the machine is and the router is beyond worthless
<selfsymmetric-pa> That's far too reasonable. I'm too tickled by the first scenario: the one where you plug in your USB, pray for twenty minutes, and then log into a running NixOS machine.
<selfsymmetric-pa> Sounds like you have a fun workplace haha
<Cadey> does the nixos live disk include a ssh server enabled?
<Cadey> oh
<Cadey> if it was a workplace
<Cadey> this would be too insane for that
<colemickens> the solution is definitely ssh listening behind a tor hidden service with a known public key
<Cadey> this is for my homelab
<MichaelRaskin> Cadey: nmap!
<GodZalo> Has anyone tried nixos on a rock pi 4a?
<Cadey> yeah but does the default usb image include sshd?
<selfsymmetric-pa> Cadey++
<{^_^}> Cadey's karma got increased to 1
<colemickens> It includes it but it's disabled by default. You'll have to build install media one way or the other.
<MichaelRaskin> Not sure, but you can just create a USB drive via normal installation
<selfsymmetric-pa> `services.openssh.enable` is false by default.
xkapastel has quit [Quit: Connection closed for inactivity]
<Cadey> MichaelRaskin: that would work great if i had a monitor
<Cadey> and like
<Cadey> a microhdmi cable
<Cadey> because i don't lol
<{^_^}> [nixpkgs] @lsix merged pull request #81907 → nixos/wireguard: Fix typo in error message → https://git.io/Jvwza
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvwPN
<Cadey> ...actually
<MichaelRaskin> Wait, don't you have _some_ working computer nearby?
<Cadey> i do
<Cadey> BUT
<Cadey> the board
<Cadey> i want to install this on
jojojojojo has quit [Remote host closed the connection]
<Cadey> has a microhdmi port for the display
<Cadey> and i DO NOT HAVE A MICROHDMI CABLE
<MichaelRaskin> You can use a VM on a normal computer to create the USB drive configured as desired
<MichaelRaskin> I mean, unattended installation requires building an installation USB drive _anyway_
<MichaelRaskin> You can as well build a less risky one
<Cadey> the bigger problem is that my computer is a mac
<MichaelRaskin> It can still run VMs!
<Cadey> granted
<{^_^}> [nixpkgs] @lsix pushed commit from @atlaua to release-20.03 « nixos/wireguard: Fix typo in error message »: https://git.io/JvwPx
<Cadey> how do i make the image i'd need though?
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
flodeskum has joined #nixos
<MichaelRaskin> Boot a VM from ISO with USB attached as HDD, install as described in manual
<clever> then boot that usb on the target
<colemickens> >_>
zupo has joined #nixos
v88m has joined #nixos
<colemickens> this page is useful too, https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
kloenk has joined #nixos
<colemickens> but I guess it's a longer route than what MichaelRaskin and clever describe
M-Gregoire495 has joined #nixos
<Cadey> actually
<Cadey> i think i might be able to start the ssh server headless
<Cadey> given the nixos install media dumps you to a shell
<evanjs> found out openrgb is a thing and trying to port it to nixpkgs, but... "openrgb-unstable> sh: git: not found" >_>
<Cadey> this seems a bit completely insane though
<evanjs> poking around the pro file right now https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGB.pro
gila has quit [Ping timeout: 256 seconds]
<clever> Cadey: what board are you booting on?
<Cadey> a minnowboard max
<clever> Cadey: after the iso boots, i think you just `passwd`, give it a root pw twice, then `systemctl start sshd.service` and it should work
<colemickens> It's not insane, it's what I did for my rpi4 :)
<colemickens> One tip, if it doesn't work, remove your KB and only plug it in after boot. On my RPI4, it fails to finish a udev boot step if the kb is plugged in at boot.
kloenk has quit [Ping timeout: 272 seconds]
<bqv[m]> words cannot describe how much i regret opening this nixpkgs PR
<evanjs> ohhhh it populates some variables with commands using git. So I just need to substituteInPlace them or something
fenedor has joined #nixos
<colemickens> I appreciate it! bqv, if its what I think it is.
<colemickens> Though I'm disappointed in myself for using it.
<MichaelRaskin> Intriguing
<bqv[m]> better than the alternative :p
kloenk has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #81916 → libreswan: 3.30 -> 3.31 → https://git.io/JvwoP
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvwXu
fendor has quit [Ping timeout: 240 seconds]
<Cadey> and well
<Cadey> the system is stuck trying to pxe boot
<Cadey> it's not recognizing the nixos usb as a boot source
<Cadey> (confirming with wireshark)
<clever> Cadey: one minute
<Cadey> hmm
<maralorn> Oh wow: (args@{a ? "a"}:args) {} gives { }
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/71c6a1c4a83 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
orivej has quit [Ping timeout: 268 seconds]
<Cadey> clever: can i do that without creating a private network segment?
<clever> Cadey: that config will turn a laptop with wifi+ethernet into a netboot server, which boots nixos on all of the guests
<clever> Cadey: the wan interface is meant to face the internet (wifi card for ex), and the lan interface faces the target (ethernet usually)
<clever> Cadey: wan and lan are normal nixos options (defined on line 53-64), that you just set in your configuration.nix file
<evanjs> So I can just do src.rev or etc for the revision... how might I access the date of the last (git) commit or the branch name from src or etc?
<icey_> any idea about the nvidia collision I mentioned earlier? Or should I open a bug?
<clever> evanjs: no real way to get the date, enless your using json made by nix-prefetch-git
<{^_^}> [nixpkgs] @lsix pushed 2 commits to release-20.03: https://git.io/JvwXy
<Cadey> where's the minimal example configuration file so i can extend it?
<Cadey> like for a nixos system
drakonis has joined #nixos
flodesku_ has joined #nixos
<clever> Cadey: nixos-generate-config will create one, if your on the target already
flodeskum has quit [Read error: Connection reset by peer]
<clever> Cadey: https://github.com/cleverca22/nix-tests/tree/master/install-helper is a util i made ages ago, to create a custom ISO that would link into my vpn automatically
<Cadey> let's say i want to use the base config on my mac that has the ability to _paste_
<{^_^}> [nixpkgs] @jonringer opened pull request #81929 → onnxruntime: 1.1.1 -> 1.1.2 → https://git.io/JvwXQ
<Cadey> er
<Cadey> write it*
argc has joined #nixos
<clever> Cadey: you would need to boot a linux vm on the mac to be able to modify a nixos image
<Cadey> yes but how do i get the base configuration.nix file so i can edit it in emacs?
<argc> Can anyone offer some assistance in debugging a NixOS VM test failure to correctly `copyFileFromHost`? The file exists and is world-readable, but the startup script complains about "No such file or directory."
<clever> Cadey: run `nixos-generate-config --root /mnt` in a nixos vm
<evanjs> clever: is that common or at least accepted in nixpkgs? I see it in eg nur and etc
<clever> evanjs: not very
justanotheruser has joined #nixos
<colemickens> clever why can't we take the tricks from the sd card image creator to make a nixos installer image for regular machines too?
<colemickens> IIRC the sd card image doesn't require a VM boot to create
<clever> colemickens: but it does require a linux build machine
<clever> colemickens: and if your on darwin, you need a vm to get linux builds
<colemickens> Oh right, build machine still, sorry, oof
<{^_^}> [nixpkgs] @lsix merged pull request #81914 → sequoia: 0.14.0 -> 0.15.0 → https://git.io/Jvwwc
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jvw1J
<clever> colemickens: this will generate an ext4 image, optionally with a partition table
<clever> colemickens: the sdimage stuff is more specialized, to deal with the lack of kvm and the wonky boot partition for the rpi
<colemickens> clever: I was thinking the requirement was more about the KVM part, than the Linux builder part.
<colemickens> clever: plus I still think it would be nice to generate images without needing a (K)VM, but in reality it's never mattered.
<colemickens> anyway, irrelevant noise, we should ignore me
__monty__ has quit [Quit: leaving]
andreas31 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/Jvw1Z
andreas31 has joined #nixos
GodZalo has quit [Ping timeout: 256 seconds]
gila has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81930 → mercurial: 5.3 -> 5.3.1 → https://git.io/Jvw1w
<cole-h> bqv[m]: Welcome to open source :P Sometimes your changes are so easy they don't even get discussed before being pushed. Then other times, there are lots of minor issues that need to be back-and-forth'd upon.
drakonis has quit [Ping timeout: 240 seconds]
gila has quit [Ping timeout: 265 seconds]
<bqv[m]> i love the focus on code, much better than the money driven drivel you see in industry, but when it means tiny things get overblown it can be a total headache
<bqv[m]> at this point i just want that PR to be over one way or another :p
alexherbo2 has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gila has joined #nixos
<bqv[m]> presumably nixFlakes will relieve some of this PR load, anyway?
reallymemorable has joined #nixos
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lsix merged pull request #81912 → notable: 1.7 -> 1.8 → https://git.io/JvwVd
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jvw1d
<cole-h> cache.nixos.org is doing some weird stuff right now... `home-manager build` gets stuck on querying it for packages.
gila has quit [Ping timeout: 258 seconds]
<cole-h> Temporarily removing it from my substituters lets it proceed...
<cole-h> Weird stuff.
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer merged pull request #81929 → onnxruntime: 1.1.1 -> 1.1.2 → https://git.io/JvwXQ
<{^_^}> [nixpkgs] @jonringer pushed to master « onnxruntime: 1.1.1 -> 1.1.2 »: https://git.io/JvwMU
<{^_^}> [nixpkgs] @andir opened pull request #81931 → ppp: 2.4.7 -> 2.4.8 & CVE-2020-8597 fix → https://git.io/JvwMY
gila has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
doublex has quit [Read error: Connection reset by peer]
boxscape has quit [Remote host closed the connection]
gila has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/71c6a1c4a83 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #81932 → notable: update license to unfree → https://git.io/JvwMu
<zeta_0> how do i upgrade from elm 0.19.0 to 0.19.1 using nix? i am getting this weird elm version error? It requires 0.19.1, but you are using 0.19.0 right now.
gila has joined #nixos
cinimod_ has quit [Quit: Connection closed for inactivity]
parseval has joined #nixos
<bqv[m]> looks like nixpkgs is already on 0.19.1
<bqv[m]> and has been for 5 months
<bqv[m]> are you using an old version?
<bqv[m]> (19.09, etc.)
gila has quit [Ping timeout: 265 seconds]
waleee-cl has joined #nixos
elvishjerricco has joined #nixos
flodeskum has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #81934 → zsh-powerlevel10k: v1.2.0 → v1.3.0 → https://git.io/JvwMK
fenedor has quit [Quit: Leaving]
gila has joined #nixos
<zeta_0> bqv[m]: i'm running the current nixos stable 19.09, and i ran: nix-channel --update, but i am still getting that same error when following these instructions? https://github.com/cachix/elm2nix
flodesku_ has quit [Ping timeout: 255 seconds]
<bqv[m]> stable doesn't have 0.19.1 yet. you could add unstable as a channel and add it manually, if that doesn't get messy
<zeta_0> bqv[m]: the only thing that i have installed is the elm2nix tool in home.nix(like the instructions said)
gila has quit [Ping timeout: 256 seconds]
<zeta_0> bqv[m]: so i need to install the unstable version of elm2nix?
drakonis has joined #nixos
<bqv[m]> no you need the unstable version of nixpkgs, which has the elm2nix you want
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81935 → newlib: 3.1.0 -> 3.3.0 → https://git.io/JvwM5
<bqv[m]> zeta_0: add unstable as a channel like this: `nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable`
<bqv[m]> then you can make yourself a shell like this ` nix-shell '<nixpkgs-unstable>' -p elm2nix`
<bqv[m]> that shell will have the right elm2nix in it
<bqv[m]> (or use nix-env, i just don't like imperative nix)
gila has joined #nixos
philr has joined #nixos
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<genesis> bqv[m] : i'm bignaux ;)
<zeta_0> bqv[m]: oh i already added the unstable channel in my home.nix so i think i just need to add unstable.elm2nix to my home.packages section
<bqv[m]> fair enough
<bqv[m]> genesis: hi :p
cosimone has quit [Quit: Quit.]
gila has quit [Ping timeout: 240 seconds]
<zeta_0> bqv[m]: thanks for the help, i am going to your nix-shell command 1st to see if it fixes the error
<bqv[m]> 👌
rardiol has joined #nixos
<genesis> bqv[m] : with 67 comments on a small discord/slack binary, i find you're patient , they will check until the latest character to doubt it's well chosen
<genesis> the time we missed with such process.
drakonis has quit [Ping timeout: 256 seconds]
<genesis> there is always better, software process is constent improvement, so consideration missed in that.
<bqv[m]> i respect the ethos, i'm just getting tired of waking up every morning thinking "is it done?"
gila has joined #nixos
<genesis> being old and ill, i'm more and more tired of that, let's people use the current derivation, improve if they want
<bqv[m]> but hey, 11th time's the charm :D
<genesis> we wont break anything with that.
drakonis has joined #nixos
<bqv[m]> i found a neat trick to add PRs to my nix config's nixpkgs declaratively so i've been doing that the last month or so
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/57614a9ccd9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<genesis> yes, so much trick doable on nixos :-)
<genesis> look i'm working on that
<genesis> since full days now
<genesis> 81833
<genesis> #81833
<{^_^}> https://github.com/NixOS/nixpkgs/pull/81833 (by bignaux, 1 day ago, open): [WIP] : unify appimageTools and appimage-run
<genesis> i'm transmorphing the appimge-run to a usefull tool to make appimagetools derivation
gila has quit [Ping timeout: 240 seconds]
<genesis> btw i'm enough advanced that appimage-run is 5 lines of code that could be merge in appimagetools.
<bqv[m]> hmm, neat
<bqv[m]> less is more, i guess
<genesis> yes, i like to be the code line divider :D
<genesis> it would be great to automate the code we write in the installPhase, btw i rewrite all the precedent and they are really better.
<bqv[m]> all appimages are different, aren't they? i assumed that was why that hadn't been done already
<genesis> you don't have to mess with appimage exec perm, patching the packer, extract in a prefixed squashfs-root ..
<genesis> now there is a full bash seperate script, i'm doing the apprun escape code
gila has joined #nixos
<bqv[m]> excellent
<bqv[m]> i'm actually using appimage-run directly in another derivation i wrote for "electronmail" because i'm far too exhausted to debug why mkYarnPackage chokes on it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #81936 → gnome3.metacity: 3.34.1 -> 3.36.0 → https://git.io/JvwDO
<bqv[m]> that... will not be PR'd, because it is awful
<bqv[m]> but it's also easy
<genesis> the idea is you first start your derivation work using appimage-run, then you can enable some feature, escapeapprun, extractinfofromdesktop ,
<genesis> yarn is really a messed for nixos
<genesis> i try yarn2nix and so, nightmmare yes, for such thing appimage is better than nothing
<genesis> some people are too pure to understand, we better spend time on other topic
<bqv[m]> haha
justanotheruser has quit [Read error: Connection reset by peer]
gila has quit [Ping timeout: 265 seconds]
flodesku_ has joined #nixos
werner291 has quit [Quit: werner291]
o1lo01ol1o has joined #nixos
iclanzan has joined #nixos
flodeskum has quit [Ping timeout: 255 seconds]
gila has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @JeffLabonte opened pull request #81937 → Backport protonvpn cli ng 2.2.0 to 2.2.2 → https://git.io/JvwDz
<{^_^}> [nixpkgs] @Infinisil opened pull request #81938 → du-dust: Change derivation name from dust to du-dust → https://git.io/JvwDM
linarcx has quit [Ping timeout: 258 seconds]
<bqv[m]> i just had the idea to try node2nix on it instead and amazingly even that chokes
flodesku_ has quit []
<{^_^}> [nixpkgs] @jtojnar closed pull request #81936 → gnome3.metacity: 3.34.1 -> 3.36.0 → https://git.io/JvwDO
<{^_^}> [nixpkgs] @volth opened pull request #81939 → arangodb_3_*: version bump → https://git.io/JvwDd
chloekek has joined #nixos
lsix has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvwDx
<{^_^}> [nixpkgs] @Infinisil merged pull request #78492 → New package : fluxboxlauncher → https://git.io/Jvq6d
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #81579 → python27Packages.azure-mgmt-storage: 7.1.0 -> 7.2.0 → https://git.io/Jv2pg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-storage: 7.1.0 -> 7.2.0 »: https://git.io/Jvwyv
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4babdd0bac4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
chloekek has quit [Ping timeout: 255 seconds]
vykook has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]