sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #61063 → Update ultrastar creator and manager → https://git.io/fjcT1
<{^_^}> [nixpkgs] @Profpatsch pushed 3 commits to master: https://git.io/fjcTF
<dmj`> is there a GUI user interface for systemd
esmerelda has quit [Ping timeout: 246 seconds]
aanderse_ has quit []
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @Gonzih opened pull request #61065 → doge: Init at 3.5.0 → https://git.io/fjcTh
esmerelda has joined #nixos
Rusty1 has joined #nixos
schjetne has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjckv
aanderse has joined #nixos
dbmikus has joined #nixos
buffet_ has joined #nixos
buffet has quit [Ping timeout: 258 seconds]
dbmikus has quit [Ping timeout: 246 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
kyren has quit [Remote host closed the connection]
kyren has joined #nixos
Rusty1 has joined #nixos
thomashoneyman has joined #nixos
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #nixos
thomashoneyman has quit [Client Quit]
thomashoneyman has joined #nixos
mexisme has joined #nixos
thomashoneyman has quit [Client Quit]
thomashoneyman has joined #nixos
thomashoneyman has quit [Client Quit]
ddellacosta has joined #nixos
thomashoneyman has joined #nixos
lovesegfault has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<li_matrix> im getting a lot of broken cargo sha's on few days old master
<li_matrix> rust-cbindgen, exa and rigpreg so far
<li_matrix> broke sometime in last few weeks (that was how long since my last rebase)
<maurer> li_matrix: It may or may not be appropriate to your usecase, but evaluate the mozilla overlay. It has made my rust development experience a lot easier.
<maurer> (Packaging you're still going to want to do using nixpkgs, but for dev the overlay is nice
<li_matrix> how does that relate
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<lopsided98> li_matrix: I can't reproduce this
<li_matrix> well, I see cbindgen is in the overlay, but not the other two packages I had problem with
<lopsided98> I tried ripgrep
<li_matrix> lopsided98: thanks
wfranzini has quit [Remote host closed the connection]
sheenobu has joined #nixos
wfranzini has joined #nixos
<lopsided98> These packages are already in the binary cache, so why are you downloading the source?
<lopsided98> What command are you running?
camsbury has joined #nixos
sb0 has quit [Quit: Leaving]
Copenhagen_Bram has joined #nixos
<li_matrix> I dont use nixos's tree
<li_matrix> im slowly forking
<li_matrix> rebasing once in a while on master
<li_matrix> I dont see why cargo would give me different shas
drakonis has joined #nixos
<li_matrix> anyhow, fetchcargo is broken we already know that
sigtrm has quit [Remote host closed the connection]
<li_matrix> getting proper cargo2nix is probably one of nixos' biggest potential for claiming a good chunck of rust devs
<{^_^}> [nixpkgs] @aanderse opened pull request #61066 → pythonPackages.leveldb: init at 0.194 → https://git.io/fjckD
schjetne has joined #nixos
kyren has quit [Quit: ZNC 1.7.2 - https://znc.in]
drakonis_ has quit [Ping timeout: 248 seconds]
kyren has joined #nixos
<camsbury> Looking for the canonical way to use an overlay for emacsPackagesNgFor
roconnor has quit [Quit: Konversation terminated!]
ambro718 has quit [Ping timeout: 245 seconds]
<li_matrix> maybe there was an api change in cargo but eveyone on the main tree is pulling previously derived tarballs
<kyren> hey, I'm wrestling with a really weird problem with borgbackup, I've set up a borg configuration on a remote machine with 'services.borgbackup.jobs."backup".environment' set to something like '{ BORG_RSH = "ssh -i ${./myprivkey}"; }'
<kyren> on that machine, if I look at the systemd service config file generated I see an Environment="BORG_RSH=ssh -i /nix/store/sha-myprivkey"
drakonis_ has joined #nixos
<kyren> if I do systemctl show borgbackup-job-backup.service however, I see under the Environment= line, everything BUT that environment entry, and in its place I see '[unprintable]', and borg does not work or appear to see the BORG_RSH variable at all
<lopsided98> li_matrix: I ran "nix-build -A exa.cargoDeps --check", which forced everything to be downloaded again, and the checksum matched
drakonis has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
esmerelda has quit [Ping timeout: 258 seconds]
ris has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 252 seconds]
jackdk has quit [Quit: Ping timeout (120 seconds)]
<kyren> okay, any value with a space in it is shown as [unprintable]
schjetne has quit [Ping timeout: 248 seconds]
<kyren> aha, OKAY ssh won't use the private key because the permissions are wrong
MmeQuignon has quit [Ping timeout: 255 seconds]
<aswanson> what is the best practice for setting environment variables in a shell.nix file? I'm overriding extraLibs in python3.buildEnv to get my desired python packages and thought to try exporting an environment variable by overriding python3.postBuild but not having any luck
ayerhart has quit [Read error: Connection reset by peer]
<sheenobu> shellHook?
ayerhart has joined #nixos
ayerhart has quit [Remote host closed the connection]
ayerhart has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #61067 → haskell: add a callStack2nix function → https://git.io/fjcI4
Guest16 has joined #nixos
esmerelda has joined #nixos
jackdk has joined #nixos
<Guest16> Hello, I was wondering today about a build tool based on Nix and then wondered if something like this already exists but isn't popular. Just like how nix builds system by having a single nix file and then copying relevant data to standard linux files (and the way home manager operates too), is this concept something that could be extended to a bui
<Guest16> ld orchestatrator? Define your builds in nix but rather than copying and recreating functionality like Bazel Pants etc do, just write the relevant declarativee build files. e.g. I can say- rustProject{ packages = { name = "GuessNixOrCargo"; version = "0.1.0'; }; dependencies = [ { regex = "0.2", libc = "0.2.21" } ]; }; and this generates the appr
<Guest16> opriate cargo file. Similar would be the way to generate maven build files or C makefiles.
jackdk has quit [Client Quit]
<Guest16> Does something like this already exist?
jackdk has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #61068 → sierra-gtk-theme: 2018-10-12 -> 2019-05-07 → https://git.io/fjcI2
jackdk has quit [Client Quit]
schjetne has joined #nixos
jackdk has joined #nixos
hhefesto has joined #nixos
sigtrm has joined #nixos
thomashoneyman has quit [Quit: Lost terminal]
Guest16 has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 245 seconds]
<infinisil> Well Guest16 isn't here anymore, but they might be interested in https://github.com/awakesecurity/ninja2nix
<bbigras> I'm pulling my hair out trying to figure out why some bash-completion file is not sourced. Is it supposed to work with `nix-env -i my-pkg -f ~/nixpkgs` and home-manager or only in configuration.nix?
kp__ has quit [Quit: WeeChat 2.4]
schjetne has quit [Ping timeout: 255 seconds]
<samueldr> bbigras: ^ seems it would load from dirs in XDG_DATA_DIRS
<samueldr> check if installing via nix-env fills in one of the dirs in XDG_DATA_DIRS
slack1256 has joined #nixos
lambda-11235 has joined #nixos
<bbigras> samueldr: I just installed it with nix-env and it doesn't seem to be included in XDG_DATA_DIRS. XDG_DATA_DIRS seems to contain a lot of gnome shell stuff. I wonder if it was overwritten by gnome
Guest16 has joined #nixos
_d0t has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61042 → cargo-bloat: 0.6.2 -> 0.6.3 → https://git.io/fjcIQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjcI7
ddellacosta has quit [Ping timeout: 252 seconds]
dbmikus has joined #nixos
Glider_IRC__ has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
Glider_IRC_ has quit [Ping timeout: 245 seconds]
Guest16 has quit [Remote host closed the connection]
Guest16 has joined #nixos
<bbigras> I was wrong. XDG_DATA_DIRS contains /run/current-system/sw/share
camsbury has quit [Ping timeout: 252 seconds]
<bbigras> It also contains /home/bbigras/.nix-profile/share which is used when I install with nix-env
<bbigras> I wonder if the file's permission is important or if doesn't when it's "sourced"
dansho has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
Guest16 has quit [Remote host closed the connection]
<li_matrix> can add fd to the list of broken cargo shas
Copenhagen_Bram has quit [Read error: Connection reset by peer]
Guest16 has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2df17ecf1b7 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<bbigras> I think it's working but I just realized something. Someone told me to use bash-complete but that's probably only for auto complete while the program I packaged only need to set an alias and the stuff required to record the last visited directory or something like that.
slack1256 has quit [Ping timeout: 248 seconds]
schjetne has joined #nixos
Guest16 has quit [Remote host closed the connection]
mkoenig_ has quit [Ping timeout: 245 seconds]
mkoenig has joined #nixos
<lambda-11235> Where can I find the temporary build dir for nix-build? I want to see a failed meson log.
rwe has quit []
MichaelRaskin has quit [Quit: MichaelRaskin]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has quit [Ping timeout: 252 seconds]
<Ralith> pass --keep-failed to the build, then I think it will tell you
<Ralith> but in any case it's /tmp/nix-build-* iirc
Copenhagen_Bram has joined #nixos
<lambda-11235> Thanks. For some reason I skipped over that option in the man page.
ardumont has quit [Quit: WeeChat 2.2]
o1lo01ol1o has joined #nixos
justanotheruser has quit [Ping timeout: 250 seconds]
jasongrossman has joined #nixos
schjetne has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
justanotheruser has joined #nixos
mexisme has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #61069 → public-sans: init at 1.002 → https://git.io/fjcLB
esmerelda has quit [Ping timeout: 248 seconds]
mexisme has quit [Ping timeout: 252 seconds]
<jackdk> anyone know the python ecosystem? I managed to push #60456 along a bit more but it needs something else to get over the line.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60456 (by r-ryantm, 1 week ago, open): arandr: 0.1.9 -> 0.1.10
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dtzWill opened pull request #61070 → libreoffice-fresh: 6.2.2.2 -> 6.2.3.2 → https://git.io/fjcLz
<{^_^}> [nixpkgs] @dtzWill opened pull request #61071 → creduce: 2.8.0 -> 2.9.0, llvm7 → https://git.io/fjcLg
esmerelda has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #61072 → rngd: add option to run w/debug flag → https://git.io/fjcLa
mkoenig has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
wfranzini has quit [Remote host closed the connection]
mmercier has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61044 → pipenv: fix missing dependency issue (#61027) → https://git.io/fjcLr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjcLo
sheenobu has quit [Remote host closed the connection]
mexisme has joined #nixos
dansho has joined #nixos
esmerelda has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #61073 → mpv: fix darwin build → https://git.io/fjcLP
janneke` is now known as janneke
m0rphism has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #61074 → postgresqlPackages.timescaledb: 1.2.2 -> 1.3.0 → https://git.io/fjcLS
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/fjcL9
OmnipotentEntity has quit [Ping timeout: 276 seconds]
mmercier has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #61075 → flow: 0.98.0 -> 0.98.1 → https://git.io/fjcLQ
dbmikus has joined #nixos
mmercier has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #61070 → libreoffice-fresh: 6.2.2.2 -> 6.2.3.2 → https://git.io/fjcLz
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjcLd
Elon_Satoshi has joined #nixos
Copenhagen_Bram has quit [Ping timeout: 264 seconds]
OmnipotentEntity has joined #nixos
OmnipotentEntity is now known as Guest27703
drakonis_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
schjetne has joined #nixos
esmerelda has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
drakonis_ has quit [Ping timeout: 244 seconds]
dbmikus has quit [Ping timeout: 246 seconds]
mmercier has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61064 → influxdb: 1.7.5 -> 1.7.6 → https://git.io/fjcTd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjctI
acarrico has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
palo1 has joined #nixos
acarrico has joined #nixos
palo1 is now known as palo
Plotinus has joined #nixos
endformationage has quit [Ping timeout: 248 seconds]
mmercier has joined #nixos
craigevil[m] has left #nixos ["User left"]
esmerelda has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #61076 → linux_5_0: restore __kernel_fpu_{begin,restore} → https://git.io/fjctY
schjetne has quit [Ping timeout: 255 seconds]
Myhlamaeus has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
reinhardt has joined #nixos
esmerelda has joined #nixos
mmercier has quit [Quit: mmercier]
<{^_^}> [nixpkgs] @Mic92 merged pull request #61073 → mpv: fix darwin build → https://git.io/fjcLP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjctG
mmercier has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #61057 → i3status-rust: 0.9.0.2019-03-21 -> 0.9.0.2019-04-27 → https://git.io/fjct8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjct4
<{^_^}> [nixpkgs] @Mic92 merged pull request #61055 → radarr: 0.2.0.1293 -> 0.2.0.1344 → https://git.io/fjctB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjctR
jasongrossman has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #61060 → awesome: use makeWrapper rather than wrapProgram → https://git.io/fjcfr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjct0
<{^_^}> [nixpkgs] @Mic92 pushed commit from @stefano-m to release-19.03 « awesome: use makeWrapper rather than wrapProgram »: https://git.io/fjctE
dbmikus has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
msd has joined #nixos
mmercier has quit [Read error: Connection reset by peer]
msd has quit [Client Quit]
orivej has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #61077 → partitionmanager,kpmcore: 3.3.{0,1} -> 4.0.0 → https://git.io/fjct2
<{^_^}> [nixpkgs] @Mic92 opened pull request #61078 → nix-review: 2.0.0 -> 2.0.1 → https://git.io/fjcta
<{^_^}> [nixpkgs] @Mic92 merged pull request #61075 → flow: 0.98.0 -> 0.98.1 → https://git.io/fjcLQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjctw
dbmikus has quit [Ping timeout: 252 seconds]
dansho has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #61078 → nix-review: 2.0.0 -> 2.0.1 → https://git.io/fjcta
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjcto
hhefesto has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @Mic92 pushed to release-19.03 « nix-review: 2.0.0 -> 2.0.1 »: https://git.io/fjctK
drakonis_ has quit [Ping timeout: 248 seconds]
mexisme has joined #nixos
rauno has joined #nixos
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #61033 → pythonPackages.imread: 0.6 -> 0.7.0 → https://git.io/fjcti
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjctP
msd has joined #nixos
msd has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 pushed to master « python.pkgs.imread: inherit native libs on callsite »: https://git.io/fjctS
dbmikus has quit [Ping timeout: 248 seconds]
wfranzini has joined #nixos
mmercier has joined #nixos
wfranzini has quit [Client Quit]
wfranzini1 has joined #nixos
tdammers has quit [Ping timeout: 245 seconds]
mmercier has left #nixos [#nixos]
tdammers has joined #nixos
mmercier has joined #nixos
ardumont has joined #nixos
dansho has joined #nixos
wfranzini1 is now known as wfranzini
schjetne has joined #nixos
ardumont has quit [Remote host closed the connection]
sb0 has joined #nixos
drakonis_ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 311 commits to staging-next: https://git.io/fjcqt
civodul has joined #nixos
knupfer has joined #nixos
gal_bolle has joined #nixos
jasongrossman has joined #nixos
johanot has joined #nixos
mmercier_ has joined #nixos
mmercier has quit [Ping timeout: 245 seconds]
mmercier_ is now known as mmercier
mkoenig has joined #nixos
lambda-11235 has quit [Quit: Bye]
mexisme has quit [Ping timeout: 252 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
anon has joined #nixos
anon is now known as Guest76674
linarcx has joined #nixos
mexisme has joined #nixos
hio has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
gal_bolle has quit [Ping timeout: 252 seconds]
hedning_ has joined #nixos
<{^_^}> [nixpkgs] @rasendubi merged pull request #61043 → awesome: refactor LUA_PATH env var and don't expose it at runtime (19.03 branch) → https://git.io/fjcqQ
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to release-19.03: https://git.io/fjcq7
<johanot> Aw.. I miss an ergonomic (though safe) way of injecting a substituter in a shell.nix for building a shell-env. Obviously users who enter the shell would have to be prompted to accept using the substituter or something like that.
mexisme has quit [Ping timeout: 245 seconds]
<johanot> like how direnv blocks environments until users actively unblock
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
cfricke has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjcmI
bgamari has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
bgamari has joined #nixos
<gentauro> srhb: the "--no-nix-pure" seem to helped. I noticed that it was once I restarted the system (apparently quitting xmonad and restarting wasn't enough)
<gentauro> :-\
<bahamas> what arguments are passed to generic-stack-builder.nix here? https://github.com/NixOS/nixpkgs/blob/a3f8a25ab30578bc851049ee8d468da09d21dff2/pkgs/development/haskell-modules/lib.nix#L294 I'm asking, because the expression in that file references ${stack.version} and the value of that is older than expected
fenedor has joined #nixos
goibhniu has joined #nixos
drager has joined #nixos
<drager> Hey, I just installed a package via nix-env -iA nixos.name but I can't uninstall it with nix-env -e nixos.name. What's up? Does it have another name for uninstall?
jasom has quit [Ping timeout: 258 seconds]
ilikeheaps has joined #nixos
<ivan> drager: yeah, name
oida has quit [Remote host closed the connection]
oida has joined #nixos
jasom has joined #nixos
Makaveli7 has joined #nixos
knupfer has joined #nixos
<bahamas> so the pattern `callPackage package.nix {}` calls `package.nix` with all the packages available in nixpkgs, right?
<arianvp> Yes
<bahamas> what determines the version of a package in nixpkgs?
jasongrossman has quit [Ping timeout: 248 seconds]
Anton-Latukha has joined #nixos
MmeQuignon has joined #nixos
thc202 has joined #nixos
jasongrossman has joined #nixos
Glider_IRC__ has quit [Ping timeout: 246 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
wirew0rm has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
wirew0rm has joined #nixos
<drager> ivan: So... How do i find out the name? So I can uninstall it?=
<ivan> nix-env -q
elibrokeit has quit [Quit: A random quit message]
elibrokeit has joined #nixos
talqu has joined #nixos
linarcx has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.4]
<rauno> Hey, any one has tried fully unattended nixos ipxe setup ?
<rauno> Found something like https://github.com/grahamc/packet-nixos but seems to be broken and readme quite outdated :)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60972 → geos: 3.7.1 -> 3.7.2 → https://git.io/fjcmQ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcm7
<jasongrossman> rauno: grahamc is often here, although I guess not right now.
<jasongrossman> ,tell gchristensen rauno has been asking about https://github.com/grahamc/packet-nixos
<{^_^}> jasongrossman: I'll pass that on to gchristensen
<rauno> Oh great :+1
<rauno> i guess that "mention" part went to wrong person :)
elibrokeit has quit [Quit: A random quit message]
<jasongrossman> rauno: I'm terrible at interpreting ":)". Do you know that {^_^} is a bot?
<rauno> yeah
<jasongrossman> :)
elibrokeit has joined #nixos
<rauno> grahamc vs gchristensen
<rauno> but okay :)
hoijui has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #61074 → postgresqlPackages.timescaledb: 1.2.2 -> 1.3.0 → https://git.io/fjcLS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjcYk
gspia has quit [Quit: Leaving]
sigmundv__ has joined #nixos
bgamari has quit [Ping timeout: 258 seconds]
bgamari has joined #nixos
drakonis_ has quit [Remote host closed the connection]
drakonis_ has joined #nixos
gspia has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjcYc
<{^_^}> [nixpkgs] @Mic92 merged pull request #61071 → creduce: 2.8.0 -> 2.9.0, llvm7 → https://git.io/fjcLg
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3e7300cf049 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
jb55 has quit [Ping timeout: 252 seconds]
drager has quit [Quit: WeeChat 2.4]
fusion809 has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
pie_ has joined #nixos
buffet_ is now known as buffet
knupfer has quit [Remote host closed the connection]
pie___ has joined #nixos
knupfer has joined #nixos
<bahamas> where can I find the channel that has a specific version of a package?
<{^_^}> [nixpkgs] @DIzFer opened pull request #61080 → jellyfin: remove assertion if emby enabled: no emby module exists → https://git.io/fjcYX
WizBright has quit [Ping timeout: 245 seconds]
pie_ has quit [Ping timeout: 248 seconds]
knupfer has quit [Ping timeout: 246 seconds]
ubert has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
<dfordivam> Hi.. is it possible to determine which derivation created a store path.. trying to figure out the hash of source which built the thing running on server..
elgoosy has joined #nixos
bahamas has quit [Ping timeout: 258 seconds]
dansho has quit [Quit: Leaving]
<tilpner> dfordivam: nix-store --query --deriver
Jetien_ has joined #nixos
<Unode> hi all, I'm trying to package an R library that is currently only available through github. In the repository most packages come from CRAN or BioConductor. Is there any template (online, blog, ...) or convenience function to add R packages from github? Thanks
<dfordivam> tilpner: thanks :)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61016 → python37Packages.braintree: 3.52.0 -> 3.53.0 → https://git.io/fjcOY
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcOO
MmeQuignon has quit [Ping timeout: 246 seconds]
kenshinCH has joined #nixos
kaaninho has joined #nixos
jb55 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #61076 → linux_5_0: restore __kernel_fpu_{begin,restore} → https://git.io/fjctY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjcOC
<kaaninho> Hello! I hope I am not in the wrong channel. I've got an issue with 'nix-shell' command. Everytime I use it, get this error message in the end: "mv: target ''$'\342\201\223''/.Trash' is not a directory".
<kaaninho> I use a Macbook
<betaboon> I'm running into "failed building wheel for ..." due to "ZIP does not support timestamps before 1980". I tried using `SOURCE_DATE_EPOCH=315532800;` which seemed to work a while ago, but doesnt resolve the problem today. any suggestions ?
<betaboon> kaaninho: maybe something in your bashrc ?
fenedor has quit [Read error: Connection reset by peer]
<kaaninho> betaboon: wow, thank you, indeed that was the problem, I had an alias that failed in some weird fashion... How did you now?
cmacrae has joined #nixos
<betaboon> kaaninho: nix-shell uses bash as its shell, and 'everytime i use it' somewhat sounded like bashrc related :D
psyanticy has joined #nixos
<kaaninho> betaboon: well, thank you again! Was hard to search for... . Good day!
<betaboon> kaaninho: you're welcome
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3e7300cf049 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
vidbina has joined #nixos
fendor has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #60678 → atomicparsley: fix cross → https://git.io/fjZoz
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjcO5
<{^_^}> [nixpkgs] @vbgl opened pull request #61081 → ocamlPackages.elpi: 1.1.0 -> 1.2.0 → https://git.io/fjcOF
toppler` has quit [Read error: Connection reset by peer]
toppler` has joined #nixos
<Unode> If rPackages is specified in pkgs/top-level/all-packages.nix as 'callPackage ../development/r-modules and ../development/r-modules/default.nix contains buildRPackage shouldn't calling rPackages.buildRPackage work?
<yorick> betaboon: how are you invoking it?
<tilpner> > rPackages.buildRPackage
<{^_^}> { __functor = <CODE>; override = <CODE>; overrideDerivation = <CODE>; }
<tilpner> It does
<betaboon> yorick: what do you mean ? just a regular buildPythonPackage derivation with fetchPypi
<tilpner> Well, it exists, that wasn't calling it
<yorick> betaboon: I've only known this to be a problem with nix shells
<yorick> > rPackages.buildRPackage { name = "asdf"; }
<{^_^}> "<derivation /nix/store/dic3j7jwxj42frw0df528x50mdd8v2cl-r-asdf.drv>"
<betaboon> yorick: ah yeah. i use those derivations for deployment and nix-shell. and yes: the problem occures when using nix-shell
equivrel` has quit [Read error: Connection reset by peer]
<yorick> betaboon: if you set shellHook = '' SOURCE_DATE_EPOCH=$(date +%s) '' ?
<betaboon> yorick: in the shell.nix ?
<yorick> yes
equivrel` has joined #nixos
<betaboon> yorick: would have to completly rework my shell.nix to try that
<yorick> how, then, are you setting the source date epoch now? :P
<betaboon> yorick: in the default.nix for the packages in question
<betaboon> yorick: so within `buildPythonPackage`
MmeQuignon has joined #nixos
ub has joined #nixos
ubert has quit [Ping timeout: 248 seconds]
kaaninho has quit [Ping timeout: 256 seconds]
cfricke has joined #nixos
<{^_^}> [nixpkgs] @angristan opened pull request #61082 → solargraph: 0.32.1 -> 0.32.2 → https://git.io/fjc3Y
seanparsons has quit [Ping timeout: 245 seconds]
Tucky has joined #nixos
elgoosy has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61017 → python37Packages.cerberus: 1.2 -> 1.3 → https://git.io/fjc3E
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjc3u
seanparsons has joined #nixos
WizBright has joined #nixos
kaliumxyz has quit [Quit: leaving]
fendor has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
<etu> Github down/slow?
* etu got a unicorn
<qyliss^work> Yep
<qyliss^work> Intermittent
mexisme has joined #nixos
ub has quit [Ping timeout: 268 seconds]
elpancho has joined #nixos
Uniaika has joined #nixos
<Uniaika> hohai!
<Uniaika> I have written a shell.nix to build an Elixir project. However, the Erlang VM complains about LC_ALL being unset (or set to C)
<Uniaika> I tried putting some `export LC_ALL=en_US.UTF-8' in shellHook
<Uniaika> but how I get this error when I enter the shell with `--pure`: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
<Uniaika> I have seen some people on GitHub talking about installing `glibc-locales` in the shell file, but I get "undefined variable 'glibc-locales'"
<Uniaika> so uh, I don't really know what my other options are at this point
<{^_^}> [nixpkgs] @etu merged pull request #61080 → jellyfin: remove assertion if emby enabled: no emby module exists → https://git.io/fjcYX
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjc3H
<qyliss^work> > pkgs.glibcLocales # Uniaika
<{^_^}> "<derivation /nix/store/8iqzpzwr1pj1xic39ckcswk42p52f5j5-glibc-locales-2.27.drv>"
domogled has quit [Ping timeout: 248 seconds]
<Uniaika> thanks! I was just confused that I could install `glibc-locales` but had to put `glibcLocales` in the nix file :)
<Uniaika> (also, my environment variables were in a shellHook, which was really not good)
<qyliss^work> If you're installing with `nix-env -i`, that searches based on package name, rather than using an attribute. `nix-env -iA` is more like what a nix expression does.
<qyliss^work> (It's also much faster and less prone to giving you the wrong package, because two packages can share a name)
silver has joined #nixos
<AlexRice[m]> Wouldn't it make a lot more sense if the attribute name was equal to the package name wherever possible?
<qyliss^work> really package name shouldn't matter at all
Guest76674 has quit [Quit: WeeChat 2.4]
<qyliss^work> but yes, in most cases going forward they are equal
<Uniaika> thanks qyliss^work :)
<qyliss^work> I think some time ago dashes weren't supported in attribute names, so you end up with a lot of camel-cased packages
<AlexRice[m]> ah I see
<Uniaika> I was indeed mistaking names and attributes
<AlexRice[m]> I have only seen it on packages with dashes now I think about it
hamishmack has joined #nixos
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #61056 → qscintilla: fix dylib names on Darwin → https://git.io/fjcsT
fendor has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @thefloweringash to master « qscintilla: fix dylib names on Darwin »: https://git.io/fjcsk
<{^_^}> [nixpkgs] @FRidh merged pull request #59661 → python37Packages.lark-parser: 0.6.6 -> 0.7.0 → https://git.io/fjYLh
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.lark-parser: 0.6.6 -> 0.7.0 »: https://git.io/fjcsI
cfricke has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #61030 → utillinux: 2.33.1 -> 2.33.2 → https://git.io/fjcsq
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fjcsm
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60992 → cargo-asm: 0.1.16 -> 0.1.17 → https://git.io/fjcsO
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcs3
<{^_^}> [nixpkgs] @FRidh merged pull request #61028 → cedille: fix hash → https://git.io/fjcss
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjcsG
<{^_^}> [nixpkgs] @FRidh merged pull request #60988 → libshout: 2.4.1 -> 2.4.2 → https://git.io/fjcsZ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libshout: 2.4.1 -> 2.4.2 »: https://git.io/fjcsn
anon has joined #nixos
anon is now known as Guest71290
srid has quit [Ping timeout: 246 seconds]
ubert has joined #nixos
Jetien_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61003 → ocamlPackages.ppxlib: 0.5.0 -> 0.6.0 → https://git.io/fjcsl
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcs8
elpancho has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @juliendehos opened pull request #61083 → pfstools: add netpbm support (fix #60841) → https://git.io/fjcs4
<Twey> qyliss^work: There are some other cases too — e.g. Python packages have a convention requiring their attribute names to be re-cased
rprije has quit [Ping timeout: 258 seconds]
<gchristensen> rauno: hi I'm grahamc :) haven't had coffee yet, but working on it. what's up?
<{^_^}> gchristensen: 2 hours, 42 minutes ago <jasongrossman> rauno has been asking about https://github.com/grahamc/packet-nixos
<{^_^}> [nix] @edolstra merged pull request #2792 → Add builtins.hashFile → https://git.io/fjcsE
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjcsu
<Twey> But the name is used to identify the PyPI package, so that remains the same as the actual Python package name
<rauno> Hey gchristensen yes
<rauno> had some problems with building the image but seems to work now, has outdated nixos nix-channel
<gchristensen> interesting, okay cool
<gchristensen> that repo builds like a dozen images -- for the different Packet.net host types. what are you targeting?
cfricke has joined #nixos
<rauno> actually im not targeting packet.net at all, i am just looking for a good solution to setup some bare metals servers using ipxe and fully automated installs
<rauno> your repository seemed most relevant and up-to-date
<gchristensen> yeah cool
<gchristensen> I have a branch here I forgot to push, too :x
<rauno> probably just need to cut out those packet.net related stuff ..
srid has joined #nixos
<gchristensen> yeah -- maybe it would be interesting to make a minimal version
<gchristensen> is this hw inside your datacenter? I'm interested in your use case, environment, etc. I think nixos on bare metal is really cool
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2ec5e9595be (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60870 → miraclecast: 20170427 -> 20190403 → https://git.io/fjcs6
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcsi
mexisme has quit [Ping timeout: 244 seconds]
philippD has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed to master « hardened-config: enable the SafeSetID LSM »: https://git.io/fjcs1
kreisys has joined #nixos
<rauno> gchristensen, yeah we have nixos on our dc hypervisors
orivej has quit [Ping timeout: 252 seconds]
<gchristensen> rauno: mind a PM? :)
<rauno> sure :)
<{^_^}> [nixops] @HMazen opened pull request #1141 → Datadog: destroy dashboard operation failing → https://git.io/fjcsH
<{^_^}> [nixpkgs] @paulperegud closed pull request #48323 → py-solc: init at 3.2.0 → https://git.io/fxRJW
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60802 → cocoapods-beta: 1.7.0.beta.3 -> 1.7.0.rc.1 → https://git.io/fjcs5
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcsd
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
<rauno> gchristensen, so as the readme is abit outdate, how should one build a simple minimal version of just one image :) ?
<gchristensen> you could `nix-build ./default.nix -A x2-xlarge-x86` for example
jasongrossman has quit [Ping timeout: 252 seconds]
<rauno> okay, will give it a go
orivej has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-05-05 -> 2019-05-06 »: https://git.io/fjcGT
<rauno> okay, this looks more promising, can now make the needed modifications to get it working
<gchristensen> cool :) yeah and probably delete a good lot of code :)
<rauno> probably indeed, some of it can be reused, for example the metadata fetching and so on
<gchristensen> there are some changes I would make to it, which you might want to consider
<gchristensen> for example, generating only 2 files: one of intrinsic hardware-specific stuff at hardware.nix, and a second of authentication stuff -- the SSH keys -- this way automation can more easily ignore the authentication bits
<rauno> make sense, how is the hardware part generated at the moment ?
<gchristensen> there end up being several files in /etc/nixos/packet/
<rauno> Okay, they are fixed then
<gchristensen> but some of the metadata info is instrinsic to the system, but mixed up with SSH keys
<Twey> Where is newScope defined? I can't seem to find it again
<gchristensen> maybe create a server at packet.com to take a look at how it works in production
<Twey> gchristensen: Ah, thank you
<rauno> Hum, even thinking of using ipmi api to ask server its config and then generate hardware config based on it..
<rauno> not sure if it will work thou
Uniaika has left #nixos [#nixos]
orivej has quit [Ping timeout: 252 seconds]
<gchristensen> at $prevjob the hardware profile was passed in via a kernel parameter
<gchristensen> and then the image knew from that profile the data to put down
capnp has joined #nixos
<Twey> Okay, so that file says: the packages in the set are called with the scope provided by `newScope' and the set provides a `newScope' attribute
<rauno> okay, will check packet soon
<yorick> gchristensen: are there any plans to get the spin-up time lower and the deployment failure count lower? it's a bit annoying to have to wait >1 hour to get a functinional server
<Twey> I'm confused about this output
<Twey> Shouldn't the `newScope` passed to b.nix include the `y` argument I give to `newScope` in a.nix?
<gchristensen> yorick: for NixOS on Packet ?
<yorick> gchristensen: yes
<gchristensen> yorick: interesting. I spawn new systems ~daily and they take ~10min and nearly never fail
<gchristensen> yorick: what kind of instance, and what region?
<yorick> gchristensen: last month was ams, c1.small.x86, 4 failures in a row. I don't know if it's nixos-related
bitmapper has joined #nixos
<gchristensen> wow
<yorick> gchristensen: I had a c2.medium.x86 fail to spawn at one time
<bitmapper> does anyone know what's going on with qtquick and qt512 on nix?
<Twey> We can see that the first callPackage preserves them as intended
<Twey> But the second level seems to drop them
<bitmapper> it seems like qt-full is missing a bunch of files from qt-base
<Twey> But makeScope there clearly does add the superscope to the newScope it creates
<gchristensen> yorick: this is surprising to me
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2dcbd447e42 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
Synthetica has joined #nixos
<yorick> gchristensen: we were talking to Mo at the time but the packet slack deleted the chat history now
<capnp> Hello, sorry for a beginner question, but I am trying to modify "propagatedBuildInputs" using overlay and this is what I get: http://dpaste.com/15W7HZG#wrap
<bitmapper> it seems like qt5Full is missing a bunch of files from qt512.qtbase
sb0 has quit [Quit: Leaving]
<yorick> capnp: use overrideAttrs instead of override, here
araadkins has joined #nixos
<capnp> yorick: I will try
<araadkins> I'm setting up a new machine, and I figured it would be a great chance to manage my tools configuration with Nix. Is there a recommended blog post or tutorial for getting started? I've been finding the manual a touch terse
<yorick> capnp: gnuradio.overrideAttrs (o: { propagatedBuildInputs = (o.propagatedBuildInputs or []) ++ [ ]; })
<capnp> yorick: what does ++ mean?
<yorick> > [ 1 2 3] ++ [4 5 6]
<{^_^}> [ 1 2 3 4 5 6 ]
<bitmapper> i'll see if qt511 works
domogled has joined #nixos
<capnp> yorick: oh, I see, looks like concatination. But I actually need to remove one item not add
<yorick> > lib.remove 3 [1 2 3 4]
<{^_^}> [ 1 2 4 ]
<bitmapper> does anyone know what is going on?
domogled has quit [Client Quit]
rauno has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2ec5e9595be (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
cmacrae has quit [Ping timeout: 252 seconds]
Vskilet has quit [Ping timeout: 264 seconds]
leons has quit [Ping timeout: 264 seconds]
leons has joined #nixos
Vskilet has joined #nixos
<capnp> yorick: sorry for bothering, but I still have no clue what i'm doing :( http://dpaste.com/3H3907C
<adisbladis> bitmapper: What's your problem?
<capnp> how can I reference one of this dependencies that I need to remove?
<bitmapper> can't use qtquick in qt
<bitmapper> i think i found the issue
<bitmapper> i'm going to take a look and submit a pull request if i fix it
<adisbladis> How are you using it?
<bitmapper> via nix-shell
<yorick> capnp: it's probably easiest to do propagatedBuildInputs = super.lib.filter (n: n.pname != "wxPython") o.propagatedBuildInputs here
<bitmapper> + qtcreator
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #61084 → pythonPackages.i3ipc: 1.5.1 -> 1.6.0 → https://git.io/fjcZt
<capnp> yorick: yes, that works, thank you!
<bitmapper> oh damn
Guest27703 is now known as OmnipotentEntity
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
<bitmapper> there's the issue
jasongrossman has joined #nixos
<bitmapper> why aren't the perl files there
<Ashy> araadkins: nix pills is worth a read
<araadkins> Ashy: Thanks. I'll take a look.
<emilsp> wow, rebuilding binutils does take a while
<{^_^}> [nixpkgs] @costrouc opened pull request #61085 → pythonPackages.datasette: init at 0.27 → https://git.io/fjcZ0
drakonis_ has joined #nixos
cfricke has quit [Ping timeout: 244 seconds]
bitmapper has quit [Ping timeout: 268 seconds]
bitmapper has joined #nixos
<bitmapper> hmm
toppler` has quit [Read error: Connection reset by peer]
toppler` has joined #nixos
<eliasp> still/again struggling with modifying xorgserver in my overlay... "error: syntax error, unexpected URI, at /etc/nixos/overlays/xorgserver.nix:8:9" - expression: http://ix.io/1IiI
drakonis has quit [Ping timeout: 264 seconds]
eraserhd has quit [Quit: WeeChat 2.4]
<eliasp> oh damn, I'm stupid
<eliasp> classical case of rubberduck-debugging :)
eraserhd has joined #nixos
eraserhd has quit [Client Quit]
eraserhd has joined #nixos
* pie___ quacks
<eliasp> :)
<{^_^}> [nixops] @domenkozar merged pull request #1141 → Datadog: destroy dashboard operation failing → https://git.io/fjcsH
<{^_^}> [nixops] @domenkozar pushed 2 commits to master: https://git.io/fjcZi
ericsagnes has quit [Quit: WeeChat 2.2]
sheeldotme has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60754 → python37Packages.zeroconf: 0.21.3 -> 0.22.0 → https://git.io/fjZHf
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcZX
<jchia_> How can I list the files in a package that I have/haven't installed?
<yorick> jchia_: ls /nix/store/your-package-here
<jchia_> The package description is rather sparse so I want to check the files that are included in a package.
<jchia_> yorick: What if I haven't installed the package?
itorres1 has joined #nixos
ericsagnes has joined #nixos
<yorick> jchia_: nix-build '<nixpkgs>' -A packagename, then check that dir
<yorick> > :b hello
<{^_^}> Unknown command: b
itorres has quit [Ping timeout: 248 seconds]
<bitmapper> ugh i cant find the issue
Jetien_ has joined #nixos
nschoe has joined #nixos
chaker has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60753 → python37Packages.XlsxWriter: 1.1.6 -> 1.1.7 → https://git.io/fjZ9x
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcZA
<bitmapper> qt5Full is really broken
Tucky has quit [Ping timeout: 246 seconds]
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60750 → python37Packages.unittest-xml-reporting: 2.4.0 -> 2.5.1 → https://git.io/fjZ9c
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcnY
<Twey> gchristensen: I still don't really understand how `newScope` gets into <nixpkgs>. I thought maybe `newScope` was called on `pkgs` somewhere, but it doesn't look to be the case
Tucky has joined #nixos
bahamas has joined #nixos
<bitmapper> i'm having this issue https://github.com/NixOS/nixpkgs/issues/59582
<{^_^}> #59582 (by LinArcX, 3 weeks ago, open): Can't detect kit when create new qtquickapplication
waleee has joined #nixos
<azazel> eliasp: rubberduck-debugging? It's the first I hear it
vidbina has quit [Ping timeout: 248 seconds]
<infinisil> > builtins.unsafeGetAttrPos "newScope" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/splice.nix"; line = 132; }
<infinisil> Twey: ^^
<bahamas> sorry. I had to leave earlier. did anyone answer my question?
<bahamas> where can I find the channel that has a specific version of a package?
<infinisil> ,logs bahamas
o1lo01ol1o has joined #nixos
Tucky has quit [Ping timeout: 246 seconds]
<bahamas> infinisil: thanks. no one answered the question previously :)
<infinisil> bahamas: The best thing you can do is just search through the channels to find the one you want (if it exists at all)
<bahamas> infinisil: how do I do that?
ee1943 has joined #nixos
<bahamas> maybe it's better to state my actual problem, in case there is a different, better solution
<Twey> infinisil: Ahh, nice trick, thank you!
<immae> bahamas: the github repository is where you can see the evolution of a given package, I don’t know of any access to easy access to a "channel history"
<{^_^}> [nixpkgs] @globin opened pull request #61086 → Batch of cross compilation fixes → https://git.io/fjcnr
<infinisil> bahamas: nix eval -f channel:nixos-unstable hello.name
<pie___> maybe git has some feature that can search through history
<pie___> bahamas, do you need an older or newer version
<Synthetica> pie___: It has, `git log -S term` for commit titles, `git log -G term` for commit content
<infinisil> bahamas: And if the latest version doesn't have what you want, you can use gchristensen's channel history here: https://channels.nix.gsc.io/
<pie___> Synthetica, thanks, good to know
<{^_^}> [nixpkgs] @dotlambda opened pull request #61087 → qutebrowser: 1.6.1 -> 1.6.2 → https://git.io/fjcnK
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0852a6e22ab (from 16 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Synthetica> (I only know this because I had to use it like 30 minutes ago :P)
<bahamas> pie___: I need an older version
<pie___> thats what i figured. I guess I would try searching the git history then and use a pinned version of nixpkgs to install it
<Synthetica> bahamas: You could also pin a specific commit if it isn't in any channels, you'll probably have to compile it yourself tho
<pie___> or forward port it if possible
<immae> bahamas: then git is the way to go, once you find the package you can click on "history" on github (if you don’t know how to use git tools, which are usually more efficients)
<pie___> bahamas, is there anything (like dependencies) stopping you from just overriding your package version?
<araadkins> So I'm trying to work out how I could use nix to replace homebrew, but I don't want to `nix-env -i <foo>` the whole time. Instead, I'd like to have a configuration file that I can pass to `nix-env -f <file> -i`. Does anybody have an example of such a setup that is relatively simple to understand?
bgamari has quit [Ping timeout: 252 seconds]
<infinisil> ,declarative araadkins
<{^_^}> araadkins: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<bahamas> pie___: that's what I wanted to ask. I'm using this project
<bahamas> [#nixos]
<araadkins> Thanks infinisil
bgamari has joined #nixos
<pie___> bahamas, bad paste?
<bahamas> pie___: https://github.com/tweag/sparkle. it pins the version of nixpkgs in nixpkgs.nix
<bahamas> yes
<bahamas> this whole thing is a combination of nix + docker + stack (haskell build tool). the problem is that stack calls itself and discovers an older version because of the pinned nixpkgs. should I just try to remove the pinned nixpkgs?
jabranham has joined #nixos
<pie___> no idea, thats over my head right now but maybe someone else can help
<bahamas> also, how do I do that? I tried simply commenting the import here https://github.com/tweag/sparkle/blob/master/shell.nix. but that didn't work
<bahamas> I don't remember what happened. I'll try again now
<pie___> have you checked through the readme? maybe you can get some documentation added somewhere to make sure next time the issue comes up for someone its easier to deal with
<immae> bahamas: do you want it to "just work" (if so, as far as I can see, you can just call the right arguments and it "should" work, everything seems to be done for that), or do you want to upgrade it?
<bahamas> immae: I want it to just work. what would be the right arguments?
<immae> in particular the stack calling a former version of himself looks like an error in your nix-build / nix-shell arguments to me
<bahamas> I'm just calling `stack --docker build` right now, as the README instructs
fgds has joined #nixos
<immae> I’m not very at ease with nix-shell, but it looks like running `nix-shell` will put you in a shell where "stack --docker build" would run correctly
<immae> Can you try it?
<immae> To make sure you’re not "spoiled" with system dependency you can even do `nix-shell --pure`
<bwe> What's the recommended way to build a Haskell package in nixOS? I am coming from stack.
<bahamas> immae: I need to run nix inside docker, because it specifies a dependency (hadoop) that is not supported on OS X
<bahamas> bwe: have you seen this? https://github.com/Gabriel439/haskell-nix
<bwe> bahamas: Actually I am right now playing around with it.
bitmapper has quit [Quit: Lost terminal]
<bahamas> that's what I went through. it's a start
<immae> bahamas: hmm I think the author meant it the other way around: you run your nix-shell, and in that shell you use `stack --docker build` ?
<immae> Not absolutely sure about it though
<bwe> However, I got confused in https://github.com/Gabriel439/haskell-nix/blob/master/project0/README.md at the "Building with cabal" section
<bahamas> immae: well, I tried that and got the error about hadoop
<immae> ok
<bahamas> bwe: what confuses you?
<immae> Then I don’t know more, sorry
<bwe> bahamas: nix-build release0.nix -- is fine. later it switches from nix-build to cabal configure. That part I don't understand.
<bahamas> immae: can you confirm one thing though. that project depends on this Docker image https://github.com/tweag/stack-docker-nix/blob/master/Dockerfile. based on the code, the image will use the last nixpkgs, right? that means it will have available the latest version of stack, no?
johanot has quit [Quit: WeeChat 2.4]
<immae> bahamas: yes it will use the latest nixpkgs-unstable
hex2 has joined #nixos
<bahamas> bwe: nix-build calls cabal for you. nix-shell just drops you into a shell with all dependencies available. you then call cabal just as if you didn't use nix at all
<bahamas> in the sense that nix provided you with the environment and you use cabal directly
fgds has quit [Quit: Page closed]
<bahamas> immae: ok. that image calls this file from sparkle https://github.com/tweag/sparkle/blob/master/shell.nix. this file has nixpkgs pinned. I presume this is where the version mismatch for stack comes from. what do you think?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a3f8a25ab30 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<immae> bahamas: can you show me where the call happens?
<immae> Since the shell.nix doesn’t have "stack" as dependency (in buildInputs) it’s very possible that it gets value from system-wide (here, the docker image)
<bahamas> immae: here https://github.com/tweag/stack-docker-nix/blob/master/entrypoint.py this is the first image's entrypoint
<immae> bahamas: can you add a "--pure" argument in that file ^ at line 27 and confirm that it won’t find stack?
justanotheruser has quit [Quit: WeeChat 2.4]
<immae> if so, then yes the docker image has a stack corresponding to latest nixpkgs-unstable (so quite recent), and is called things from an older nixpkgs
esmerelda has quit [Ping timeout: 248 seconds]
<bahamas> immae: ok, so then I have two possible solutions. remove the pinned nixpkgs from shell.nix or pin nixpkgs in here https://github.com/tweag/stack-docker-nix/blob/master/Dockerfile. which one do you think is safer?
ilikeheaps has quit [Ping timeout: 250 seconds]
<immae> I don’t know the reason why the person pinned the version, probably because it was "the one with which it works". You can try both ways but downgrading the dockerfile has most success chance
<samrose> seeking opinions on this approach to running binaries in nixos: https://github.com/holochain/n3h/blob/master/build/n3h-nix.bash it seemed in the past that folks here responded that in general nix-shell is not a good way to be running binaries. what do you think?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60998 → pythonPackages.worldengine: fix tests by moving nose to checkInputs → https://git.io/fjccc
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjccC
<hex2> exit
<bahamas> immae: will commenting the "? import ..." part work here or do I need to do it differently? https://github.com/tweag/sparkle/blob/101ec44ebd826e4917fadb26e07c98079146af8c/shell.nix#L1
<bahamas> I just tried it now, but it's still building
<hex2> /
hex2 has left #nixos ["WeeChat 1.9.1"]
<immae> bahamas: error: cannot auto-call a function that has an argument without a default value ('nixpkgs')
<bahamas> immae: sounds right.
<bahamas> so, how do I do it?
<immae> For a quick test, you can replace ./nixpkgs.nix by <nixpkgs> and run `NIX_PATH=https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz nix-shell`
<immae> Or fix the ./nixpkgs.nix file to target the right version
<bahamas> or I can just put that URL in nixpkgs.nix
<immae> Yes
<samrose> it seems like if someone is trying to run software by doing `GCC="$(which gcc)"` and then `GLIBC_LIB="$(nix-store --query --requisites "${GCC}" ` there is a chance that there will be more than once copy of a given lib
<samrose> and that everything being done in https://github.com/holochain/n3h/blob/master/build/n3h-nix.bash could and should be done in a nix expression
<{^_^}> [nixpkgs] @thefloweringash opened pull request #61088 → opencsg: Darwin support and tidy → https://git.io/fjccg
<samrose> but would love your opinions on this approach here
araadkins has quit [Quit: Page closed]
hoijui has quit [Remote host closed the connection]
Cale has quit [Remote host closed the connection]
Cale has joined #nixos
esmerelda has joined #nixos
<immae> samrose: it looks to me that nothing prevents you from writing a nix expression whose output would be a script running your `node n3h.js` yes
<samrose> immae: are there issues you can see with people trying to run things with nix-shell in production settings?
<bahamas> immae: for some reason the version mismatch still occurred
linarcx has quit [Ping timeout: 245 seconds]
<bahamas> ugh, I had forgotten to bring back the line with ? import ./nixpkgs.nix
<immae> samrose: you should ask to the people who told you not to do it, I don’t see any :) (but I’m not a big user of nix-shell so...)
<samrose> immae: like if I am building up nixos with nix expressions, and some of the code I am running instead fires up a nix-shell and establishes and environment, and runs it in production in nix-shell in an aut updating nixos configuration, is this likely not a good practice?
<samrose> immae: thanks for your response
linarcx has joined #nixos
<immae> samrose: ah writing a nix expression whose job is to spawn a nix-shell running a command is a bit overkill usually
<immae> bahamas: I’m surprised it compiles at all if you don’t specify a nixpkgs argument
<bahamas> immae: maybe stack passes the nixpkgs argument when running stack build. I also got the error you mentioned above, but only when I ran `nix-shell` directly
<immae> that’s possible
bahamas_ has joined #nixos
<{^_^}> [nixpkgs] @angristan closed pull request #61082 → solargraph: 0.32.1 -> 0.32.2 → https://git.io/fjc3Y
<bahamas_> my connection dropped, so the build failed. sigh
bahamas has quit [Read error: Connection reset by peer]
<immae> bahamas_: can you try the same with the "old" version of nixpkgs then?
<immae> (the one that is pinned in the nixpkgs.nix, and report it to the dockerfile to have the same version)
<bahamas_> immae: I'm trying now with the URL you gave me, because the build failed cause of a connection error
<immae> ok
endformationage has joined #nixos
knupfer has joined #nixos
mmercier has quit [Quit: mmercier]
dsx has quit [Quit: dsx]
mmercier has joined #nixos
mmercier has quit [Client Quit]
mmercier has joined #nixos
mmercier has quit [Client Quit]
<Synthetica> bahamas_: If you're on an unstable connection, you might want to check out mosh: https://mosh.org/
<gchristensen> FYI: Packet.com has just released their 19.03 support
<bahamas_> ok, it still downloaded stack 1.7.1 (the old version). I don't understand why, if I specified the latest in nixpkgs
<bahamas_> Synthetica: thanks. normally it's not unstable.
<bahamas_> immae: how do I specify the old version in the Dockerfile?
<bahamas_> do I just replace the URL here with the one pointing to the tar archive? https://github.com/tweag/stack-docker-nix/blob/da3262e8bf8c9567bb901c819942c668dcbfd5c2/Dockerfile#L8
Guest90741 has quit [Ping timeout: 264 seconds]
<immae> almost
<immae> I would say you need to find the url of the channel corresponding to the commit (if it exists)
<immae> but maybe there is a better way
<immae> s/channel/channel snapshot/
<immae> but it’s probably easier to find how to pass nixpkgs as argument to the nix-shell
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<bahamas_> immae: I'm assuming something passes that argument the shell.nix file, since the version specified in nixpkgs.nix is ignored, no?
<bahamas_> it would also explain why there was no error when I deleted the default value for nixpkgs
<immae> It is possible
esmerelda has quit [Ping timeout: 246 seconds]
<immae> But nixpkgs.nix is included in other files too if I remember correctly
sigmundv__ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @nlewo opened pull request #61089 → dockerTools: Fix Docker layers order → https://git.io/fjcCd
sigmundv_ has joined #nixos
sestrella has joined #nixos
esmerelda has joined #nixos
jchia_ has left #nixos [#nixos]
<bahamas_> immae: in Dockerfile and stack.yaml
<immae> ok
linarcx has quit [Ping timeout: 258 seconds]
dsx has joined #nixos
linarcx has joined #nixos
Guest90741 has joined #nixos
capnp has quit [Remote host closed the connection]
deadloko has joined #nixos
linarcx has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #61068 → sierra-gtk-theme: 2018-10-12 -> 2019-05-07 → https://git.io/fjcI2
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/fjcWs
linarcx has joined #nixos
capnp has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
<capnp> if I have a package python2.7-wxPython how can I find what name should I put in `super.???.overrideAttrs` to make an overlay for it?
<qyliss^work> In this case, it's python27Packages.wxPython
<capnp> thanks, but how did you find it?
<qyliss^work> I typed nix-shell -p python27Packages.wx and then used autocomplete :P
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59653 → python37Packages.django_modelcluster: 4.3 -> 4.4 → https://git.io/fjYLG
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcW0
<qyliss^work> More generally, you can search the nixpkgs repo for the package name to find the file it's defined in, then search for the file name to find out what attribute name is used for it.
<{^_^}> [nixpkgs] @baracoder opened pull request #61090 → Update Jetbrains IDEs → https://git.io/fjcW2
<capnp> qyliss^work: I've been using search function on github to find the package sources, but I didn't know what to do next
srid has quit [Ping timeout: 255 seconds]
<fendor> how can I start a django server in nixos? Can I somehow utilise the requirements.txt?
<qyliss^work> capnp: oh, looks like you can also just run`nix-env -qaP python2.7-wxPython`
<qyliss^work> and that'll do it for you
<capnp> qyliss^work: oh, that's very helpful, thanks!
sestrella has quit [Ping timeout: 245 seconds]
<bahamas_> immae: thank you for your help. I'll keep digging
<{^_^}> [nixpkgs] @kalbasit merged pull request #60417 → termshark: init at 1.0.0 → https://git.io/fjGiJ
<{^_^}> [nixpkgs] @kalbasit pushed commit from @winpat to master « termshark: init at 1.0.0 (#60417) »: https://git.io/fjcWF
<immae> bahamas_: good luck
<gchristensen> I sorta wish stdenv.mkDerivation didn't use @args to collect all env vars, and instead segregated them in to an `env` argument. as an example of why, I just specified `postPath` instead of `postPatch` and it isn't really possible to know that this is wrong without doing the (in this case, fairly expensive) build first
<qyliss^work> gchristensen++
<{^_^}> gchristensen's karma got increased to 115
_e has quit [Quit: leaving]
<infinisil> gchristensen: Agreed
<Twey> gchristensen: Yes
<immae> gchristensen: well, usually I only find out at runtime when I see that <my super feature hidden behind a flag> doesn’t work :p
bahamas_ has quit [Quit: Lost terminal]
<gchristensen> yeah exactly
<gchristensen> there you go, it'd make .override vs. overrideAttr confusion more obvious
<Twey> I guess it's inherited from `derivation` in Nix
<Twey> Which does the same thing
<gchristensen> yeah, which I think is generally fine
_e has joined #nixos
<Twey> Well, it has the same problem… if you typo `agrs` you're not going to find out until later
<gchristensen> not sure it is the same problem
<Twey> gchristensen: Why's that?
alexherbo2230 is now known as alexherbo2
<ldlework> Windows support when?
<gchristensen> ldlework: we already run on WSL okay
<gchristensen> and volth and angerman does cross-compilation to windows
sestrella has joined #nixos
<ldlework> hehe
<ldlework> i am really missing nix on windows
<gchristensen> Twey: well with one you're doing essentially { some, params } @ args: derivation ({...} // args) so you're not likely to typo `args` or mess up that part of the development
<gchristensen> whereas postPatch is part of a defined API, and arbitrary environment vars are a grab-bag
<gchristensen> and since they're in the same structure (`@args`) you can trivially make the name mistake
srid has joined #nixos
mexisme has joined #nixos
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Twey> gchristensen: I mean, `derivation` also has such a defined API, with keys like `builder` and `args`. So if you (hypothetically) type `derivation { builder = …; arggs = [ … ]; }` you'll run the builder normally but without its args — for the same reason, because there's a defined API embedded into an arbitrary key/value set
<gchristensen> ah sure
<angerman> gchristensen, ldlework: to be fair we mostly focus on cross compiling haskell to windows. And there has been a lot of work by Ericson2314 (I believe) to provide nixpkgs a good cross compilation support. These days we mostly focus on our haskell.nix infrastructure and keep adding cross compilers (mostly towards the web right now) to it. blackriversoftwa is adding arm right now though.
<gchristensen> only very few people type the dark book's words `derivation { ...` in to an editor though ;)
bodqhrohro_ has joined #nixos
<capnp> Why super.python27Packages doesn't have overrideScope'? What can I use instead?
<pie___> capnp, does it have .extend maybe?
<bodqhrohro_> Can I query the dependencies of given installed package with nix-env?
mexisme has quit [Ping timeout: 246 seconds]
<pie___> gchristensen, i think i complained about phase presence problems a few times
<Twey> gchristensen: Yeah, but for historical/ecosystem reasons, not for Nix reasons :) `derivation` isn't a hidden detail, it has a user-visible API that nixpkgs wrapped for convenience
<Twey> gchristensen: It also has impacts on the higher-level APIs, though — so you can't ever pass an environment variable called `args`, for example
<gchristensen> there is no reason that stdenv.mkDerivation must follow «derivation»'s API
<capnp> pie__: sorry I can't find documentation on extend, do you have some example?
<pie___> capnp, something.extend (overlay_goes_here)
<{^_^}> [nixpkgs] @lfont opened pull request #61091 → rgbds: 0.2.4 -> 0.3.8 → https://git.io/fjclW
<Twey> No, indeed. But there's also no reason that `derivation`'s API shouldn't be improved for the same reasons. And if you did improve `mkDerivation` there would still be some confusing things — like if you said `mkDerivation { env.args = "hello there"; }` you might get confused by the results. :)
<pie___> where overlay_goes_here is of the form self: super: { stuff = foo; }
<pie___> fix all the historical raisins
<pie___> hysterial raisins i mean
<pie___> nevermind
ottidmes has joined #nixos
<Twey> pie___: Hehe, humorous typos are hard!
<Twey> (but not as hard as humerus typos)
<capnp> pie__: I've tried this `python27Packages = super.python27Packages.extend (self: super: { });` and it tells me error: attribute 'extend' missing
<pie___> capnp, well it was worth a shot i guess
<pie___> capnp, btw you can use tab completion in nix repl
<Twey> But not across hyphens :)
<capnp> the only problem is I don't know how to use repl :(
<qyliss> run `nix repl '<nixpkgs>'`
<qyliss> then you can just type in expressions and see what they evaluate to
Ralith_ has quit [Remote host closed the connection]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<ottidmes> I am going to buy myself a new laptop this week on which I will be running NixOS. I am living in the Netherlands so I prefer Dutch webshops or at least EU based companies (due to warranties / import costs and delays). What laptop would you suggest for NixOS with at least 16G of RAM? So far I have found two nice candidates https://www.tuxedocomputers.com/en/Linux-Hardware/Linux-Notebooks/Alle.tuxedo#1275,1319
<ottidmes> (the TUXEDO InfinityBook Pro 13 v4) and Lenovo Yoga C930 (I like the idea of a 2-in-1, but not a must have). Any body experience with either of those, or suggestions for other laptops?
<goibhniu> hyper_ch: is that the tuxedo that you have?
<capnp> qyliss: well, launching it is easy, but then I don't know how to get self and super that I need for testing my overlays
<qyliss> oh I see
<qyliss> yeah, you'll need to figure out what function to use
<niksnut> ottidmes: Dell XPS 13
<{^_^}> [nixpkgs] @dtzWill merged pull request #60744 → swift: 4.3.2 -> 5.0.1 → https://git.io/fjZSm
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to master: https://git.io/fjcld
<qyliss> capnp: think I've found it
<qyliss> Does python27Packages.override { overrides = self: super: { /* ... */ }; } work for you?
<capnp> qyliss: I will check
<ottidmes> niksnut: I have considered it, but I am afraid about coil whine and I read that you have to be lucky to get one without any hardware problems, I bought another Dell XPS for my sister in law and the laptop had to be returned due to issues
<qyliss> fwiw, I don't think that composes nicely, so eg it won't work well with multiple overlays
<gchristensen> I guess I'm not close enough to my xps13 to hear its coil whine
<niksnut> the wireless on the xps is also pretty dodgy
<niksnut> other than that it's pretty good
Glider_IRC has joined #nixos
<ottidmes> niksnut: and also ~2000 euro for 16GB model is too much for me
_e has quit [Quit: leaving]
toppler` has quit [Read error: Connection reset by peer]
toppler` has joined #nixos
dbmikus has joined #nixos
wfranzini has quit [Remote host closed the connection]
sestrella has quit [Ping timeout: 246 seconds]
<gchristensen> the 9380 though is super, though
<gchristensen> s/though is/is/
<lordcirth__> Anyone here running NixOS on ARM, or more specifically big.LITTLE?
<gchristensen> I run NixOS on a few ARM systems
<gchristensen> also #nixos-aarch64
<lordcirth__> Oh cool, thanks
<capnp> qyliss: strange, it looks like majority of python27 packages disappeared after this override
Myhlamaeus has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
<ottidmes> I will try to contact this person https://github.com/NixOS/nixpkgs/issues/51037 since he seems to run NixOS on that Lenovo C930
<{^_^}> #51037 (by JonathanReeve, 23 weeks ago, closed): Sound doesn't work properly: subwoofer not recognized
orivej has joined #nixos
<qyliss^work> capnp: that's... odd
[Leary] has joined #nixos
<pie___> anyone know how to solve "fatal: unable to access 'https://internal.domain/owner/repo/': SSL certificate problem: self signed certificate in certificate chain" for fetchgit?
<pie___> lassulus, ^
Lears has quit [Ping timeout: 252 seconds]
<capnp> qyliss^work: here is my overlay http://dpaste.com/3RF6BK9 in case something is wrong with it
erasmas has joined #nixos
sestrella has joined #nixos
<qyliss^work> > lib.length (lib.attrNames (python27Packages.override { overrides = self: super: {}; }))
<{^_^}> 2520
<qyliss^work> > lib.length (lib.attrNames (python27Packages))
<{^_^}> 2521
_e has joined #nixos
ckoparkar has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #61092 → gpsbabel: 1.5.4 -> 1.6.0 → https://git.io/fjc8C
<qyliss^work> it appears to me that exactly one package is disappearing capnp?
ambro718 has joined #nixos
<gchristensen> https://www.virtualbox.org/ticket/14359#comment:1 hmm virtualbox has its own OfBorg
<pie___> nevermind, fetchgit problem solved
<pie___> (you can .override cacert on fetchgit)
Myhlamaeus has quit [Quit: WeeChat 2.4]
Myhlamaeus has joined #nixos
<capnp> qyliss^work: I use this command to count: `$ nix-env -qa | grep -c "python2.7"` and I get 28 with overlay and 2271 without this overlay
<{^_^}> [nixpkgs] @c0bw3b merged pull request #59646 → python37Packages.cfgv: 1.4.0 -> 1.6.0 → https://git.io/fjYIe
<deadloko> pie___: good to know this, there is issue exists on github but it's still open after 4 years
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjc8E
Myhlamaeus has quit [Client Quit]
<pie___> deadloko, idk anyhting about this but a coworker solved it using that
Myhlamaeus has joined #nixos
ubert has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<qyliss^work> capnp: are any packages you're using not being found? If not, I wouldn't worry about it -- I think it's probably some issue with that command rather than with the overlay.
<capnp> qyliss^work: somehow 22 hundred packages get erased, including the ones that I need
<qyliss^work> and the ones you need are definitely not accessible by their attribute path?
<capnp> what you mean by attribute path?
<qyliss^work> eg python27Packages.numpy
<capnp> qyliss^work: http://dpaste.com/0JTFG5J
<qyliss^work> the attribute path is the thing you would use with nix-env -iA
Glider_IRC has quit [Quit: Leaving]
Glider_IRC has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61061 → gcc-arm-embedded: add darwin support → https://git.io/fjcJS
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-19.03: https://git.io/fjc8K
<qyliss^work> (Which you probably want to use instead of -i -- see nix-env(1))
sheeldotme has joined #nixos
<capnp> qyliss^work: `nix-env -iA nixpkgs.python27Packages.psutil` works with overlay
<qyliss^work> cool
<capnp> but it feels wrong like something broke
<qyliss^work> the "broke" this is nix-env -i
<qyliss^work> never use it
<qyliss^work> always -iA
<deadloko> which purpose serv "mkDefault" in .nix? I can't seem to find documentation on this
<deadloko> for example, nixos-on-arm project using it
<qyliss^work> deadloko: it lets you set the default value for an option
fresheyeball has joined #nixos
<qyliss^work> but if that same option is specified elsewhere, the non-default one will be used
<capnp> qyliss^work: then what should I use instead of `nix-env -qa` since it also broke?
<fresheyeball> $'\r': command not found <- anyone seen this?
<fresheyeball> It appears to be a windows line endings issue
<deadloko> qyliss^work: thanks
<{^_^}> [nixpkgs] @eraserhd opened pull request #61093 → parinfer-rust: init at 0.3.1 → https://git.io/fjc8X
<fresheyeball> builds fine in a nix-shell with nix-shell -p gnumake gcc libusb pkg-config
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @costrouc opened pull request #61094 → pythonPackages.macropy: init at 1.10b2 → https://git.io/fjc81
<fresheyeball> /nix/store/5ksf0iydgvxyixf19dyfsg1vmjpcxva0-stdenv-linux/setup: line 1306: $'\r': command not found
<fresheyeball> this makes no sense to me, since it builds fine in the shell, and there is no way that stdenv uses windows style line endings
<deadloko> fresheyeball: what's on /nix/store/5ksf0iydgvxyixf19dyfsg1vmjpcxva0-stdenv-linux/setup line 1306?
<pie___> deadloko, can you link the issue you found
<{^_^}> #3382 (by kevinburke, 4 years ago, open): Provide more assistance for users to find SSL certificates (the "unable to get local issuer certificate" problem)
<fresheyeball> deadloko:https://github.com/NixOS/nixpkgs/blob/ebd47d7b542d05fd3f3992065e8327aa29094dda/pkgs/stdenv/generic/setup.sh#L1306
WizBright has quit [Ping timeout: 258 seconds]
<deadloko> pie___: that's not exacly your issue but it seems that root of the problem is the same
<fresheyeball> deadloko:its an empty line it seems
<qyliss^work> capnp: can you try running something for me?
<qyliss^work> nix-env -qa --arg overlays '[ (self: super: { python2Packages = super.python2Packages.override { overrides = self: super: {}; }; }) ]'| grep -c python2.7
<deadloko> fresheyeball: are you sure that it's the same as your local setup?
<fresheyeball> deadloko:yes, I pin with fetchgit
<qyliss^work> Have you checked that line? Your file could be corrupted..
<fresheyeball> qyliss^work: you mean in the nix-store it could be corrupt?
<qyliss^work> yeah
<fresheyeball> I don't know how to do that
<qyliss^work> open the file
<qyliss^work> see what's on that line
<fresheyeball> how do I find it?
<qyliss^work> fresheyeball: <deadloko> fresheyeball: what's on /nix/store/5ksf0iydgvxyixf19dyfsg1vmjpcxva0-stdenv-linux/setup line 1306?
<deadloko> qyliss^work: "cat /nix/store/5ksf0iydgvxyixf19dyfsg1vmjpcxva0-stdenv-linux/setup" ?
<qyliss^work> You can also run nix-store --verify-path on it
<capnp> qyliss: result is 2271
<capnp> qyliss^work: but how is it different from what I have in my overlay?
<qyliss^work> exactly my question
<qyliss^work> I have no idea
<fresheyeball> qyliss^work: deadloko: cat looks fine
<fresheyeball> verify-path returned with no output
ckoparkar has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<capnp> qyliss^work: oh, I see
<capnp> qyliss^work you have python2 not python27
<qyliss^work> oh
<qyliss^work> try with python27
<Neo---> what would be the best way to override / prepend to the wrapper that a program has? an overlay what would prepend to install phase? or can something be done afterwards? i need to run unset SOME_ENV_VARIABLE before starting the program to make it run
<capnp> qyliss^work: now the answer is 28
WizBright has joined #nixos
<qyliss^work> I get the same thing
<qyliss^work> I have no idea what's going on there, I'm afraid :/
<capnp> qyliss^work: well, me neither :) thanks for your help!
<Neo---> or, alternatively, should I just put this: https://github.com/NixOS/nixpkgs/issues/52302#issuecomment-477818365 into jetbrain's installphase? it seems to resolve the issue for me but I'm not sure of it's consiquences
<deadloko> qyliss^work: is "cat -n /nix/store/5ksf0iydgvxyixf19dyfsg1vmjpcxva0-stdenv-linux/setup" shows that 1306 line is empty?
<qyliss^work> deadloko: you mean fresheyeball
<fresheyeball> deadloko: you are right! I misread the line number
<fresheyeball> its eval "${!curPhase:-$curPhase}"
<qyliss^work> capnp: these are the packages that get removed for me, fwiw https://0x0.st/zTeQ.diff
<deadloko> qyliss^work: missed :)
drakonis has joined #nixos
emilsp has quit [Quit: be gentle, I'm learning]
lempis has joined #nixos
<infinisil> qyliss^work: That 0x0 site has a cool retention period method
<capnp> it is strange that not all of them disappear, some remain. it means there is something different about them
zeta has joined #nixos
sestrella has quit [Ping timeout: 255 seconds]
<qyliss> infinisil: it's my fav pastebinny sort of thing
<zeta> what is the package to install matrix protocol in nixos ? https://matrix.org/blog/index
<deadloko> fresheyeball: try removing "source $stdenv/setup" line from your buildPhase
drakonis_ has quit [Ping timeout: 248 seconds]
sheeldotme has quit [Read error: Connection reset by peer]
<fresheyeball> deadloko:no change
<qyliss> Try adding NIX_DEBUG = 1 to your mkDerivation
<qyliss> Should at least give you an idea where it's happening
<zeta> i found: `riot-web` which is good but i am not sure about matrix protocol, is this it: `matrix-synapse` ?
<tilpner> zeta: What do you expect "install matrix protocol" to do? Protocols aren't something you install
<tilpner> zeta: matrix-synapse a homeserver for Matrix
drakonis has quit [Ping timeout: 248 seconds]
<tilpner> zeta: Synapse implements the Matrix protocol, but Synapse isn't the Matrix protocol
nschoe has quit [Ping timeout: 258 seconds]
<zeta> tilpner: well i just wanted an open source alternative to `whatsapp` and `skype`, can `riot-web` do all this as well as be used as a `chat client`(so i can switch from `weechat` to `riot`) ?
<tilpner> zeta: You can actually use Matrix from weechat
<tilpner> riot-web is intended to be served by e.g. nginx, and then used with a browser
<tilpner> There is a riot electron app, but I've stopped using that
<deadloko> fresheyeball: https://pastebin.com/3qVPnGqh i made this, then "nix-shell -E 'with import <nixpkgs> {}; callPackage ./test.nix {}' --pure", then genericBuild
<deadloko> it compiles
<zeta> tilpner: so what is the nixos package for that called ?
<tilpner> zeta: What "that" are you referring to?
<klntsky> Does cache.nixos.org store intermediate derivations used to build pkgs, e.g. files downloaded using fetch* functions?
<zeta> tilpner: riot electron app
<tilpner> There is none in nixpkgs
<deadloko> fresheyeball: but failes to install, you need to interact with $out in installPhase
<ambro718> What is the result of defining buildCommand for mkDerivation?
{`-`} has joined #nixos
<deadloko> fresheyeball: https://pastebin.com/BDt1PYSZ this compiles and installs successfully, command i used to build it "nix-build -E 'with import <nixpkgs> {}; callPackage ./test.nix {}'"
<zeta> tilpner: according to the instructions i still need to use it with `riot-web` ?
sigmundv_ has joined #nixos
<tilpner> zeta: That's referring to the submodule. I don't know how exactly the content of the riot-web package differs from it
<zeta> tilpner: i just want a simple setup to be able use `riot` as a nix package.
<tilpner> I can't give you that
<zeta> tilpner: what would you recommend ?
<tilpner> My current recommendation for Riot is to use chromium in app-mode with a hosted Riot
<tilpner> It's easy to host your own Riot copy with your own settings, and goes along well with your own Synapse
<tilpner> But you can also just use riot.im
<tilpner> Yeah, it won't work without an internet connection
<tilpner> But what were you going to do with Riot without an internet connection?
<zeta> tilpner: if i understand correctly `riot-web` is a desktop app that connects to `riot.im`, is this correct ?
<tilpner> No, riot-web is the files a webserver can serve to create your own riot.im clone
<tilpner> And riot.im connects to your homeserver, e.g. matrix.org
esmerelda has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
<zeta> tilpner: so if i understand you correctly, i need to setup a `matrix home server`, then setup `riot-web` with `nginx` in order to connect to the web(riot.im) ?
<tilpner> No, in that scenario you wouldn't connect to riot.im at all
<qyliss> You don't need your own home server -- you can use matrix.org.
<tilpner> Setting up a homeserver is completely optional
<tilpner> You also don't need to serve your own Riot copy, so no need for nginx
esmerelda has joined #nixos
pie___ has quit [Ping timeout: 252 seconds]
<zeta> tilpner: i just want a riot desktop app that automatically connects to the web so i can do things like, messaging, video chat, etc, just like whatsapp, skype and weechat ?
<tilpner> Yes, you said as much
<zeta> tilpner: so there is no riot app like this in nix packages ?
<tilpner> There is none in nixpkgs
<Ralith> tilpner: a riot package actually got merged to master not long ago
<tilpner> Oh!
<tilpner> > riot
<{^_^}> undefined variable 'riot' at (string):253:1
<Ralith> > riot-desktop
<{^_^}> "<derivation /nix/store/pv78sfci3v1x0nbs70p27bdjhy50sxic-riot-desktop-1.0.8.drv>"
lambda-11235 has joined #nixos
<zeta> Ralith: i don't see it in nixos packages, i only see riot-web ?
<tilpner> Great! Now you can use that from unstable, zeta
<tilpner> ,unstable
Jetien_ has quit [Ping timeout: 255 seconds]
<betaboon> anyone has a suggestion how to add a postgresql-plugin via an overlay ?
<pbb> ottidmes: I don't know what is important to you, but I would personally recommand a ThinkPad X230
<zeta> oh, i am running nixos 19.03 stable, so i need to figure out how to run riot desktop unstable in 19.03 stable ?
<tilpner> zeta: No, just click the wiki link and it'll tell you
knupfer has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #60491 → Staging next → https://git.io/fjZfz
<{^_^}> [nixpkgs] @FRidh pushed 173 commits to master: https://git.io/fjcBR
kenshinCH has quit [Quit: WeeChat 2.4]
<zeta> can you pastebin that link weechat does not let me copy it correctly
<{^_^}> [nixpkgs] @FRidh pushed 55 commits to staging-next: https://git.io/fjcBz
<capnp> qyliss^work: I think I fixed it `$ nix-env -qa --arg overlays '[ (self: super: { python27Packages = super.recurseIntoAttrs (super.python27Packages.override { overrides = self: super: {}; }); }) ]'| grep -c python2.7`
<tilpner> zeta: Search for the nixos wiki, go to the FAQ, then search for unstable
<{^_^}> [nixpkgs] @FRidh pushed 367 commits to staging: https://git.io/fjcBV
<tilpner> (Or just type nixos.wiki into your browser)
<tilpner> zeta: Or press alt-L for raw mode in weechat, might help you copy the link
<{^_^}> [nixpkgs] @FRidh pushed 65 commits to staging-next: https://git.io/fjcBo
<{^_^}> [nixpkgs] @FRidh opened pull request #61095 → Staging next → https://git.io/fjcBK
<fresheyeball> deadloko:I moved your code into my file
<fresheyeball> and no change
<deadloko> fresheyeball: that is, indeed, strange
<ottidmes> pbb: Thanks for the suggestion I will check it out. My requirements are roughly: Good NixOS support (if e.g. a fingerprint scanner does not work, too bad, but fundamentals have to work without issue), at least 16G of RAM, at least 6 hours on accu, at least full HD display, NL or at least EU bought (due to warranties / otherwise extra painful in case of repairs), < 1500 euro
andreas31 is now known as andreas303
lordcirth__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61096 → cross: use newer gnu-config on iOS → https://git.io/fjcBD
<zeta> tilpner: does anyone know when it will become stable ?
<fresheyeball> deadloko:https://pastebin.com/wQwNih6Z
zeta has quit [Quit: WeeChat 2.4]
<tilpner> ,tell zeta October, probably
<{^_^}> tilpner: I'll pass that on to zeta
zeta has joined #nixos
<tilpner> zeta: October, probably. But you can use it already just fine
<zeta> october ?
<{^_^}> zeta: 1 minute, 9 seconds ago <tilpner> October, probably
imdoor_ has joined #nixos
<ottidmes> pbb: the ThinkPad X230 is too low spec, my current laptop has 4GB RAM and a resolution of 1366x768 as well, but its almost 10 years old, so it would not be enough of an improvement over my current laptop
<tilpner> zeta: Yes, unless someone backports it you need to either use it from unstable or wait until the next release, which will probably only be done in october
<pbb> I see, I also thought I needed an upgrade and bought a ThinkPad A485, which is much better spec-wise. But in everyday usage I found myself using the X230 anyway, because it is a well-designed device in other regards
<pbb> There are also modded X230 with FHD display and quadcore CPU soldered in :D
<zeta> ok
<zeta> tilpner++
<{^_^}> tilpner's karma got increased to 24
freeman42x has joined #nixos
zeta has quit [Client Quit]
<pbb> ottidmes: the end of the story is, I am selling the A485 again in favor of a modded X230. I found there is no better modern device yet. All of them have soldered ram, ssds or similar and can not be easily opened and maintained. Plus X230 has coreboot support.
rfold has joined #nixos
<rfold> Hi, the functions in vmTools.diskImageFuns build disk images. Are those supposed to be bootable?
<ottidmes> pbb: the biggest problem for me would be the memory, which has become a bottleneck for productivity on my laptop. 4G RAM is enough for simple work, but not now that it will become my daily driver again
<pbb> you can put 16GB in the X230 by removing two screws
gagbo has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #60322 → gallery-dl: init at 1.8.2 → https://git.io/fjGTL
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/fjcBb
deadloko has quit [Quit: deadloko]
<pbb> but this tuxedo infinitybook doesn't look too bad either. just doubting it can reach the same ergonomic and robustness standards .
<pbb> plus I currently have an X230t, which also has a Wacom digitizer, and I just love it
<pbb> But otherwise I still think ThinkPad X- or T-series is the best you can get if you want a recent CPU, but they are not cheap.
<ottidmes> pbb: interesting! I am giving it some more thought, I already found a few shops that sell the them with the option to indeed upgrade it to 16G too bad I have yet to find one with a higher reso display
sigmundv_ has quit [Remote host closed the connection]
<pbb> the display upgrade is not quite so easy unfortunately. you can mostly get them from china.
nschoe has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
lordcirth_ has joined #nixos
<ottidmes> pbb: I will not be doing it myself, I am not good enough with electronics for that, I will continue searching for that, but its nice to see you can get a decent laptop with 16G of RAM and and a 500G SSD for 427 euro!
<pbb> I would always buy the device with whatever low specs it has and upgrade it. SSD is one screw, and two more screws for RAM
ambro718 has quit [Quit: Konversation terminated!]
<pbb> I got my device for 200€ used with 4G of RAM and HDD, and replaced HDD and RAM for ~180€
<pbb> upgrading RAM and SSD is reeeally easy on these devices. display and cpu not so much
<{^_^}> [nixpkgs] @Lassulus merged pull request #60994 → pstree: remove and alias to psmisc → https://git.io/fjcRk
<{^_^}> [nixpkgs] @Lassulus pushed commit from @c0bw3b to master « pstree: remove and alias to psmisc »: https://git.io/fjcRI
<{^_^}> [nixpkgs] @kalbasit opened pull request #61097 → bazel: 0.24.0 -> 0.25.0 → https://git.io/fjcRt
<pbb> ottidmes: the people from 51nb.com also built the ThinkPad X210 (which doesn't actually exist as an official device) with a shell from an X201 and a custom motherboard and 8th gen intel processors
ambro718 has joined #nixos
thc202 has joined #nixos
<ottidmes> pbb: I will check it out, that would address one thing I worry about with these kind of solutions is what the next bottleneck will be and its not like my ~10 year old laptop is broken, I am just sick of its bottlenecks
<pbb> good luck with finding one
__monty__ has joined #nixos
<pbb> Thought about CPUs I also found out that from 3th generation up to 7th generation they didn't gain as much performance, since they focused on power saving features for thin laptops
<pbb> 8th generation got quad cores as default so that will definitely make a difference
<pbb> new let's go back to topic ^^"
<ottidmes> my laptop right now has a 1.3Ghz Intel dual core (pre i3/i5/i7 era) but its still holds up surprisingly well
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Lassulus merged pull request #61087 → qutebrowser: 1.6.1 -> 1.6.2 → https://git.io/fjcnK
<{^_^}> [nixpkgs] @Lassulus pushed commit from @dotlambda to master « qutebrowser: 1.6.1 -> 1.6.2 »: https://git.io/fjcRl
zeta has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<zeta> so if i were to change the home-manager path, could i just copy and past home.nix file to that path, then it will work in that location ?
orivej_ has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
zeta has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/3e7300cf049 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
orivej_ has quit [Ping timeout: 250 seconds]
pie___ has joined #nixos
Ariakenom has joined #nixos
sestrella has joined #nixos
<capnp> Does trace function exist? it doesn't work in repl for me
<qyliss> > builtins.trace
<{^_^}> <PRIMOP>
<capnp> qyliss: thanks
<{^_^}> [nixpkgs] @gloaming opened pull request #61098 → systemd: Don't order systemd-user-sessions.service after network.target → https://git.io/fjc0L
<capnp> qyliss: btw, I've read the documentation and found a proper way to overlay python package http://dpaste.com/2RTZEKD
<qyliss> oh cool
<capnp> all this aliases are very confusing imo
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
mwilsoncoding has joined #nixos
<infinisil> Yeah that's another problem with overrides
<infinisil> Overriding aliases doesn't change the original
Baughn has joined #nixos
<gchristensen> I wonder if we could warn when overriding an alias
<{^_^}> [nixpkgs] @dtzWill merged pull request #60363 → taskell: 1.3.2 -> 1.4.2 → https://git.io/fjGnw
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjc0E
<infinisil> Yeah that would be possible
<infinisil> Optimally there would be some way to have an alias be a full alias, where overrides propagate to the original
<sphalerite> I'm packaging sanoid, which calls programs such as ps and zfs. I'm not sure whether to patch it to use full store paths or to use tools from PATH. Any opinions?
<infinisil> sphalerite: If patching is easy enough I'd do that. Otherwise wrap with PATH
<sphalerite> infinisil: upstream has hardcoded /sbin/zfs and such — I'm wondering whether to patch it to just zfs or to ${getBin zfs}/bin/zfs
<sphalerite> infinisil: since (in the case of zfs for example) you'd probably want to use the "ambient" zfs so that it uses unstable when the system is using unstable
<infinisil> sphalerite: So they do search for the binaries in PATH?
<infinisil> Because only if they do you can replace it with just "zfs"
<tilpner> sphalerite: I have a packaged sanoid around, with a module
<sphalerite> infinisil: I presume it will when I remove the /sbin/ bit
<tilpner> sphalerite: I was going to PR it after testing it with syncoid, but that's blocked on 0.8
<sphalerite> tilpner: oh, nice
<{^_^}> [nixpkgs] @Lassulus merged pull request #61065 → doge: init at 3.5.0 → https://git.io/fjcTh
<{^_^}> [nixpkgs] @Lassulus pushed commit from @Gonzih to master « doge: Init at 3.5.0 »: https://git.io/fjc0K
<tilpner> sphalerite: AFAICT there's no easy way to get the user-chosen zfs tools from Nix
<infinisil> sphalerite: I doubt they need an unstable zfs version, so the stable one would be fine in any case
glittershark has joined #nixos
waleee has quit [Quit: WeeChat 2.4]
<tilpner> infinisil: How do the tools communicate with the module?
<sphalerite> via /dev/zfs
<glittershark> Hey all - just ran a fresh install including compilation from scratch and I'm getting perl/lib/Nix/Store.cc: loadable library and perl binaries are mismatched (got handshake key 0xde00080, needed 0xce00080)
<tilpner> And that API is so stable and well-tested that you want to mix versions?
<sphalerite> Time to ask #zfsonlinux about compatibility between different userspace and kernel module versions :)
<infinisil> Yeah
<infinisil> I'd think the tools are forward-compatible
<tilpner> My patch begrudgingly uses zfs from systemPackages
<glittershark> every command appears to be giving the above error - nix-shell, nix-channel, etc
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a04ef7100d5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<glittershark> I don't really know anytning about perl :?
<tilpner> sphalerite: Do you need any other files, or are you done already?
<gchristensen> everything is so fresh :x
civodul has joined #nixos
<sphalerite> tilpner: well, I haven't done the patching yet because I'm unsure about the PATH-vs-store-path question
<tilpner> sphalerite: What about hardcoding the path to /run/booted-system? Ugly, but that should reliably give the right tools?
<sphalerite> tilpner: then it won't work on non-nixos
<sphalerite> #zfsonlinux: pink_mist | you should absolutely use the same version of the userspace and the kernel module
<tilpner> :/
<sphalerite> so for zfs I'll go with PATH
<gchristensen> then you probably don't want to use zfs tools from nixpkgs on your host
<infinisil> sphalerite: I'm waiting for some more context on that
<gchristensen> (unless you're on nixos)
<sphalerite> -> #zfsonlinux for anyone interested in details on kernel/userspace compat
<tilpner> PATH sounds best then
<tilpner> sphalerite: default.nix: https://tx0.co/blG
lovesegfault has joined #nixos
alexherbo28 has joined #nixos
toppler` has quit [Read error: Connection reset by peer]
toppler` has joined #nixos
<sphalerite> tilpner: oh, hm, I just stuck a perl.withPackages (ps: [ps.ConfigIniFiles]) in hte buildInputs and used patchShebangs to get the interpreter set
alexherbo2 has quit [Ping timeout: 248 seconds]
sestrella has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #61099 → pythonPackages.streamz: fix checks failures → https://git.io/fjc0S
<{^_^}> [nixpkgs] @Lassulus merged pull request #61091 → rgbds: 0.2.4 -> 0.3.8 → https://git.io/fjclW
<{^_^}> [nixpkgs] @Lassulus pushed commit from @lfont to master « rgbds: 0.2.4 -> 0.3.8 »: https://git.io/fjc09
camsbury has joined #nixos
<tilpner> sphalerite: First attempt at module: https://tx0.co/B0c
<{^_^}> [nixpkgs] @grahamc opened pull request #61100 → virtualbox: python2 -> python3 → https://git.io/fjc0Q
<gchristensen> ^ anyone want to test this?
<tilpner> sphalerite: Usage of that module: https://tx0.co/J4I
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61096 → cross: use newer gnu-config on iOS → https://git.io/fjcBD
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjc0h
zeta has joined #nixos
orivej has joined #nixos
<apeyroux> hello i can list dir / mkdir in nix script (without shell) ?
<apeyroux> system lib
<{^_^}> [nixpkgs] @costrouc opened pull request #61101 → pythonPackages.tess: init at unstable-2019-05-07 → https://git.io/fjcET
<tilpner> apeyroux: See builtins.readDir
<tilpner> > builtins.readDir ./.
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<tilpner> ... right
<apeyroux> tilpner: ok thx
<infinisil> Huh I thought I fixed that
orivej_ has joined #nixos
<infinisil> > builtins.readDir ./master
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/master' is forbidden in restricted mode
<zeta> what is the syntax to do multi-line comments in nix ?
<tilpner> > /* zeta */ 42
<{^_^}> 42
<{^_^}> [nixpkgs] @Lassulus merged pull request #61058 → Added EnableTextMode Dwarf Fortress for playing CLI → https://git.io/fjcEt
<{^_^}> [nixpkgs] @Lassulus pushed commit from @TrevtheForthDev to master « Added EnableTextMode Dwarf Fortress for playing CLI »: https://git.io/fjcEq
<zeta> tilpner++
<{^_^}> tilpner's karma got increased to 25
<sphalerite> > builtins.readDir <nixpkgs>
<{^_^}> { ".editorconfig" = "regular"; ".git" = "directory"; ".gitattributes" = "regular"; ".github" = "directory"; ".gitignore" = "regular"; ".version" = "regular"; COPYING = "regular"; "README.md" = "regula...
<tilpner> > <nixpkgs>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<tilpner> Ahh
orivej has quit [Ping timeout: 244 seconds]
glittershark has quit [Remote host closed the connection]
* rfold wonders if it's bad to have a build input that's a 4.4 GB file
<sphalerite> nix might not be happy about it.
<lordcirth_> rfold, what file is that?
zeta has quit [Quit: WeeChat 2.4]
<rfold> lordcirth_: debian installation DVD; I want to make a Nix derivation that uses Packer to build a QEMU image, but since I can't do network access from inside a builder, I can't use the netinst CD (which is only 200 MB)
<tilpner> rfold: You can fetchurl the netinst CD
<ejpcmac> Hi! Is there a way in Nix to build a $PATH in a derivation from a list of packages?
<tilpner> > lib.makeBinPath [ hello goxel ]
<{^_^}> "/nix/store/n9z80xrc7bidx5hcap2wvb5l9r2vk6y0-hello-2.10/bin:/nix/store/b04nvac2897zri5fq2cqd61zysllliph-goxel-0.8.3/bin"
<sphalerite> tilpner: I think the point is that the netinst cd won't work, lacking network access :)
<{^_^}> [nixpkgs] @Lassulus opened pull request #61102 → [19.03] qutebrowser 1.6.0 -> 1.6.2 → https://git.io/fjcE8
<tilpner> Oh, you want to run packer inside a Nix build...
<ejpcmac> tilpner: Thank you :)
<rfold> tilpner: yes, :)
<{^_^}> [nixpkgs] @jlesquembre opened pull request #61103 → x265: 2.9 -> 3.0 → https://git.io/fjcE4
<tilpner> That's not going to be fun
<lordcirth_> rfold, can't you make do with the CD variant?
<{^_^}> [nixpkgs] @Lassulus pushed commit from @eraserhd to master « parinfer-rust: init at 0.3.1 »: https://git.io/fjcER
<{^_^}> [nixpkgs] @Lassulus merged pull request #61093 → parinfer-rust: init at 0.3.1 → https://git.io/fjc8X
<lordcirth_> 650MB is a lot better
<rfold> lordcirth_: yes, but then running the installer needs network access, so I couldn't do that from within the derivation
<sphalerite> that sounds like a full installation CD, not the netinst
<lordcirth_> rfold, really? I didn't think the CD needed internet.
<rfold> lordcirth_: you mean debian-9.9.0-amd64-xfce-CD-1.iso? Ah maybe that one will work
<lordcirth_> yeah, that
<rfold> I'll give it a try!
<sphalerite> huh, does debian no longer have a full CD distribution?
<rfold> sphalerite: it does, but it's on DVD, since it doesn't fit in 700 MB
<sphalerite> rfold: it doesn't fit on a single DVD either :)
<sphalerite> rfold: but they used to have a bunch of CD images that covered the whole distro
<capnp> azazel: thanks! maybe you also know a better way how to insert trace calls inside a set declaration without creating a dummy entry?
<sphalerite> it seems that now they only have DVDs and blu-rays for the whole distro
zeta has joined #nixos
<lordcirth_> sphalerite, that would be a *lot* of CDs these days
<rfold> sphalerite: it's on 3 DVDs. The page says some images are missing because of too many downloads/server load. So they only offer the more popular once.
<sphalerite> I think it used to be about 30 back then too
<lordcirth_> I don't think many people are limited to CDs anymore.
MmeQuignon has quit [Ping timeout: 245 seconds]
<rfold> sphalerite: speaking of which, they also have bittorrent. Would be cool if fetchurl supported magnet: uris.
<sphalerite> rfold: looks like 14 DVDs to me
<zeta> is there a faster way to open: `configuration.nix` and `home.nix`, like a shortcuts or something ?
<sphalerite> I'm just surprised that there's not even a full jigdo CD distro anymore
<sphalerite> zeta: you can define your own shell aliases if you want.
<sphalerite> zeta: or make symlinks.
judson has joined #nixos
<azazel> sphalerite: you can build the missing cd images with jigdo tool
<sphalerite> azazel: there's not even a full jigdo CD distro anymore
<judson> Anyone familiar with Go 1.12 on Nix? `go mod init ...` emits 'go: failed to create cache directory... read-only file system'
<zeta> ok
<judson> Is there a envvar to relocate that?
zeta has quit [Client Quit]
mexisme has joined #nixos
<ambro718> Is there a simple way to download the sources of some package?
<tilpner> rfold: A fetcher for that should be fairly easy to write, but that's a little scary for important inputs
<tilpner> > hello.src # ambro718
<sphalerite> ambro718: nix build nixpkgs.hello.src
<{^_^}> "<derivation /nix/store/iil8ga2vzjjc6izyq7y3bh0dy2imc9iy-hello-2.10.tar.gz.drv>"
<sphalerite> ambro718: then you have it in result/
<ambro718> Tjamls.
<ambro718> thanks
<sphalerite> ambro718: for getting unpacked, read-write sources, I use `nix-shell '<nixpkgs>' -A hello --run 'runHook unpackPhase'`
<ambro718> great
<sphalerite> (with a script to reduce the maount of typing I need to do :p )
<ambro718> Time to #if 0-out a bunch of code in glibc and see if anything breaks. For optimization. https://github.com/NixOS/nixpkgs/issues/24844#issuecomment-489774965
<azazel> capnp: what do you mean with "inside a set declaration"?
<capnp> azazel: I mean inside curly braces
mexisme has quit [Ping timeout: 250 seconds]
<capnp> > { dummy = (builtins.trace "hello" 1); }
<{^_^}> { dummy = <CODE>; }
geosmin has joined #nixos
<tilpner> > :p { dummy = (builtins.trace "hello" 1); }
<{^_^}> { dummy = 1; }
<tilpner> :/
<sphalerite> builtins.trace isn't printed by nixbot
* tilpner noticed
<capnp> is there any way to have a trace without the dummy?
<sphalerite> sure
<sphalerite> just don't put it in a set
<sphalerite> dummy is just the name of the set key in this example
<azazel> interesting: https://chaostoolkit.org/
zeta has joined #nixos
<capnp> yeah, I know, but I don't like to mess with other things just to print some values
Jetien_ has joined #nixos
<sphalerite> capnp: where do you want to insert a trace, and what problem are you having doing so?
<zeta> what is gnupg used for, i see it as a git option ?
fresheyeball has quit [Quit: WeeChat 2.4]
<sphalerite> zeta: signing and verifying git commits/tags would be the first thing I can think of
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60948 → pythonPackages.cartopy: fix tests for python2.7 using xvfb → https://git.io/fjcEd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjcEF
<zeta> ok thanks
knupfer has joined #nixos
cyphase has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60326 → pythonPackages.fastpair: force use of pytest_3 → https://git.io/fjGT5
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjcEh
<capnp> sphalerite: sorry, I don't have a particular problem. well, I actually do, the package I want doesn't compile, but it's not a nix problem
wfranzini has joined #nixos
<capnp> sphalerite: I'm using trace calls to see the values of "preConfigure" and other entries
<sphalerite> capnp: ah, it's probably easier to do nix eval --raw -f . somePackage.preConfigure
<sphalerite> (assuming you're working within nixpkgs)
zeta has quit [Quit: WeeChat 2.4]
<capnp> sphalerite: unfortunately no, I'm using overlays to patch existing package
<sphalerite> capnp: in any case, you should be able to get preConfigure more easily than tracing. What command are you using to build it?
drakonis has joined #nixos
<capnp> sphalerite: `nix-env -i python2.7-wxPython`
steve-chavez has joined #nixos
<sphalerite> ,-A capnp
<{^_^}> capnp: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<capnp> sphalerite: I know :)
<capnp> sphalerite: nix-env -iA nixpkgs.python27Packages.wxPython
<sphalerite> that aside, you can get your preConfigure (probably?) more conveniently using `nix eval --raw nixpkgs.python2Packages.wxPython.preConfigure`
<sphalerite> should be the same for most of the attrs passed to mkDerivation (or buildPythonPackage, as the case may be :) )
<steve-chavez> Can someone guide me for building a luarocks package? I'm trying to build this https://luarocks.org/modules/mdeneen/stringy/0.6-1, with no luck.
Plotinus_ has joined #nixos
<capnp> sphalerite: that works, thank you
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a04ef7100d5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
orivej_ has quit [Ping timeout: 245 seconds]
<gchristensen> fridh do you still monitor for your name while you're not here
Plotinus has quit [Ping timeout: 248 seconds]
drakonis has quit [Ping timeout: 258 seconds]
knupfer has quit [Ping timeout: 252 seconds]
steve-chavez has quit [Ping timeout: 256 seconds]
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @dtzWill merged pull request #61072 → rngd: add option to run w/debug flag → https://git.io/fjcLa
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjcun
dbmikus_ has joined #nixos
knupfer has joined #nixos
mexisme has joined #nixos
dbmikus has quit [Ping timeout: 245 seconds]
<ambro718> How to make nix skip updating nix?
<sphalerite> nixos-rebuild, you mean?
<ambro718> yes, and nevermind, it's --no-build-nix
<sphalerite> use --fast. It won't prevent it from updating nix completely, but it will make it use the current version of nix to evaluate the new system
<{^_^}> [nixpkgs] @Lassulus merged pull request #61102 → [19.03] qutebrowser 1.6.0 -> 1.6.2 → https://git.io/fjcE8
<sphalerite> oh, didn't know there was a more specific flag. Same caveat applies though.
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to release-19.03: https://git.io/fjcu1
<geosmin> thought i'd take nixos for a spin in a vm after reading one can set it up there then just transfer it over to bare metal
<geosmin> probably being dumb, but i'm having a particularly hard time with the install, mostly just the boot partition
<sphalerite> geosmin: you shouldn't need a boot partition for a simple bios-boot ext4-based system
<geosmin> got the installation working succesfully but it seems /dev/sda1 instantly umounts from /boot, manually running mount with -v reports success but lsblk shows no mount, nothing in dmesg
<geosmin> sphalerite: maybe that's my issue, went with luks+lvm
<geosmin> no issues there but also gpt and efi
Melkor333 has joined #nixos
mexisme has quit [Ping timeout: 255 seconds]
<geosmin> i'd like th ebase config to be easily portable
<sphalerite> that seems like massive overkill for a VM ;)
<geosmin> indeed, but again the idea is to then put this on bare metal
<sphalerite> since nixos-generate-config autogenerates the mounts and such in hardware-configuration.nix, you should be able to copy out the configuration.nix and have nixos-generate-config make a new one for the luks and LVM stuff
sestrella has joined #nixos
<sphalerite> qemu also doesn't use EFI firmware by default, and that has a lot of influence on the details of the partitioning
cyphase has joined #nixos
mexisme has joined #nixos
<sphalerite> so I'd suggest leaving all the luks+lvm stuff for when you want to try it on bare metal, and play around with getting user-level software/services configured, to see if nixos is to your taste :)
<geosmin> as familiar as i feel with linux, this is all very strange
Guest71290 has quit [Quit: WeeChat 2.4]
<geosmin> so just to make sure i understand, partitioning and whatnot are subject to hardware-configuration.nix and trivial to adapt later?
<qyliss> hardware-configuration.nix _describes_ your partitions, but doesn't create them
<geosmin> no, of course
<qyliss> This is unlike most of the rest of NixOS
hex2 has joined #nixos
<geosmin> should i still set up lvm?
<qyliss> If you change them later, you just run nixos-generate-config and hardware-configuration.nix will be regenerated
<infinisil> I suggest only to fumble with disk layout when you actually install it on hardware
<geosmin> so so one big unencrypted dos partition, then create the new schema on real hardware later and setup hardware-configuration.xml?
<geosmin> right
<infinisil> ".xml" >.<
wfranzini has quit [Remote host closed the connection]
<geosmin> so two naive questions: if i plan to use sway, can i just specify that package and the deps are pulled? how are configs handled? (ie. ~/.config/termite/config)
<hex2> hey all. somebody tried to install jira?
wfranzini has joined #nixos
civodul has quit [Ping timeout: 258 seconds]
<geosmin> infinisil: oops, .nix
<geosmin> i saw some docs on setting up x, not so much for wayland + sway
<sphalerite> hex2: I think my company is running jira on nixos, not sure though
<geosmin> i guess i should start by asking if nixos makes sense on the desktop, or if it's more server focused
<tilpner> geosmin: I accumulated this uglyness before I switched back to X. Maybe it helps you a little: https://tx0.co/7S7
<hex2> I'm trying to install a jiru on them. however, I am a novice and do not quite understand which path will be the most correct for this.
<qyliss> geosmin: lots of people use NixOS on the desktop
<geosmin> tilpner why the switch back?
<qyliss> For sway, you just do `programs.sway.enable = true' :) nice and easy
knupfer has quit [Ping timeout: 248 seconds]
<tilpner> Oh, there's a module now?
<tilpner> Great, use that
<qyliss> has been for ages, but for a long time it was super outdated, because we were asked not to package sway RCs
<qyliss> But now that Sway 1.0 is out that isn't a problem any more
<geosmin> how is going from init to a sway desktop handled?
mwilsoncoding has quit [Quit: Page closed]
<qyliss> Your shell profile usually
<gchristensen> `exec sway -c /etc/sway/config` is how I do it
<qyliss> Or you just run that
<pbb> Oh I have to try sway again. I used it back before 1.0 for quite some time but it started crashing my sessions randomly.
zeta has joined #nixos
<qyliss> You can configure your shell profile to exec sway iff it's on TTY1, and then you automatically get sway on boot but can still get to a VT if you need it.
<qyliss> I've never had sway crash on me
<geosmin> i guess i'm asking what's analogous to having a getty autologin, then .bash_profile launching sway
<gchristensen> it made most of my programs less usable, but hotplugging monitors works and that was a worthwhile trade for me
<zeta> how do i fix a collision ?
<geosmin> i'm not sure how much lives in the nixos config and how much is done as elsewhere
<hex2> 1
<geosmin> pbb: sway's been rock solid, it's fantastic
<pbb> qyliss: back then it reliably segfaulted when I tried to exit it gracefully
<geosmin> no screen tearing is nice
<sphalerite> geosmin: this should live in nixos config really IMHO, it's just not been implemented yet :)
<pbb> is there any natively wayland-capable browser by now?
<sphalerite> gchristensen: nice, didn't know about this
<gchristensen> firefox works if you set MOZ_ENABLE_WAYLAND=1
<pbb> as a compile flag?
<gchristensen> sphalerite: crash-only software? :p
<gchristensen> pbb: env variable
<pbb> or environment flag?
<pbb> oh, nice
<sphalerite> gchristensen: yep
<gchristensen> =)
<qyliss> geosmin: you can enable getty autologin
<infinisil> Now that y'all are talking about sway I might just flip the switch and try it myself
<pbb> I used to use qutebrowser a few months ago and always had to set some funny-named env variable to make that work
<zeta> i tried installing deadbeef in home.nix and a collision happened
<qyliss> So do that, and then put that line in your shell profile, and then you're good
<geosmin> qyliss: the normal way, or?
<qyliss> oh
<pbb> I think qutebrowser is the only blink-based browser that works?
hex2 has quit [Quit: WeeChat 1.9.1]
<zeta> how do i fix a collision ?
<qyliss> geosmin: services.mingetty.autologinUser
<pbb> anyways I came here for an issue I had when trying to cross-compile for armv7l. the gcc toolchain failed to build.. https://img.pbb.lc/id/MQgT9GducAVbgtXf
<qyliss> Set that to whatever your username is
<pbb> (I wanted to build nodejs for my vacuum)
<pbb> internet of shit and so on
zeta has quit [Quit: WeeChat 2.4]
<catern> is there a way to get the url being fetched out of a fetchurl derivation? ".url" is not present
<geosmin> qyliss: thanks
knupfer has joined #nixos
<sphalerite> pbb: hm, there's a toolchain for a "standard" armv7l nixpkgs in the official binary cache, maybe try using that setup?
<pbb> how would I do that?
<pbb> I am using nixpkgs from the unstable channel without modifications
<{^_^}> [nixpkgs] @rycee pushed commit from @adisbladis to master « gpsbabel: 1.5.4 -> 1.6.0 »: https://git.io/fjczs
<sphalerite> pbb: nix build nixpkgs.pkgsCross.armv7l-hf-multiplatform.nodejs-slim-8_x
<{^_^}> [nixpkgs] @rycee closed pull request #61092 → gpsbabel: 1.5.4 -> 1.6.0 → https://git.io/fjc8C
<pbb> thanks, now trying
<rfold> tilpner: Packer inside a builder has been quite fun so far, almost got it working
sestrella has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60674 → pythonPackages.papis: fix build by disabling over-specific yaml output tests → https://git.io/fjZrb
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjczc
<{^_^}> [nixpkgs] @globin merged pull request #61086 → Batch of cross compilation fixes → https://git.io/fjcnr
<{^_^}> [nixpkgs] @globin pushed 12 commits to staging: https://git.io/fjcz8
<geosmin> naive question: shouldn't things like boot.loader.grub.device be in hardware-configuration.nix?
<samueldr> hardware-configuration is more of a descriptive "what's your system looks like"
<gchristensen> hardware-configuration.nix is strictly auto-generatable
<qyliss> no, because that's not something that can be inferred automatically
<samueldr> something that could be inferred for defaults is "was the boot UEFI or Legacy" though
knupfer has quit [Ping timeout: 248 seconds]
ris has joined #nixos
<sphalerite> that's the sort of thing you don't want to override later on though
<sphalerite> so it's something to put in the template configuration.nix (and that is what generate-config currently does), not hardware-configuration.nix
Ariakenom has quit [Quit: Leaving]
civodul has joined #nixos
<pbb> sphalerite: somehow it's still trying to build the toolchain
<pbb> but failing with a different error
<sphalerite> pbb: hm then it's broken on current unstable
<sphalerite> pbb: you may want to try 19.03 (just add -I nixpkgs=channel:nixos-19.03)
<geosmin> that makes sense, thanks
<pbb> yup I'll try
<sphalerite> pbb: oh wait no
<sphalerite> pbb: the toolchain is fine, it's just node that's failing to build now
<geosmin> so did a simple install on /dev/sda1. upon reboot init seems to freeze on Found device /dev/vboxguest, also seeing the kernel output "...unreliable DMA position..."
<pbb> oh I see, I just looked at the last part of the package name
<pbb> hmpf
<pbb> why is it trying to use python >.>
<{^_^}> [nixpkgs] @adisbladis opened pull request #61104 → nixos/plasma5: Remove phonon-backend-gstreamer pinned to Qt 5.6 → https://git.io/fjczr
<sphalerite> as part of the build system
__monty__ has quit [Quit: leaving]
esmerelda has quit [Ping timeout: 248 seconds]
<sphalerite> probably
<geosmin> hmm, might be for the same reason why init from the live iso also fails without nomodeset
<{^_^}> [nixpkgs] @Lassulus merged pull request #60769 → rambox: 0.6.6 -> 0.6.7 → https://git.io/fjZ58
<{^_^}> [nixpkgs] @Lassulus pushed commit from @andywhite37 to master « rambox: 0.6.6 -> 0.6.7 »: https://git.io/fjczX
<geosmin> from the live iso, if i mount /dev/sda1, edit /mnt/etc/nixos/configuration.nix, then run nixos-rebuild switch, is that being done on the live session or the mount?
<qyliss> that's the live session
dansho has joined #nixos
<qyliss> nixos-install is the mount
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61049 → doc/stdenv: put note about remote builds with breakpointHook into a <note> → https://git.io/fjcz9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjczQ
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61090 → Update Jetbrains IDEs → https://git.io/fjcW2
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fjczd
esmerelda has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61026 → python37Packages.geoalchemy2: 0.6.1 -> 0.6.2 → https://git.io/fjcgf
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcgJ
<{^_^}> [nixpkgs] @adisbladis opened pull request #61105 → teamviewer: Build with latest qt5 → https://git.io/fjcgT
fresheyeball has joined #nixos
<fresheyeball> I am struggling with something basic
<fresheyeball> foo = pkgs.haskell.packages.ghc843.extend
<fresheyeball> works
<fresheyeball> foo = compiler: pkgs.haskell.packages.${compiler}.extend
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<fresheyeball> does not when called like (foo "ghc843")
<fresheyeball> I don't see what is wrong
<clever> i would expect that to work
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61099 → pythonPackages.streamz: fix checks failures → https://git.io/fjc0S
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcgm
<clever> nix-repl> pkgs.haskell.packages.ghc843.extend
<clever> error: attribute 'ghc843' missing, at (string):1:1
<clever> fresheyeball: yet the 1st form doesnt work for me
<clever> fresheyeball: can you double-check that?
<geosmin> was able to boot with nomodeset, but trying to launch sway complains about fialing to open any DRM device
<sphalerite> fresheyeball: do you mean pkgs.haskell.compiler.ghc843.extend and pkgs.haskell.compiler.${compiler}.extend maybe?
<sphalerite> fresheyeball: so s/packages/compiler/
<geosmin> ah, seems like virtualbox is unsupportefd
<infinisil> clever: Well master nixpkgs doesn't have ghc843 apparently
<infinisil> Ah
<infinisil> > attrNames haskell.packages
<{^_^}> [ "ghc822" "ghc822Binary" "ghc844" "ghc863Binary" "ghc864" "ghc865" "ghc881" "ghcHEAD" "ghcjs" "ghcjs84" "ghcjs86" "integer-simple" ]
<infinisil> > haskell.packages.ghc844.extend # should work
<{^_^}> <LAMBDA>
<clever> `foo "ghc844"` also works for me
<clever> i think the problem is that `foo = pkgs.does.not.exist` is lazy, and will fail when you try to eval foo later
<{^_^}> [nixpkgs] @peti pushed to master « git-annex: fix sha256 hash for version 7.20190503 »: https://git.io/fjcgB
<clever> `foo = compiler: pkgs.${compiler}` is also lazy, but when you `foo "doesnotexist"` your eval'ing it, and see the failure
<ottidmes> for running NixOS and doing software developing, maybe having a few VMs laying around, would people suggest going for a 1TB NVMe SSD is worth 140 euro extra rather than a 500GB NVMe SSD, or would that just be wasting money in practice?
<infinisil> ottidmes: All depends on your needs, but 140 doesn't sound like a lot for an extra 500GB, so I'd go for the 1TB :)
<clever> ottidmes: my main dev laptop has a `465.8G` nvme (as seen by lsblk) and it runs nixos, and has some vbox VM's for ubuntu and windows 7
<clever> Disk /dev/nvme0n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors
<clever> looks like they used 1000 when calling it "500gig"
imdoor_ has quit [Quit: imdoor_]
<ottidmes> yeah, I guess you are both right, 140 is very reasonable for such an upgrade and its most likely will be overkill, but it would at least prevent me regretting it if the following years
<OmnipotentEntity> Can someone help me troubleshoot a nixpkgs thing? I'm trying to create a new package. And for this particular software project, there is no configure, the install path is decided by the PREFIX variable. I'm trying to set PREFIX=$out in the makeFlags, but it's telling me that out isn't defined.
wfranzini has quit [Remote host closed the connection]
<clever> OmnipotentEntity: out is a bash level variable, not a nix level variable
wfranzini has joined #nixos
<rfold> OmnipotentEntity: You can try configurePhase = ''export PREFIX=$out'';
<OmnipotentEntity> rfold, it retains the same shell between configuration, building and installation?
<clever> OmnipotentEntity: yep
<rfold> OmnipotentEntity: yes; all phases run in the same Bash script
<OmnipotentEntity> coolio
drakonis has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61018 → python37Packages.distributed: 1.26.1 -> 1.27.1 → https://git.io/fjcg1
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjcgM
<ottidmes> I am now using 47G for NixOS, which is plenty but for big upgrades I have to decide fast whether I will keep it (the upgrade), because I always am left with < 3G, but since the NVMe is only one slot, if it ends up being not enough (if I go nuts with VMs or start doing other space intensive stuff), its probably better to just go the 1TB one
<{^_^}> [nixpkgs] @bb010g closed pull request #58993 → mpv: patch libarchive locale handling → https://git.io/fjLWS
<clever> [root@system76:~]# df -h /nix/
<clever> Filesystem Size Used Avail Use% Mounted on
<clever> tank/nix 98G 92G 6.3G 94% /nix
<OmnipotentEntity> thanks, that seems to have fixed the error, I'll go back to troubleshooting for a while.
<ottidmes> Filesystem Size Used Avail Use% Mounted on
<ottidmes> /dev/mapper/vg-root 47G 31G 14G 70% /
<ottidmes> thats not the right statistics, thats my whole disc, ah well
Jetien_ has quit [Ping timeout: 244 seconds]
<ambro718> ottidmes: check your GC roots in /nix/var/nix/gcroots/ . If you have old packages in profiles or links thet will keep all their old dependencies (loads of libraries) around.
<infinisil> clever: I see you're also in need of new disks :)
<fresheyeball> clever:doubled checked I wrote it correctly
<fresheyeball> sphalerite:I got it right
<infinisil> fresheyeball: (unrelated: Are you perhaps using weechat?)
<ottidmes> ambro718: actually having 14G available on my system means its completely clean at the moment ;) its when its stuck at 6G or something that I need to check such GC roots
<sphalerite> ottidmes: between my music collection, work stuff, some steam games, a backup of my old laptop, I've got some 800-odd GB logical used (yay zfs compression) on my 1TB SSD
<sphalerite> there's always stuff to fill space with :p
<ambro718> ottidmes: anyway having 96G in /nix seems a lot
<fresheyeball> infinisil:yes
<infinisil> fresheyeball:In a recent update it doesn't insert a space after <nick>: anymore, ugh!
<infinisil> s/In/Since
<fresheyeball> infinisil: ha!
<fresheyeball> I was wondering
<infinisil> Glad I'm not the only one
<ambro718> Is there any special consideration in building and booting a 32-bit configuration when I previously ran a 64-bit configuration?
<sphalerite> infinisil: fresheyeball: https://github.com/weechat/weechat/issues/1314
<{^_^}> weechat/weechat#1314 (by craigmaloney, 10 weeks ago, closed): Change in behavior: nick completion no longer adds space
<infinisil> Was just searching for one, thanks
<ottidmes> sphalerite: thats true, it depend on how much I will be using the laptop, so its probably better to get as big as possible while reasonably priced, which is the 1TB version, the 2TB cost 410 euro extra compared to the 500GB one)
<ambro718> I did that successfully with nixops, but am wondering if it will go through with nixos-rebuild.
<sphalerite> ottidmes: sounds like a plan :)
<ottidmes> ambro718: actually mine /nix only uses 13G (du -sh /nix)
fishi0x01 has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
<ambro718> yeah that is reasonable, mine is similar when fully gc'd
boredom101 has joined #nixos
<pbb> wooow that totally destroyed my system
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<thoughtpolice> Darwin experts appreciated, here: https://github.com/NixOS/nixpkgs/pull/60925#pullrequestreview-234770869
<pbb> did anyone of you accidentally delete your system path and stuff from the nix store?
<ambro718> pbb: I suggest nixos-install
<pbb> yeah already did that
<pbb> tried to fix it while I was still on the sytsem
<sphalerite> pbb: how did you manage that? It should be mounted read-only and the nix tools should refuse to delete stuff with gc roots
<pbb> but sudo didn't work because of something with pam
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61024 → python37Packages.flask-pymongo: 2.2.0 -> 2.3.0 → https://git.io/fjc2J
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjc2U
<pbb> sphalerite: no, nix-store will delete it all if you pass --ignore-liveness
<pbb> in this case I only wanted to delete one small package from the store and didn't think about it
<pbb> but that deleted all profiles and everything depending on it
<matthewbauer> thoughtpolice: oh wow. that sounds like its on a pre-10.12 version of macOS. I thought lnl7-mac was newer?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60932 → [treewide] delete (some) unused patches → https://git.io/fjc2k
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjc2I
<pbb> today I learned: don't do that again
<sphalerite> pbb: yeah…
xkapastel has joined #nixos
MmeQuignon has joined #nixos
<pbb> oh noes the server still doesn't boot it seems
<thoughtpolice> matthewbauer: No clue! Maybe I should just trigger another build and roll the dice?
capnp has quit [Remote host closed the connection]
boredom101 has quit [Quit: Page closed]
Lisanna has quit [Ping timeout: 244 seconds]
fendor has quit [Ping timeout: 246 seconds]
Lisanna has joined #nixos
LogicAside is now known as ThatOtherGuy
<fresheyeball> infinisil: I figured it out
capnp has joined #nixos
<fresheyeball> but now I am curious
<fresheyeball> can I combine shell environements?
<fresheyeball> are they a monoid perhaps?
<matthewbauer> thoughtpolice: actually that's 2.8.3 that's failling and I don't think that ones changed. It could be broken... Try building libressl_2_9
<infinisil> fresheyeball: Figured what out?
<thoughtpolice> Ah shit, you're totally right. Blah.
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @OmnipotentEntity opened pull request #61107 → mp3cat init at 0.5 → https://git.io/fjc2a
<OmnipotentEntity> clever, rfold, thanks for the help.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60979 → compsize: 2018-04-07 -> 1.3 → https://git.io/fjc2V
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjc2w
MrCoffee has joined #nixos
cyphase has quit [Quit: cyphase.com]
Melkor333 has quit [Quit: WeeChat 2.4]
dansho has quit [Quit: Leaving]
MarcWeber has quit [Read error: Connection reset by peer]
fishi0x01 has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #61108 → bpftool: init at 5.1 → https://git.io/fjc2P
<{^_^}> [nixpkgs] @edolstra merged pull request #60860 → gcc9: init at 9.1.0 (released today) → https://git.io/fjc2X
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fjc21
philippD has quit [Ping timeout: 244 seconds]
philopotamus has joined #nixos
fishi0x01 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61069 → public-sans: init at 1.002 → https://git.io/fjcLB
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjc2S
cyphase has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to staging: https://git.io/fjc2H
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60906 → GNOME updates staging → https://git.io/fjc2Q
<{^_^}> [nixpkgs] @worldofpeace closed pull request #60973 → glib-networking: 2.60.1 -> 2.60.2 → https://git.io/fjc27
drakonis has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
fendor has joined #nixos
toppler` has quit [Read error: Connection reset by peer]
fendor has quit [Remote host closed the connection]
toppler` has joined #nixos
<rfold> If I have QEMU running inside a Nix build how can I VNC into it?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60987 → mdl: use bundlerApp → https://git.io/fjc2d
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjc2F
ThatOtherGuy is now known as LogicAside
Anton-Latukha has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
fishi0x01 has quit [Ping timeout: 244 seconds]
<infinisil> This attribute name <-> file name mismatch we have going on in nixpkgs is seriously confusing a lot of people
wfranzini has quit [Remote host closed the connection]
<infinisil> And it's not uncommon to see in this channel as well
<{^_^}> [nixpkgs] @cawilliamson opened pull request #61109 → mkclean: init at 0.8.10 → https://git.io/fjcaf
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « all-packages/test: add gcc9Stdenv, cc-wrapper-gcc9 »: https://git.io/fjcaI
<thoughtpolice> Alright, GCC 9.1 (and, consequently, gcc9Stdenv) are in unstable now and ready to be tested!
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #60925 → libressl: 2.9.0 -> 2.9.1 → https://git.io/fjca3
<{^_^}> [nixpkgs] @thoughtpolice pushed 4 commits to master: https://git.io/fjcas
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has joined #nixos
rfold has quit [Quit: WeeChat 2.4]
m0rphism has quit [Ping timeout: 250 seconds]
ee1943 has quit [Read error: Connection reset by peer]
ee1943 has joined #nixos
o1lo01ol1o has joined #nixos
<yuken> Hmm. I think I'm about to try my first Nix instance that _isn't_ a daily driver/desktop PC
<yuken> an actual server, oooooh
<{^_^}> [nixpkgs] @mmlb opened pull request #61110 → pythonPackages.faker: fix build → https://git.io/fjcan
<infinisil> Nice
<Ralith> I have a couple of those
<Ralith> it is incredibly pleasant how they generally don't fall over when you update them
<yuken> Are Nix VM/containers essentially Docker, except Nix?
<Ralith> especially since it's much easier to go for a year or two vs. a personal machine where you're always tracking the latest stuff anyway
acarrico has quit [Ping timeout: 255 seconds]
<yuken> Ralith, that seems like a nice point of Nix, so long as options remain relatively consistent you can just update and it's fine.
<yuken> I still barely understand the Nix language though.
<catern> the amazing feature of Nix that recently struck me is how I can check out old versions of this project, and build them, and run tests, and everything still all works
Rusty1 has joined #nixos
<catern> because all the deps are pinned with Nix
<Ralith> reproducible build envs are <3
<pie___> or approximately reproducible anyway
<yuken> I think my first Nix server will be a mail server, Dovecot + Postfix + PostgreSQL
<pie___> mumble mumble something about vpn server getting restarted <Ralith> it is incredibly pleasant how they generally don't fall over when you update them
<yuken> pfft pie___, the idea of a VPN server is outdated, use Tinc! ;)
<pie___> yuken, its precisely my tinc connection that was the problem lol ;~; (also isnt wireguard all the rage these days)
<yuken> dang
<pie___> yuken, work with the language and youll get comfortable with it. the libraries are a bit harder to get used to imo
<pie___> or rather, to remember
<pie___> yuken, maybe its been improved since i had problems with it
<pie___> or to find etc, well *shrug* regardless of all my whining its still better stuff :p
<yuken> fun thing, whether it was luck or not, Nix was the _first_ Linux distro to automatically, with Pulseaudio, pick my microphone insteaad of a software audio monitor byy default
<yuken> so I didn't install, start playing my game, and wonder why no one could hear me for an hour like usual
<pie___> heh
goibhniu has quit [Ping timeout: 252 seconds]
<yuken> oh. Nix appears to have eatened up 21G out of 24G in my root partition
<yuken> wut?
<pie___> after i figured out the demotool i wanted to play with wasnt complaining about not being able to load any audio libraries, i set up ld_preload and everything worked like a charm
<pie___> yuken, well that happens
<pie___> :P
<pie___> i guesS? nix space usage is a running gac
<pie___> *gag
<pie___> run gc, look for stale roots, ...?
<samueldr> it's a cache!
ilikeheaps has joined #nixos
<yuken> I can understand why, I forget how t
<yuken> o gc properly
<pie___> also IIRC nix-du is cool
<pie___> oh also previous generations
<pie___> samueldr, we need a "nix ate my disk space" https://www.linuxatemyram.com/
<pie___> (except everything is not always fine :P)
<yuken> there we go, killed all previous generations
<yuken> now back to a comfy 13/24G
<samueldr> I don't split my fs anymore since using nixos (except on multi disk systems, where the cache gets a whole disk)
<yuken> I do it just in case I need to get rid of NixOS
Plotinus_ has quit [Quit: night]
<yuken> and because encryption is gut
vidbina has joined #nixos
fendor has joined #nixos
<joepie91> [00:45] <pie___> also IIRC nix-du is cool
gagbo has quit [Ping timeout: 246 seconds]
<joepie91> is today "learn cool new things about Nix" day?
<joepie91> that's the second "whoa, TIL" in a day
<joepie91> for me
<qyliss> every day is learn cool new things about Nix day
<pie___> next question is going to be how many are redundant and how much can we simplify so the world is more tractable
* pie___ has a smol brain
<pie___> hm would be nice to have something like ncdu
<pie___> forogt i wanted to look at that
orivej has joined #nixos
vidbina has quit [Ping timeout: 248 seconds]
ottidmes has quit [Quit: WeeChat 2.4]
dansho has joined #nixos
philopotamus has quit [Ping timeout: 244 seconds]
justanotheruser has joined #nixos
talqu has quit [Ping timeout: 248 seconds]
leotaku has quit [Ping timeout: 252 seconds]
sigmundv_ has joined #nixos
pie__ has quit [Read error: Connection reset by peer]
fendor has quit [Quit: Leaving]
pie_ has joined #nixos
erasmas has quit [Quit: leaving]
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nix] @LnL7 opened pull request #2795 → travis: run release build → https://git.io/fjcaA
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
rprije has joined #nixos
leotaku has joined #nixos
drakonis has joined #nixos
<pbb> sphalerite: unfortunately still fails with that commit. I'll try fixing it tomorrow.
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61111 → lldb_7: fix broken build on darwin → https://git.io/fjcV3
drakonis has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61112 → bazel: use llvm6 on darwin → https://git.io/fjcVW
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #61113 → nethack-qt: use gcc → https://git.io/fjcVl
ris has quit [Ping timeout: 252 seconds]
acarrico has joined #nixos
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #61114 → ruby: add ruby.withPackages → https://git.io/fjcV8
Twey has quit [Remote host closed the connection]
illegalprime has quit [Remote host closed the connection]
nschoe has quit [Ping timeout: 252 seconds]