gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
thc202 has quit [Ping timeout: 250 seconds]
<inkbottle> debian mount ESP on /boot/efi (grubx64.efi, and others). And put some other material like vmlinuz in /boot. It says here: https://www.rodsbooks.com/efi-bootloaders/installation.html, that if there is a debian system on the computer ESP must be mounted on /boot/efi, otherwise dpkg would mess with it. I suppose it doesn't matter since the 2 OSes are not running simultaneously.
<inkbottle> However could it be possible to mount ESP on /boot/efi, since it is traditional? (says: https://www.rodsbooks.com/efi-bootloaders/installation.html)
Arahael has quit [Ping timeout: 244 seconds]
jlv has quit [Ping timeout: 260 seconds]
<evanjs> Mrm... trying to package polychromatic; it's python project using meson. propagated inputs seem to work fine, but I can't seem to get the projects own python library to be accesible: "Polychromatic's modules could not be imported.", etc. Feel like I'm missing something dumb here
<evanjs> For context, $out / result/ looks totally normal, I have verified the files are in result/lib/python3.7/site-packages/polychromatic, etc
<evanjs> >.> pastebin has so many syntax options... but no nix
<evanjs> Don't mind the messy inputs and etc, half of which might be removed since I'm now trying to package the development version of the project
ee1943 has quit [Ping timeout: 245 seconds]
ee1943 has joined #nixos
ekleog has quit [Quit: WeeChat 2.4]
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjpmj
ekleog has joined #nixos
<samueldr> inkbottle: it is
Arahael has joined #nixos
<inkbottle> samueldr: thanks
<inkbottle> https://nixos.org/nixos/manual/index.html: parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB, why is there 1MB left at the beginning, why not starting at 0MB?
<samueldr> it's traditional to align partition at the first MiB IIRC
<samueldr> though in this case the tool also tells you you can't
<samueldr> (I wrote those instructions)
<inkbottle> ;)
<samueldr> I didn't put the explanation for the 1MiB in the text not to overload with information :)
<inkbottle> sure
<samueldr> and those instructions are only an example of how to partition, you're free to partition like you're used to, including using other tools :)
<inkbottle> Yes, yes, that I understand: what I'm used to is insert a debian installer and answer "yes" at each question until it's done. So I'm studying grub/efi stuffs very hard
<inkbottle> But it's a good thing
<samueldr> :)
<inkbottle> At one point I should overcome my fear and do the real install
<{^_^}> [nixpkgs] @flokli opened pull request #67855 → linux/kernel: enable QoS and/or fair queueing → https://git.io/fjpYm
<{^_^}> [nixpkgs] @flokli closed pull request #67837 → nixosTests.systemd: only run sysctl test on x86_64 → https://git.io/fjpkL
jgeerds has quit [Ping timeout: 246 seconds]
m0rphism1 has quit [Ping timeout: 246 seconds]
<ldlework> One thing that is still an absolute mystery to me: beyond installing mono and dotnet-sdk, what can I possibly do to resolve errors like: /nix/store/p6i1b4i0dymcsm0nlrf62kdq5j28adbi-dotnet-sdk-2.2.203/sdk/2.2.203/Microsoft.Common.CurrentVersion.targets(1183,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found. To resolve this, install the SDK or Targeting Pack
<ldlework> for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
yosemitesam has quit [Remote host closed the connection]
oborot has joined #nixos
<{^_^}> [nixpkgs] @averelld opened pull request #67856 → fcitx: use enchant2 → https://git.io/fjpYZ
<ldlework> Is there any tool which I can give a store path and it will print out a tree of all the other store paths that are dependencies?
<ldlework> I think I just need to get my dotnet cli to specifically use the latest mono in nixpkgs which has the framework I need
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #37594 → [wip] nixos/xfce4-13: add nixos module → https://git.io/vxC74
ris has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @pacien opened pull request #67857 → nixos/postgresql-wal-receiver: remove restart limit → https://git.io/fjpYR
mac10688 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #67858 → nixos: remove dependencies on local-fs.target → https://git.io/fjpYE
andgate has quit [Ping timeout: 260 seconds]
<inkbottle> samueldr: I see debian is putting ESP (grubx64.efi) in one partition and vmlinuz+others in another partition (that w. encrypted disk). It seems in next ref. he is using 2 partitions too, ESP in sda1 and vmlinuz+otherStuffs in sda2 (https://www.rodsbooks.com/efi-bootloaders/installation.html). *Is there an option for that*?
<samueldr> whatever you do, NixOS will put its kernels and initramfses in /boot (by default), so if you set efiSysMountPoint to another location than /boot, they will not be present in the ESP partition
joebobjoe has quit [Ping timeout: 244 seconds]
<samueldr> so, if you want the ESP as a partition, /boot as another distinct partition (in addition to /) you would have to make a partition, mount it at the right location, set fileSystems.* accordingly
Myhlamaeus4 has quit [Remote host closed the connection]
<samueldr> so yeah, there are options to make that work
<samueldr> though in my opinion, there's not many reasons to have a distinct /boot from either the ESP or the root of the filesystem
<samueldr> and it is why the instructions instruct to make such a big ESP (512 MiB) it is because it is assumed to be used to stash the kernels and initramfses for the built generations
<inkbottle> reading
<inkbottle> very clear, tx
<ldlework> yay I figured it out
<inkbottle> And very useful.
abaiste^ has quit []
tsrt^ has joined #nixos
<inkbottle> Are there really 7000 options?
<gchristensen> yep...
<gchristensen> but discovery is pretty easy
georges has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ece8a676657 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
twoolie has joined #nixos
<inkbottle> gchristensen: Just as a case study, the option specifying initrd and vmlinuz are stored on a separate partition different from ESP. Not for the usefulness of it, but because I searched and didn't find. What search method would you use to find the corresponding option.
<gchristensen> yeah that one might be trickier to find
<inkbottle> ;)
<gchristensen> most options are fairly discoverable :)
<Notkea[m]> is nix.ci currently unavailable? I have a 404 instead of logs https://logs.nix.ci/?key=nixos/nixpkgs.67857&attempt_id=c2732f4e-9ba2-4673-927d-3b3c194e51c9
orivej has quit [Ping timeout: 245 seconds]
<gchristensen> PR logs are pruned after about 7 days
<gchristensen> ehh seems like something weird is up withthat PR ...
twoolie has quit [Ping timeout: 244 seconds]
georges has joined #nixos
philr has quit [Ping timeout: 245 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #67818 → Remove/crashplan → https://git.io/fjpe1
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjpYi
joebobjoe has joined #nixos
mexisme has joined #nixos
boxscape has quit [Ping timeout: 245 seconds]
<evanjs> Any reason a meson-based python project I'm packaging is getting wrapped twice? Using wrapGAppsHook, and not entirely sure if the double-wrapping has anything to do with it not finding its own python libraries at runtime
boxscape has joined #nixos
<evanjs> e.g. the final script has '/nix/store/v39xxq4cncsi07fxwjnpb1220hvh80p2-polychromatic-unstable-2019-05-12/bin/..polychromatic-controller-wrapped-wrapped'
mexisme has quit [Ping timeout: 252 seconds]
valebes has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #67840 → release-notes: mention restricted SysRq key combinations → https://git.io/fjpkb
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjpYD
<{^_^}> [nixpkgs] @aanderse closed pull request #62239 → gscan2pdf: 2.3.0 -> 2.5.3 → https://git.io/fj0uy
valebes has joined #nixos
<Notkea[m]> gchristensen: this ran about an hour ago
Gohla has quit [Ping timeout: 258 seconds]
Gohla has joined #nixos
simpson has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67859 → pango: update hash to patch → https://git.io/fjpY9
<simpson> I have a machine running NixOS from a couple years ago. The nix-channel command doesn't work right; it destroys the channel list. Also, nixos-rebuild insists that Nix 2 is required and tells me to nixos-rebuild. Did we ever figure out a reasonable way to fix machines like this?
<{^_^}> [nixpkgs] @averelld opened pull request #67860 → plex-mpv-shim: init at 0.2 → https://git.io/fjpYQ
<evanjs> Hrm. Any tips for debugging python imports in NixOS? Or do I need to enable debug info, etc?
oborot has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @disassembler merged pull request #67610 → chromium: 76.0.3809.100 -> 76.0.3809.132 → https://git.io/fjxJ6
<{^_^}> [nixpkgs] @disassembler pushed commit from @ivan to master « chromium: 76.0.3809.100 -> 76.0.3809.132 (#67610) »: https://git.io/fjpYF
felixfoertsch has joined #nixos
<samueldr> simpson: about upgrading, you'll need to first pass through IIRC 18.03
<simpson> samueldr: Too late, I already booted into a USB installer and am re-running nixos-install.
<samueldr> that would do it too :)
felixfoertsch23 has quit [Ping timeout: 246 seconds]
<samueldr> 18.09 might be fine too
<{^_^}> [nixpkgs] @disassembler merged pull request #65963 → libevent: 2.1.10 -> 2.1.11 → https://git.io/fjHKE
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to staging « libevent: 2.1.10 -> 2.1.11 (#65963) »: https://git.io/fjpYb
dansho has joined #nixos
<{^_^}> [nixpkgs] @sigma opened pull request #67861 → ghq: 0.10.2 -> 0.12.6 → https://git.io/fjpYA
<worldofpeace> evanjs: buildPython* uses wrapPython which also produces it's own wrapper
<worldofpeace> evanjs: you could do this hack to only have one https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/lollypop/default.nix#L79
<{^_^}> [nixpkgs] @sigma opened pull request #67862 → cayley: 0.6.1 -> 0.7.5 → https://git.io/fjpYx
<{^_^}> [nixpkgs] @sigma opened pull request #67863 → dgraph: 0.8.2 -> 1.0.17 → https://git.io/fjpYp
<inkbottle> simpson: don't you lose your data running nixos-install?
<samueldr> inkbottle: nixos-install basically runs nixos-rebuild switch, while handling mounting entering the chroot for you
<evanjs> worldofpeace: mmkay that seems to get me in a position where python3 -v prints something meaningful, thanks!
<samueldr> inkbottle: it could be renamed nixos-rebuild-switch-a-chroot-and-do-misc-stuff
<evanjs> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 35
<samueldr> the misc. stuff is mostly forcing a bootloader install and prompting the user to add a root password
<{^_^}> [nixpkgs] @disassembler closed pull request #55812 → Add optional manylinux1 (PEP 513) support for Python → https://git.io/fh7F4
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67767 → nomacs: build using Qt mkDerivation (+ translations) → https://git.io/fjx91
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjpOe
oborot has joined #nixos
fusion809 has joined #nixos
<inkbottle> samueldr: thanks
reanimus has quit [Ping timeout: 276 seconds]
_reanimus_ has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ece8a676657 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
drakonis has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
hax404 has quit [Ping timeout: 252 seconds]
hax404 has joined #nixos
lambda-11235 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67859 → pango: update hash to patch → https://git.io/fjpY9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjpOq
<{^_^}> [nixpkgs] @disassembler merged pull request #67753 → findutils: 4.6.0 -> 4.7.0 → https://git.io/fjxMA
<{^_^}> [nixpkgs] @disassembler pushed commit from @lsix to staging « findutils: 4.6.0 -> 4.7.0 (#67753) »: https://git.io/fjpOY
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67851 → qogir-theme: 2019-05-03 -> 2019-08-31 → https://git.io/fjpq1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjpOO
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64289 → kallisto: 0.43.1 -> 0.46.0 → https://git.io/fj6lX
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjpO3
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @samdoshi to supercollider « supercollider: Use qt5's own mkDerivation »: https://git.io/fjpOZ
<worldofpeace> Hmm, guess that's the first time I pushed a branch to nixpkgs not on purpose :P
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to supercollider: https://git.io/fjpOC
<samueldr> git remote set-url --push origin NOPE :)
domogled has joined #nixos
<samueldr> I have another repo that is used *only* to push directly, and which I use only for backports
<{^_^}> [nixpkgs] @disassembler merged pull request #66574 → pythonPackages.sqlalchemy: remove pytest_xdist and fix the tests → https://git.io/fj5Kc
<{^_^}> [nixpkgs] @disassembler pushed commit from @kalbasit to staging « pythonPackages.sqlalchemy: remove pytest_xdist and fix tests (#66574) »: https://git.io/fjpOl
<worldofpeace> I actually do the same thing, backports and things I prefer to just push directly
<samueldr> oops, another _clone_ of the nixpkgs repo, not another repo
<worldofpeace> hmm maybe I should use a pre-push hook
<{^_^}> [nixpkgs] @disassembler merged pull request #62025 → zlib: enable check and parallel building → https://git.io/fjB9b
<{^_^}> [nixpkgs] @disassembler pushed commit from @bhipple to staging « zlib: enable check and parallel building (#62025) »: https://git.io/fjpO4
<{^_^}> [nixpkgs] @disassembler merged pull request #65976 → libmicrohttpd: 0.9.64 -> 0.9.66 → https://git.io/fjHiR
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to staging « libmicrohttpd: 0.9.64 -> 0.9.66 (#65976) »: https://git.io/fjpO0
<{^_^}> [nixpkgs] @disassembler merged pull request #65968 → libtasn1: 4.13 -> 4.14 → https://git.io/fjH6L
<{^_^}> [nixpkgs] @disassembler pushed commit from @r-ryantm to staging « libtasn1: 4.13 -> 4.14 (#65968) »: https://git.io/fjpOu
drakonis__ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @samdoshi to master « supercollider: Use qt5's own mkDerivation »: https://git.io/fjpOa
<{^_^}> [nixpkgs] @worldofpeace closed pull request #67828 → supercollider: Use qt5's own mkDerivation → https://git.io/fjpJS
<{^_^}> [nixpkgs] @ryantm opened pull request #67864 → babl: disable tests → https://git.io/fjpOV
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67842 → rtmpdump: use OpenSSL 1.1 to fix gstreamer crash → https://git.io/fjpIF
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjpOo
joebobjoe has quit [Quit: Lost terminal]
drakonis__ has quit [Quit: Leaving]
the-kenny-w has quit [Ping timeout: 268 seconds]
Zer0xp has joined #nixos
iqubic has joined #nixos
the-kenny-w has joined #nixos
chr15 has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #67865 → diesel-cli: init at 1.4.0 → https://git.io/fjpO6
dansho has quit [Ping timeout: 245 seconds]
<{^_^}> #67865 (by ivan, 3 minutes ago, open): diesel-cli: init at 1.4.0
<evanjs> ivan++
<{^_^}> ivan's karma got increased to 6
<evanjs> Yay rust stuff
<{^_^}> [nixpkgs] @peterhoeg closed pull request #62398 → tora: fix build → https://git.io/fjEG6
drakonis1 has joined #nixos
<ivan> I have a :/var/empty:/run/current-system/sw/bin/nologin line in my /etc/passwd and I have no idea where it's coming from
<ivan> it makes this complain Argument "/run/current-system/sw/bin/nologin" isn't numeric in int at /nix/store/z9a0mg0qg4xhlih0wix950xgq285fbzh-update-users-groups.pl line 107.
<clever> ivan: you may need to just manually delete that line to fix the issue
<ivan> oh yeah I just realized that :-)
<ivan> thanks
reanimus has joined #nixos
<ivan> nope, it respawned
_reanimus_ has quit [Ping timeout: 276 seconds]
<clever> ivan: check the user-groups.json file in your closure
<clever> [root@system76:~]# nix-store -qR /run/current-system | grep users-groups
philr has joined #nixos
<clever> [root@system76:~]# jq < /nix/store/3kpqr704gifc7dgsfifpiqcknkngllqw-users-groups.json '.users | map(select(.name == ""))'
<clever> ivan: something like this maybe
<ivan> clever: thanks, it was services.prometheus.exporters.node.enable = true;
<clever> ivan: that shouldnt do it...., what did the jq find?
<ivan> it was really that, I tested
<ivan> this regressed in master 1-2 months ago
<clever> ivan: what rev of nixpkgs are you on?
<ivan> 6bf3d68b8d11c726c3b2105c6edd4125c0a7a859 with some patches that don't touch the exporter or users
<clever> ivan: what about DynamicUser?
domogled has quit [Quit: domogled]
<ivan> I don't touch that either and my config for it is just services.prometheus.exporters.node = { port = 9100; enable = true; };
<clever> then it would be the systemd default...
<clever> oh, which is true if absent
<clever> i can see how that might mess up
<ivan> maybe users should explode early on bad input instead of writing junk to passwd too
<clever> it should fail at build time, and not put bad input into the json
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67800 → calibre: 3.46.0 -> 3.47.0 → https://git.io/fjxAc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjpOy
<{^_^}> #65810 (by WilliButz, 4 weeks ago, merged): nixos/prometheus-exporters: replace nobody/nogroup
<{^_^}> [nixpkgs] @nrdxp opened pull request #67866 → elm-language-server: init at 1.3.2 → https://git.io/fjpOS
vika_nezrimaya has quit [Ping timeout: 244 seconds]
oborot has quit [Ping timeout: 258 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67853 → python3Packages.pikepdf: 1.1.0 -> 1.6.2, pybind11: 2.2.4 -> 2.3.0 → https://git.io/fjpqp
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjpO9
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
endformationage has quit [Ping timeout: 245 seconds]
mac10688 has joined #nixos
init_6 has joined #nixos
<vvbb[m]> error: cannot auto-call a function that has an argument without a default value ('lib')
<clever> ,callPackage vvbb[m]
<{^_^}> vvbb[m]: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<clever> vvbb[m]: in your case, python3Packages.callPackage
Rusty1 has quit [Quit: Konversation terminated!]
Okinan has quit [Quit: Konversation terminated!]
<vvbb[m]> anonymous function at /home/eon/python-pydle/irc3.nix:1:1 called without required argument 'pytest-runner', at /nix/store/9ca2g5cijnhzq5i92l0ny16w18rv1r7m-nixos-19.03.173408.bd6ba87381e/nixos/lib/customisation.nix:69:12
<vvbb[m]> ignore the pydle name i'm actually using irc3
palo1 has joined #nixos
<vvbb[m]> yo uhhh hmm what should i do?
Chiliparrot has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @Huddo121 closed pull request #66914 → nodePackages: add bs-platform → https://git.io/fjF6C
dansho has joined #nixos
polman has quit [Ping timeout: 258 seconds]
polman has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.4]
mac10688 has quit [Ping timeout: 245 seconds]
<evanjs> vvbb[m]: Importing python3Packages and then including the dependencies as buildInputs (e.g. python3Packages.pytestrunner) seems to work okay. Looks like we needed a few more dependencies, though. Gimme a second to paste
iqubic` has joined #nixos
<evanjs> `nix-build -E '(import <nixpkgs> {}).python3Packages.callPackage ./default.nix {}'`
<evanjs> Didn't test any features but the help message came up, at least *shrugs*
<evanjs> vvbb[m]: Note that you need to include venusian and docopt as propagatedBuildInputs as they're used during runtime. See: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#handling-dependencies
iqubic` has quit [Remote host closed the connection]
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
mexisme has joined #nixos
kleisli has joined #nixos
mexisme has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d835da5ee99 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
chr15 has quit [Ping timeout: 258 seconds]
iqubic` has quit [Remote host closed the connection]
Zer0xp has quit [Ping timeout: 246 seconds]
iqubic` has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
kleisli has joined #nixos
iqubic`` has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hax404 has quit [Ping timeout: 252 seconds]
drakonis1 has joined #nixos
hax404 has joined #nixos
iqubic` has quit [Ping timeout: 250 seconds]
dansho has quit [Quit: Leaving]
dasj19 has joined #nixos
domogled has joined #nixos
kleisli has quit [Ping timeout: 276 seconds]
iqubic`` has quit [Remote host closed the connection]
XMatrix has joined #nixos
lambda-11235 has quit [Read error: Connection reset by peer]
XMatrix is now known as lambda-11235
lambda-11235 has quit [Client Quit]
lambda-11235 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3104cb28673 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67815 → cargo-watch: init at 7.2.1 → https://git.io/fjxjA
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjp3s
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjp3G
<{^_^}> [nixpkgs] @mmahut merged pull request #67834 → consul: 1.5.2 -> 1.6.0 → https://git.io/fjpT4
m0rphism1 has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #66412 → intake: 0.4.4 -> 0.5.3 → https://git.io/fj7zb
<{^_^}> [nixpkgs] @kalbasit pushed to master « intake: 0.4.4 -> 0.5.3 (#66412) »: https://git.io/fjp3l
<{^_^}> [nixpkgs] @mmahut merged pull request #67861 → ghq: 0.10.2 -> 0.12.6 → https://git.io/fjpYA
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjp38
<{^_^}> [nixpkgs] @mmahut merged pull request #67862 → cayley: 0.6.1 -> 0.7.5 → https://git.io/fjpYx
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjp34
<{^_^}> [nixpkgs] @mmahut merged pull request #67863 → dgraph: 0.8.2 -> 1.0.17 → https://git.io/fjpYp
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjp3B
kleisli has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #67768 → nixos/redis: disable transparent huge pages (TLP) before starting Redis → https://git.io/fjxHU
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjp3E
<{^_^}> [nixpkgs] @jtojnar merged pull request #67864 → babl: disable tests → https://git.io/fjpOV
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjp3z
<{^_^}> [nixpkgs] @mmahut merged pull request #67865 → diesel-cli: init at 1.4.0 → https://git.io/fjpO6
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjp3a
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #67868 → bat: 0.11.0 -> 0.12.0 → https://git.io/fjp3i
<{^_^}> [nixpkgs] @peti pushed to master « nixos/redis: drop unnecessary dependencies from systemd unit »: https://git.io/fjp3P
<{^_^}> [nixpkgs] @xrelkd opened pull request #67869 → youtube-dl: 2019.08.13 -> 2019.09.01 → https://git.io/fjp31
lambda-11235 has quit [Quit: Bye]
lurpahi has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67869 → youtube-dl: 2019.08.13 -> 2019.09.01 → https://git.io/fjp31
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjp37
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @xrelkd to release-19.03 « youtube-dl: 2019.08.13 -> 2019.09.01 »: https://git.io/fjp3A
hmpffff has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @sorbits opened pull request #67870 → Patch remind source to improve usage on macOS and Windows → https://git.io/fjpsJ
mkoenig has quit [Ping timeout: 244 seconds]
boxscape has quit [Ping timeout: 258 seconds]
polman has quit [Quit: Conection reset by BEER ( www.nirc.netbynet.ru )]
domogled has quit [Ping timeout: 246 seconds]
polman has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67667 → nixos/fontconfig: Allow setting default emoji font → https://git.io/fjxCR
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fjpsL
ddima has quit [Quit: Lost terminal]
ardumont has quit [Quit: WeeChat 1.9.1]
ardumont has joined #nixos
ardumont has quit [Client Quit]
DariusTheMede has joined #nixos
dansho has joined #nixos
ardumont has joined #nixos
o1lo01ol1o has joined #nixos
asymptotically has joined #nixos
valebes has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @prusnak opened pull request #67871 → pythonPackages.pytest-random-order: init at 1.0.4 → https://git.io/fjpst
valebes has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #67872 → minio-client: remove go 1.10 override → https://git.io/fjpsm
domogled has joined #nixos
alex`` has joined #nixos
valebes has quit [Quit: Quit]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/49745b66e6c (from 58 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
DariusTh` has joined #nixos
init_6 has quit []
DariusTheMede has quit [Ping timeout: 245 seconds]
joelpet[m] is now known as joelpet[m]1
joelpet[m]1 has joined #nixos
joelpet[m]1 has quit [Changing host]
<maralorn> worldofpeace++ for the speed of the youtube-dl merge.
<{^_^}> worldofpeace's karma got increased to 36
<maralorn> I am still curious, is there really no power function somewhere in nixpkgs?
<worldofpeace> thanks maralorn ✨
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67755 → parity: 2.5.6 -> 2.5.7, parity-beta: 2.6.1 -> 2.6.2 → https://git.io/fjxDi
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjpsc
drakonis1 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67473 → nixos/pantheon: fix launching nm-applet components → https://git.io/fjAnD
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjpsC
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
chloekek has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
dasj19 has quit [Quit: dasj19]
ng0 has joined #nixos
o1lo01ol1o has joined #nixos
orivej has joined #nixos
twoolie has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mexisme has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
DariusTh` has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 245 seconds]
hax404 has quit [Ping timeout: 252 seconds]
hax404 has joined #nixos
_zincy has joined #nixos
twoolie has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 258 seconds]
ddima has joined #nixos
ardumont has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Ma27 merged pull request #67868 → bat: 0.11.0 -> 0.12.0 → https://git.io/fjp3i
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjps1
__monty__ has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/49745b66e6c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67727 → electrum: update for the Qt5 change (#65399) → https://git.io/fjxon
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjpsN
philr has quit [Ping timeout: 258 seconds]
rndd has joined #nixos
<rndd> Hi everyone. As usual I've come to usk a question. Two days ago I reinstalled nixos on my laptop. And there come new error I've never seen before. When I tried to use an .ovpn profile, I got this message "disabling NCP mode (--ncp-disable) because not in P2MP client or server mode\ Options error: You must define TUN/TAP device (--dev)". As I understand, I need to setup tun device. I'he tried this guide
<rndd> https://unix.stackexchange.com/questions/419660/how-to-properly-configure-a-tun-tap-interface-in-linux . But my 'ip link set tun0' doesn't have an option 'master' =(
<{^_^}> [nixpkgs] @ivan opened pull request #67873 → cargo-watch: enable for darwin → https://git.io/fjpGm
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<ddima> rndd: openvpn should be able to create a device itself, once you actually specify it in the config like `dev tun` or cli with `--dev tun`
mexisme has joined #nixos
<rndd> ddima: [input] "sudo openvpn profile.ovpn" [output] "Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: dev (2.4.7)"
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d64d6c520e3 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
thc202 has joined #nixos
orivej has joined #nixos
<ddima> rndd: well, there is stuff wrong with your config, but cant tell without seeing it. so maybe have a look at the documentation and/or https://openvpn.net/community-resources/static-key-mini-howto/ - this is unlikely a nixos issue.
<rndd> ddima: OMG, I got it. I have an empty config file! Thank you for help. Anyway, thanks for new info.
jgeerds has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
ris has joined #nixos
rndd has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @lheckemann merged pull request #62046 → pkgs.nixos: Expose configuration directly → https://git.io/fjBNn
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fjpGR
twoolie has joined #nixos
Mateon1 has quit [Ping timeout: 246 seconds]
reallymemorable has joined #nixos
Mateon1 has joined #nixos
freeman42x[NixOS has joined #nixos
<{^_^}> [nixpkgs] @justinwoo opened pull request #67875 → purescript: 0.13.0 -> 0.13.3 → https://git.io/fjpGQ
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @deepfire opened pull request #67876 → gnomeExtensions.wsmatrix: new package → https://git.io/fjpG5
<{^_^}> [nixpkgs] @dywedir merged pull request #67873 → cargo-watch: enable for darwin → https://git.io/fjpGm
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjpGd
vonfry has joined #nixos
tom__ has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #67877 → nixos/prometheus-exporters: fix user generation → https://git.io/fjpGA
<{^_^}> [nixpkgs] @ehmry opened pull request #67878 → Nim packages → https://git.io/fjpGx
_zincy has quit [Ping timeout: 252 seconds]
tom__ has quit [Remote host closed the connection]
zupo has joined #nixos
tom__ has joined #nixos
DariusTh` has joined #nixos
fendor has joined #nixos
Myhlamaeus4 has joined #nixos
<DariusTh`> I am trying to run jupyter notebook within a nix shell
<DariusTh`> nix-shell --pure -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz -p python37Packages.notebook
<DariusTh`> Running `jupyter notebook` gives me a jupyter with lots of kernels I installed outside of nix
<DariusTh`> How do I get a "virgin" notebook with only the base (python) kernel?
<clever> DariusTh`: try setting HOME to an empty dir, after you nix-shell
<{^_^}> [nixpkgs] @alyssais pushed to nixpkgs-master « linux_latest-libre: fix build »: https://git.io/fjpZT
<DariusTh`> clever: thanks but isn't --pure supposed to get rid of the non-nix environment?
<{^_^}> [nixpkgs] @alyssais pushed 0 commits to nixpkgs-master: https://git.io/fjpZk
<clever> DariusTh`: --pure doesnt touch $HOME, i believe, you can confirm with `echo $HOME`
<DariusTh`> clever: in a `mkShell` should I set $HOME to an empty directory also?
<clever> DariusTh`: if its set to empty, it will likely break things
<clever> text editors tend to save config in $HOME
<DariusTh`> clever: ok but I'd like to run an R kernel
<{^_^}> [nixpkgs] @alyssais pushed to nixpkgs-master « linux_latest-libre: fix build »: https://git.io/fjpZT
<qyliss> asorry for spam
<{^_^}> [nixpkgs] @alyssais pushed 0 commits to nixpkgs-master: https://git.io/fjpZk
<{^_^}> [nixpkgs] @alyssais pushed to master « linux_latest-libre: fix build »: https://git.io/fjpZG
<DariusTh`> clever: I copied the above from https://nixos.wiki/wiki/R
<clever> DariusTh`: what happens if you `export home=/homeless-shelter` ?
<{^_^}> [nixpkgs] @StillerHarpo opened pull request #67879 → lolcat: 99.9.99 -> 100.0.0 → https://git.io/fjpZC
<DariusTh`> clever: Where? In my shell.nix?
<clever> DariusTh`: yeah
<DariusTh`> PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
<{^_^}> [nixpkgs] @alyssais pushed to release-19.03 « linux_latest-libre: fix build »: https://git.io/fjpZB
<DariusTh`> export HOME=~/homeless-shelter works but I only get a python kernel not the expected R kernel
<DariusTh`> That derivation on the nix wiki looks wrong to me
<DariusTh`> sh: jupyter: command not found
ardumont has joined #nixos
dasj19 has joined #nixos
tom__ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @prusnak opened pull request #67881 → pythonPackages.trezor: fix typo (pyarg vs pyargs) → https://git.io/fjpZz
_zincy has joined #nixos
domogled has joined #nixos
twoolie has quit [Read error: Connection reset by peer]
<DariusTh`> Where is best to record problems with derivations on the nix wiki? On the nixpkgs repo or on discourse?
philr has joined #nixos
andreas303 has quit [Remote host closed the connection]
das_j has joined #nixos
<das_j> is there a way to make nix build (nix 2.0 tool) report its progress into stderr instead of stdout?
andreas303 has joined #nixos
hax404 has quit [Ping timeout: 264 seconds]
<ddima> DariusTh`: maybe poke on #nixos-wiki
hax404 has joined #nixos
<ris> is there a way to test at eval time whether a package is broken or unavailable for an arch? or rather - how can i have a package with optional dependencies which i can skip if unavailable?
<das_j> ris: I think tryEval should do the trick
<ris> ahhh didn't know about that thanks
<das_j> > builtins.tryEval gimp
<{^_^}> { success = true; value = { PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = <CODE>; __ignoreNulls = true; all = <CODE>; args = <CODE>; buildInputs = <CODE>; builder = <CODE>; configureFlags = <CODE>;...
<{^_^}> [nixpkgs] @ivan opened pull request #67882 → qolibri: 2018-11-14 -> 2019-07-22 → https://git.io/fjpZ1
<DariusTh`> It seems weird the instructions on the nix wiki actually use the R package manager
<DariusTh`> That seems dangerous / fragile to me
orivej has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @flokli merged pull request #67855 → linux/kernel: enable QoS and/or fair queueing → https://git.io/fjpYm
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjpZd
orivej has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #67844 → notmuch: 0.28.4 -> 0.29.1 (and assorted fixes) → https://git.io/fjpLB
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/fjpZF
<ris> das_j: neat, but it doesn't seem to be a very widely used pattern in nixpkgs
<ris> it also doesn't appear to catch broken = True
<qyliss> You could tryEval gimp.outPath
<qyliss> Which would require attempting an actual build of the package
<clever> i think it would only require the .drv to eval, and return the outPath
<qyliss> oh, right
<ris> hmm well of course i could actually try and poke .meta.broken
<qyliss> I'm not sure this is a good idea, though.
<ris> nope
<qyliss> You could end up with a different successful result based on whether your machine had enough memory at build time.
<qyliss> Checking meta.broken or meta.platforms would be fine
<ris> all it is is - i'm enabling the tests for a package, and in doing so inclusing dependencies for some more obscure packages to enable some optional tests
<ris> but it'd be kinda shitty if in doing so i ended up making the package unavailable for platforms that don't (yet) have those dependencies
<qyliss> You should just make sure that meta.broken and meta.platforms are correct for all of those dependencies.
<ris> or they're broken
<qyliss> Conditionally including them based on those would be fine.
orivej has quit [Ping timeout: 245 seconds]
<ris> grepping though, this also doesn't seem a common pattern
<qyliss> Usually people just wouldn't enable the optional tests
DariusTh` has quit [Ping timeout: 244 seconds]
orivej has joined #nixos
DariusTh` has joined #nixos
<ris> *scratches beard* maybe. this does seem like a bit of a lacking area.
fendor_ has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
<DariusTh`> buildInputs = [ pythonPackages.jupyter pythonPackages.notebook R-with-my-packages ]; is causing nix to rebuild the world :( I'm guessing I shouldn't have done that
inkbottle has quit [Ping timeout: 245 seconds]
fendor__ has joined #nixos
inkbottle has joined #nixos
<ris> in this vein it would be useful for someone to come up with a mechanism that could understand the fact that changes to the hash/inputs of the checkPhase etc. should still result in binary-identical packages.
<ris> and so be able to reduce unnecessary rebuild explosions
jgeerds has quit [Ping timeout: 245 seconds]
<clever> ris: you could run the test in a 2nd derivation, that you optionally depend on
* ris thinks
fendor_ has quit [Ping timeout: 258 seconds]
<ris> yeah i guess so - i suppose in such a case the tests for that package become more of a nixpkgs "canary"
<clever> the nixos tests work in a similar way
<clever> it tests after it has built everything
<ris> oh yes i suppose so
<DariusTh`> Still trying to get an R kernel for a jupyter notebook I notice
<DariusTh`> [InstallKernelSpec] WARNING | Installing to /nix/store/d6gikg5iw9pyfszkhh2v1yx57d9j926s-jupyter-R-kernel/share/jupyter/kernels, which is not in ['/private/tmp/nix-build-jupyter-R-kernel.drv-0/Library/Jupyter/kernels', '/nix/store/kqyhhzjlxj0k8la79l6xlckar8yypdww-python-2.7.16/share/jupyter/kernels', '/usr/local/share/jupyter/kernels', '/usr/share/jupyter/kernels', u'/private/tmp/nix-build-jupyter-R-kernel.drv-0/.ipython/k
<DariusTh`> kernelspec may not be found.
fendor__ is now known as Fendor
<DariusTh`> Indeed the kernelspec is *not* found
ethylomat has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
fendor_ has joined #nixos
<DariusTh`> When googling finds that you reported the issue a year ago :( https://github.com/NixOS/nixpkgs/issues/42904
<{^_^}> #42904 (by idontgetoutmuch, 1 year ago, open): R example fails with sh: jupyter: command not found
Fendor has quit [Ping timeout: 245 seconds]
<DariusTh`> I am guessing not many R users use nix
orivej has quit [Ping timeout: 258 seconds]
<Ashy> DariusTh`: have you looked at jupyterWith? https://www.tweag.io/posts/2019-02-28-jupyter-with.html
orivej has joined #nixos
<Ashy> i havent used it yet but it's been sitting open in my firefox tabs for a few weeks on my free time list...
Myhlamaeus4 has quit [Remote host closed the connection]
Myhlamaeus4 has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<kandinski> Nix expression language question. Please look at the last line: http://paste.debian.net/1098271/ Seems to me that floats that can be coerded into ints will be printed as though if they were ints. Is there a rationale for this? Is this considered a bug?
civodul has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #64285 → ispell: 3.3.02 -> 3.4.00 → https://git.io/fj6W7
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjpnc
<ivan> kandinski: I suspect this is a bug that could be fixed
<ivan> could be this in src/libexpr/eval.cc
<ivan> case tFloat:
<ivan> str << v.fpoint;
<kandinski> Yeah, I'm writing tutorial materials right now, that's how I came to it.
orivej has joined #nixos
zupo has joined #nixos
<__monty__> 4's a valid float literal though. I guess print then read isn't idempotent this way but there seems to be no coercion since typeOf correctly identifies it as a float?
philr has quit [Ping timeout: 245 seconds]
<kandinski> yeah, it's just bad UX
DariusTh` has quit [Ping timeout: 245 seconds]
<kandinski> in the sense that users can be confused of the type when they print it
DariusTh` has joined #nixos
<{^_^}> [nixpkgs] @samdoshi opened pull request #67884 → onboard: Fix gobject-introspection → https://git.io/fjpn2
<kandinski> I don't know a lot of C++, but it seems like it's C++ behaviour. NixFloat is a typedef'd double
<clever> kandinski: the problem would be the operator to apply << to whatever str is
<clever> with a double
<kandinski> clever, ah, so do you think << is overloaded there?
<kandinski> makes sense
<kandinski> everything else is standard C++ as far as I understand it
<clever> kandinski: the c++ stdlib should supply a << operator, for ostream and double, but does it do what you expect?
<{^_^}> [nixpkgs] @mmahut merged pull request #67881 → pythonPackages.trezor: fix typo (pyarg vs pyargs) → https://git.io/fjpZz
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjpnV
<{^_^}> [nixpkgs] @risicle opened pull request #67885 → pythonPackages.pybind11: enable tests → https://git.io/fjpnw
<kandinski> clever: right, so there are two questions. First one, what's the right behaviour? If the current one is deemed ok, then this is just a matter of documenting it and moving forward.
hke has quit [Quit: The Lounge - https://thelounge.github.io]
hke has joined #nixos
<kandinski> clever: Second question would be how to fix it if it's considered an issue that needs fixing.
hke has quit [Client Quit]
fendor_ has quit [Quit: Leaving]
<clever> kandinski: find your own function to convert a float to a string, then <<, that string
<__monty__> If there's a way to eval a string into nix then I'd prefer print then eval to be idempotent tbh.
<kandinski> clever: thanks. So that is the answer to question 2. And __monty__ has an answer to question 1.
dasj19 has quit [Ping timeout: 246 seconds]
<kandinski> I know very little of C++ ,but I'd like to fix this one if I can. Is there a way someone can dib an issue as well as report it?
hke has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<__monty__> Just specify your intent in the issue description. Or bypass opening an issue and just PR.
shibboleth has joined #nixos
<__monty__> (Generic advice, I'm not familiar with the nix project's guidelines.)
<kandinski> __monty__: fair enough, thanks for the original advice and for the clarification
domogled has quit [Quit: domogled]
konv has joined #nixos
konv has left #nixos ["Leaving"]
freeman42x[NixOS has quit [Ping timeout: 246 seconds]
freeman42x[NixOS has joined #nixos
DariusTh` has quit [Remote host closed the connection]
Izorkin has quit [Ping timeout: 244 seconds]
DariusTh` has joined #nixos
Izorkin has joined #nixos
<DariusTh`> Ashy: yes I looked at jupyterwith but it didn't work for me and seemed a lot more complicated
<{^_^}> [nixpkgs] @flokli merged pull request #67841 → vulkan-headers, vulkan-tools: fix version → https://git.io/fjpIP
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjpny
orivej has quit [Ping timeout: 246 seconds]
feep has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ddbf4abe34d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @B4dM4n opened pull request #67886 → nomacs: really use Qt mkDerivation → https://git.io/fjpnx
ethylomat has quit [Remote host closed the connection]
feep has quit [Ping timeout: 245 seconds]
bakakuna has joined #nixos
DariusTh` has quit [Ping timeout: 258 seconds]
Phillemann has joined #nixos
<Phillemann> When building my cabal2nixed project, I get "ghc: can't find a package database at /home/philipp/.cabal/store/ghc-8.6.5/package.db"
DariusTh` has joined #nixos
<Phillemann> I'm not sure what the problem is.
<DariusTh`> I just tried the script on the wiki on ubuntu and it failed there
<Phillemann> Oh, apparently the existence of dist/dist-newstyle or this ghc file
knupfer has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
DariusTh` has quit [Ping timeout: 245 seconds]
DariusTh` has joined #nixos
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
<alexarice[m]> Does anyone know how close flakes are to becoming part of stable nix/nixpkgs?
<PyroLagus> i think it'll take a while
<PyroLagus> before they're even in unstable
_zincy has quit [Ping timeout: 244 seconds]
<qyliss> The RFC is still is discussion, and I don't see that coming to an end for some months at least.
aither has joined #nixos
steell has quit [Read error: Connection reset by peer]
iyzsong has quit [Ping timeout: 245 seconds]
bakakuna has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @hce opened pull request #67887 → commandergenius 2.3.3 -> 2.3.5 → https://git.io/fjpc4
kleisli has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #67888 → nixos/deluge: fix directory creation errors → https://git.io/fjpcu
<{^_^}> [nixpkgs] @Ekleog opened pull request #67889 → rss2email: 3.9 -> 3.10 → https://git.io/fjpcr
andreas303 has quit [Remote host closed the connection]
<ivan> I keep having problems with /root/.cache/nix caching 'not found' from my nix-serve before I've finished building the thing in hydra, so now I'm just rm -rf'ing it all the time, except when I forget
andreas303 has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @hce closed pull request #67887 → commandergenius 2.3.3 -> 2.3.5 → https://git.io/fjpc4
<ivan> oh, that was merged and there are settings now
knupfer has quit [Ping timeout: 264 seconds]
kleisli has quit [Ping timeout: 264 seconds]
Miyu-saki is now known as Miyu-chan
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @mguentner opened pull request #67890 → mxisd: 1.4.5 -> 1.4.6 ☺ ma1sd: init at 2.1.1 → https://git.io/fjpcx
bakakuna has joined #nixos
o1lo01ol1o has joined #nixos
Mateon1 has quit [Read error: Connection reset by peer]
Mateon2 has joined #nixos
Mateon2 has quit [Read error: Connection reset by peer]
Mateon1 has joined #nixos
civodul has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
civodul has joined #nixos
Serus has joined #nixos
vonfry has quit [Quit: WeeChat 2.5]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ddbf4abe34d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
kleisli has joined #nixos
Myhlamaeus4 has quit [Ping timeout: 245 seconds]
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
evanjs has joined #nixos
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #67839 → openjfx: fix licenses → https://git.io/fjpkM
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fjpC0
<{^_^}> [nixpkgs] @FRidh merged pull request #67886 → nomacs: really use Qt mkDerivation → https://git.io/fjpnx
<{^_^}> [nixpkgs] @FRidh pushed commit from @B4dM4n to master « nomacs: really use Qt mkDerivation »: https://git.io/fjpCz
_zincy has joined #nixos
<DariusTh`> I updated https://nixos.wiki/wiki/R with instructions that work for me on ubuntu
<DariusTh`> The macos version is still building
<evanjs> Alright, not at the computer right now, but does anybody have any pointers on debugging a python expression that can’t find its own libraries? Im using buildPythonApplication and the files in result look fine, including the files it says it can’t find, which _are_ there under lib/python3.7/site-packages, etc
justanotheruser is now known as j
j is now known as justanotheruser
<{^_^}> [nixpkgs] @FRidh merged pull request #67239 → Lua: consolidate setup hooks → https://git.io/fjNvj
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to staging: https://git.io/fjpCX
<evanjs> The only error message im getting is “could not import modules for polychromatic” (the program I’m packaging).
<{^_^}> [nixpkgs] @gleber closed pull request #67852 → nixos/module/deluge: fix directory ownership. → https://git.io/fjpqS
<{^_^}> [nixpkgs] @FRidh merged pull request #66763 → freetype: Remove unnecessary `--disable-static`. → https://git.io/fjFfi
<{^_^}> [nixpkgs] @FRidh pushed 0 commits to staging: https://git.io/fjpCD
<{^_^}> [nixpkgs] @FRidh merged pull request #66541 → libinput: 1.13.4 -> 1.14.1 → https://git.io/fj5Co
<{^_^}> [nixpkgs] @FRidh pushed commit from @colemickens to staging « libinput: 1.13.4 -> 1.14.1 »: https://git.io/fjpCH
Ankhers has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
drakonis1 has joined #nixos
evanjs has quit [Ping timeout: 246 seconds]
<ashkitten> is it possible to make my system reboot before zfs-scrub.service executes? scrubbing always causes a filesystem lockup after too much uptime
steeffaan has joined #nixos
<steeffaan> hi. it seems that my nixos 19.03 isnt downloading any new update for several days, probably 2 or 3 weeks. I'm not accustomed to that, usually, it was downloading something almost everytime i launched nixos-rebuild. Is it normal ?
vika_nezrimaya has joined #nixos
<FRidh> steeffaan: the channel was updated several times during the last week, with the last update 2 days ago https://howoldis.herokuapp.com/
<musicmatze> Did you update your channels?
Myhlamaeus4 has joined #nixos
<steeffaan> I have tried it said "unpacking channels.... created 0 symilniks in user environment", I only have 19.03 in my channels
<steeffaan> FRidh thanks for the link I will keep it
<steeffaan> well probably I'll suppose none of the package I use is impacted, but it feel strange, so I have asked here.
Okinan has joined #nixos
Ariakenom has joined #nixos
mexisme has joined #nixos
<steeffaan> by the way, I'm seeing the unstable channel on https://howoldis.herokuapp.com/. Do some of you use the nixos unstable by default ? Is it unstable like the Debian unstable, i.e rather stable, or is it more like Debian experimental ?
Soo_Slow has joined #nixos
<vika_nezrimaya> steeffaan: Using unstable on all of my machines :3 The unstable channel is Nixpkgs trunk but with some tests and sanity checks, so you'll be able to use it daily
mexisme has quit [Ping timeout: 252 seconds]
<vika_nezrimaya> I use unstable on everything, probably because I'm used to rolling releases like in Arch, and I sometimes contribute to Nixpkgs
<vika_nezrimaya> (actually I'm not even on unstable, I'm on nixpkgs trunk now)
<vika_nezrimaya> and things still work
<{^_^}> [nixos-hardware] @Ma27 opened pull request #117 → thinkpad: minor trackpoint fixes → https://git.io/fjpWc
<ryantm> I am trying NixOS 19.09 (lastest master), with Gnome on my laptop. Gnome's WiFi configuration menu says it cannot find a WiFi adapter. lspci detects the network adapter. My user is in the networkmanager group and I'm not setting any of the other wireless networking NixOS options. Could anyone suggest what I should do next to debug it?
<vika_nezrimaya> does ip link see it?
Okinan_ has joined #nixos
Okinan has quit [Ping timeout: 250 seconds]
<steeffaan> vika_nezrimaya any blog article I can read to to the same like you, unstable + sync on nixpkgs ?
<vika_nezrimaya> if only I had my blog up and running I'd write an article right now
<vika_nezrimaya> But I don't since I'm lazy and I can't deploy my own software!
<steeffaan> vika_nezrimaya for the unstable channel, I can redirect to nixos with nix-channel, but it's not clear for me how to use the git repo of nixpkgs as the source for nix
<vika_nezrimaya> I do it like this: git clone https://github.com/NixOS/nixpkgs; set your nix.nixPath variable to something like ["nixpkgs=/home/steeffaan/nixpkgs" "nixos-config=/etc/nixos/configuration.nix"] and do nixos-rebuild twice. Boom, you're running off a git checkout
<vika_nezrimaya> Right now nixos-version shows 19.09.git.ff6b4b1 for me
<vika_nezrimaya> I don't git pull stuff very often'
<vika_nezrimaya> just syncing, probably every several days or so
<freeman42x[NixOS> any recommended SMTP server for NixOS?
<vika_nezrimaya> I use postfix
<steeffaan> vika_nezrimaya I'm gonna try. I am betting it will work on first try. You cannot image how I feel nixos is good.
<vika_nezrimaya> freeman42x[NixOS: postfix configuration on NixOS is a lot more simple than debian :3
<vika_nezrimaya> Last time I tried to set up mail on debian... I never got past dpkg-configure
<vika_nezrimaya> It was all so confusing, I never knew which options were altered, with NixOS I can just read the module
noudle has quit []
<vika_nezrimaya> steeffaan: I hope it does work on the first try
<vika_nezrimaya> except that between two nixos-rebuilds you need to relogin or reboot
<vika_nezrimaya> since the environment variables will be changed the first time you rebuild
<vika_nezrimaya> if you break it, use rollback to restore things
freeman42x[NixOS has quit [Remote host closed the connection]
mac10688 has joined #nixos
<ryantm> vika_nezrimaya: No, `ip link` shows wlp4s0 for 19.03 but nothing for 19.09
_zincy has quit [Remote host closed the connection]
<vika_nezrimaya> Oh wow.
_zincy has joined #nixos
<vika_nezrimaya> Compare output of lsmod on two versions
mmlb has joined #nixos
<vika_nezrimaya> Maybe something's amiss?
<clever> ryantm: `lspci -v` will tell you what driver is using a given card, check that on the working version
<clever> ryantm: then check if that module is present in lsmod when broken, try loading it with modprobe
freeman42x[NixOS has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #67845 → nixos/redis: unbreak module, add test → https://git.io/fjpLz
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/fjpWl
<clever> Kernel driver in use: iwlwifi
Myhlamaeus4 has quit [Ping timeout: 246 seconds]
jgeerds has joined #nixos
knupfer has joined #nixos
<ryantm> Thanks; The working system is using r8822be and the not working system does not show it is using a kernel module at all. running modprobe says it isn't in the directory
<{^_^}> [nixpkgs] @jb55 opened pull request #67891 → clightning: 0.7.1 -> 0.7.2.1 → https://git.io/fjpWi
<Thra11> If I package wacomtablet-kcm (KDE configuration module for wacom graphics tablets), where should I put the package? It looks like it's not one of set of core plasma packages which are packaged automatically via the fetch-kde-qt.sh script, so it looks like it doesn't go in pkgs/desktops/plasma-5. But as a kcm, it is closely tied to the plasma desktop.
Okinan_ has quit [Quit: Konversation terminated!]
chiefgoat has quit [Read error: Connection reset by peer]
chiefgoat has joined #nixos
domogled has joined #nixos
chiefgoat has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
chiefgoat has joined #nixos
<Miyu-chan> Would be nice to have a "read-only" version of NixOps.
<Miyu-chan> I'm guessing that's as simple as pulling out the privkey.
rsoeldner has joined #nixos
<ryantm> I have enableRedistributableFirmware set to true
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #67888 → nixos/deluge: fix directory creation errors → https://git.io/fjpcu
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjpWH
<clever> ryantm: drivers are not part of the firmware, if you go back to the working system, run `modinfo r8822be` and figure out which derivation the file is in
<{^_^}> [nixpkgs] @flokli merged pull request #67848 → google-compute-config.nix: fix comments, update google-*.service units, fix paths in gce → https://git.io/fjpqt
<{^_^}> [nixpkgs] @flokli pushed 7 commits to master: https://git.io/fjpWQ
<{^_^}> [nixpkgs] @jb55 opened pull request #67892 → release-notes: add altcoins removal note → https://git.io/fjpWF
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
<samueldr> ryantm: if I understand right, a 19.03 system works, while 19.09 doesn't, right? both on the same kernel version?
<Miyu-chan> Is there a way to specify mahcine dependencies in NixOps?
<Miyu-chan> Or deployment order.
Okinan has quit [Client Quit]
Okinan has joined #nixos
vika_nezrimaya has quit [Ping timeout: 258 seconds]
<ryantm> samueldr: Right, and no. Working linux: 5.1.5 and not working linux: 5.2.11
feep has joined #nixos
<ryantm> clever: The working driver is part of the linux kernel 5.1.5 derivation
<samueldr> ryantm: can you upgrade the 19.03 machine to 5.2? hopefully without upgrading the firmwares package
<samueldr> or conversely, use the same firmwares package than on the working machine, but with 5.2
<samueldr> there's been a few times in the past months where upstream firmware upgrades broke stuff on different kind of hardware :/
<ryantm> There is only one laptop involved
<ryantm> when I switch generations in the boot loader menu it goes from working to not working
<samueldr> right, I got confused, I thought there were two identical laptops :)
<samueldr> still, the same applies, using 5.2 on 19.03 or downgrading the firmware packages on unstable
<ryantm> Okay. I don't understand the difference between firmware and modules.
Fendor has joined #nixos
<enteee> is the network supposed to work out of the box in a vm built with nixos-rebuild build-vm?
<ryantm> samueldr: Thanks for the advice. I will try it later.
<infinisil> enteee: It won't be any different than the normal nixos-rebuild switch config
<samueldr> ryantm: the drivers will often upload a firmware file to the hardware as it is cheaper than storing them to permanent storage
<samueldr> ryantm: so it's a mess :/
fendor_ has joined #nixos
<samueldr> often firmware files are used for a range of devices
<enteee> infinisil: hmm, the vm starts just fine, dns seems to work as well. but i am not getting any reponse to icmp echo requests.
<samueldr> and sometimes they exhibit bugs :(
<enteee> infinisil: it feels like i need to tweak the firewall on my host somehow..
<samueldr> nixos does have a firewall by default
<samueldr> and no service except ssh will open it as needed, by design
noudle has joined #nixos
iqubic has joined #nixos
tmaekawa has joined #nixos
fendor_ has quit [Ping timeout: 258 seconds]
tmaekawa has quit [Client Quit]
kleisli has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
<enteee> ah, stupid me. Just icmp is not working from within a nixos-rebuild build-vm built vm. tcp / udp seems to be fine.
plp_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
plp_ has joined #nixos
feep has quit [Ping timeout: 244 seconds]
<clever> enteee: thats a limitation of qemu user networking
<clever> ryantm: modules are kernel side code to add features to linux
<clever> ryantm: firmware is device-side code, that some hardware needs to do anything
evanjs has joined #nixos
fusion809 has quit [Remote host closed the connection]
xvello has quit [Ping timeout: 245 seconds]
viric has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
rsoeldner has quit [Ping timeout: 252 seconds]
iqubic` has joined #nixos
iqubic has quit [Read error: Connection reset by peer]
hax404 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @abbradar opened pull request #67893 → nvidia module: set LD_LIBRARY_PATH → https://git.io/fjp8q
elvishjerricco has quit [Ping timeout: 252 seconds]
coot has quit [Ping timeout: 252 seconds]
Wimpress has quit [Ping timeout: 252 seconds]
evanjs has quit [Ping timeout: 245 seconds]
jeregrine has quit [Ping timeout: 252 seconds]
thoradam has quit [Ping timeout: 252 seconds]
jchw has quit [Ping timeout: 252 seconds]
lightbulbjim has quit [Ping timeout: 252 seconds]
uranther has quit [Ping timeout: 250 seconds]
coot has joined #nixos
thoradam has joined #nixos
c00w has quit [Ping timeout: 252 seconds]
elvishjerricco has joined #nixos
Wimpress has joined #nixos
jchw has joined #nixos
dansho has quit [Ping timeout: 258 seconds]
tv has quit [Ping timeout: 245 seconds]
jeregrine has joined #nixos
lightbulbjim has joined #nixos
c00w has joined #nixos
lassulus has quit [Ping timeout: 258 seconds]
uranther has joined #nixos
zimbatm has quit [Ping timeout: 252 seconds]
georgyo_ has quit [Ping timeout: 250 seconds]
aria has quit [Ping timeout: 252 seconds]
sgraf has quit [Ping timeout: 252 seconds]
eddyb has quit [Ping timeout: 250 seconds]
dongcarl has quit [Ping timeout: 252 seconds]
nand0p_ has quit [Ping timeout: 250 seconds]
sgraf has joined #nixos
aria has joined #nixos
georgyo_ has joined #nixos
eddyb has joined #nixos
zimbatm has joined #nixos
nand0p_ has joined #nixos
dongcarl has joined #nixos
shibboleth has quit [Quit: shibboleth]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjp8W
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marzipankaiser opened pull request #67894 → caffeine-ng: use python3.6 → https://git.io/fjp88
polman has joined #nixos
steeffaan has quit [Remote host closed the connection]
DariusTh` has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Baughn closed pull request #61543 → adom: Rewrite derivation, add ascii-only variant → https://git.io/fjlE2
iqubic` has quit [Remote host closed the connection]
Fendor has quit [Ping timeout: 245 seconds]
iqubic` has joined #nixos
DariusTh` has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 7 commits to master: https://git.io/fjp86
<{^_^}> [nixpkgs] @adisbladis pushed to master « emacs-packages: Drop remnants of manually created packages »: https://git.io/fjp8P
iqubic` has quit [Remote host closed the connection]
iqubic` has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
kleisli_ has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
Ariakenom_ has joined #nixos
DariusTh` has quit [Ping timeout: 258 seconds]
v88m has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #67895 → sd-image: don't use installer.cloneConfig option that is not imported → https://git.io/fjp8S
Ariakenom has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #67896 → h11: add pytest5 compatability → https://git.io/fjp89
<simpson> clever: For something the size of a Beaglebone, would you recommend not-os or NixOS? Also, is there a more specific channel for embedded discussion?
<{^_^}> [nixpkgs] @Ma27 merged pull request #67879 → lolcat: 99.9.99 -> 100.0.0 → https://git.io/fjpZC
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjp8F
tjg1 has quit [Quit: if i commit suicide, at least a real nigga killed me]
<samueldr> simpson: for SBC-like embedded, #nixos-aarch64 is the location, even if it's 32 bit ARM
<samueldr> (though here would be fine too)
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjp8A
<{^_^}> [nixpkgs] @adisbladis merged pull request #64595 → tacacs+: init 4.0.4.28 → https://git.io/fjPWY
<samueldr> simpson: I guess that for SBCs, it doesn't matter _that_ much, though I guess it depends on whether you want a general purpose linux image or a "hand-crafted" system
tjg1 has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> I think I should be able to use nix-env to install something based on a remote git path
<fresheyeball> trying to figure out the incantation
iqubic` has quit [Remote host closed the connection]
<fresheyeball> nix-env -iA "<foo>" -I foo=https://git/foo.git
<fresheyeball> does not work for some reason
<{^_^}> [nixpkgs] @Ma27 merged pull request #67877 → nixos/prometheus-exporters: fix user generation → https://git.io/fjpGA
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjp4f
iqubic` has joined #nixos
kleisli__ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<clever> simpson: not-os currently lacks any kind of nixos-rebuild style command, so you have to reflash the boot media, and reboot, any time you want to change things
iqubic`` has joined #nixos
<clever> simpson: so it depends on if you want it as a general purpose system, or a specialized system that just does 1 thing and never changes
vika_nezrimaya has joined #nixos
kleisli_ has quit [Ping timeout: 258 seconds]
<infinisil> clever: I just recently learned that the scales (like for measuring weights) in our local supermarkets run Windows!
shibboleth has joined #nixos
<infinisil> Like holy shit, running Windows for adding some numbers together and printing a label? Holy moly
<clever> infinisil: overkill much? :P
<simpson> clever, samueldr: Okay, that makes sense. I'm a little torn TBH. I know that the biggest advantage of pre-baking is getting to use a relatively-beefy workstation for building, rather than e.g. a Raspberry Pi. At the same time, I *would* like the Raspbian-like ability to write to the SD card, even if it's excruciating.
<infinisil> A unikernel-like thing would be so much better
<clever> infinisil: i would do something like that with either haskell-init, or a bare unikernel
<infinisil> Yeah
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #67827 → Add FPGA tools nMigen and Glasgow → https://git.io/fjp4L
iqubic` has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed 8 commits to master: https://git.io/fjp4t
<infinisil> And they need to pay for the Windows license for the scale too lol
<aanderse> where is the documentation explaining 'placeholder "out"'
<clever> simpson: ive not had much sucess yet with cross-compiling not-os, but it should be possible
<aanderse> i don't see it in nixpkgs manual...
<infinisil> aanderse: It's a Nix feature, so I'd look there
<clever> simpson: so i currently have a netboot not-os image, that i use to turn rpi's into build slaves
<aanderse> ahhh, that makes sense
<aanderse> thanks infinisil :)
<samueldr> aanderse: nix manual
<aanderse> nix manual... nixpkgs manual... nixos manuall... nixops manual... hard to keep straight some days :p
<samueldr> home-manager manual
<clever> nix-darwin manual
<samueldr> ♥
<samueldr> though, aanderse, I see it doesn't _explain_ how it works
<enteee> could somebody have a quick look at the tiny pr: https://github.com/NixOS/nixpkgs/pull/67825 , would be nice if we could make screen locking work again ;)
<{^_^}> #67825 (by Enteee, 1 day ago, open): i3lock-fancy: Bugfix, make scrot overwrite file
<simpson> clever: I have a few RPis, a couple Beagles/Bones, a few "pogoplug" set-top boxes that probably can boot from SD card given the right incentive, a few experimental ARM netbooks, etc.
<aanderse> samueldr: yeah... i was going to quote the explanation in a PR
<aanderse> but... not much to quote
<samueldr> it's not even part of the manual per se, but part of the release notes
<aanderse> :p
<clever> simpson: have you seen how the hydra auto-scale stuff works?
<infinisil> aanderse: samueldr: Unfortunately the manual isn't very explicit, but often commits themselves are where you can find documentation on features: https://github.com/NixOS/nix/commit/22d6e31fc6a9de2ee424984e629ccd2e394ba512#diff-169b8f6a99e8c50e9e5468f9f144015eR676
<enteee> clever: good to know. thank you for the info
<simpson> clever: I don't really want to run a Hydra. I'm content to have to initiate a build manually from one node, and then copy the share elsewhere.
<samueldr> aanderse: "in a derivation attribute" is an important distinction
<simpson> Ah, provisioning from the cloud. Nifty.
<clever> simpson: hydra can take a list of files, that behave the same as /etc/nix/machines
<clever> simpson: and hydra-provisioner just edits a secondary file, not managed by nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « nextpnr: restrict to Linux only »: https://git.io/fjp4m
<clever> simpson: ive had plans before, on making a custom daemon, that will listen for beacons from netbooting build slaves, and dynamically add them to such a file
<clever> and if the machine stops sending beacons, remove it from the pool
<clever> then you just need to advertise your arch and core-count over a udp broadcast packet, at regular intervals
<simpson> clever: Sure. I've already picked out a daemon for doing part of that: https://www.open-mesh.org/projects/alfred/wiki
<{^_^}> [nixpkgs] @jchv opened pull request #67897 → wlrobs: init at tip → https://git.io/fjp4G
<clever> simpson: avahi could also be used to do it
Palpares has quit [Ping timeout: 260 seconds]
iqubic``` has joined #nixos
<simpson> clever: Right! So I've been thinking about that. The open-mesh docs say that batman-adv can host avahi without difficulty. I'm a little surprised at that. Still, IP addresses *are* kind of important for most userland networking!
<aanderse> if anyone has a moment can they take a look at this PR please? https://github.com/NixOS/nixpkgs/pull/61203
<{^_^}> #61203 (by dtzWill, 16 weeks ago, open): certbot: 0.31.0 -> ... -> 0.35.0
Palpares has joined #nixos
iqubic``` has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Ma27 opened pull request #67899 → zsh-you-should-use: 1.1.0 -> 1.4.0 → https://git.io/fjp4W
iqubic`` has quit [Ping timeout: 264 seconds]
_zincy has quit [Ping timeout: 252 seconds]
Myhlamaeus4 has joined #nixos
hamishmack has joined #nixos
xkapastel has joined #nixos
selfsymmetric-pa has joined #nixos
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
Soo_Slow has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
DariusTh` has joined #nixos
tokudan has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Fendor has joined #nixos
jgeerds has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #67900 → materia-theme: 20190315 -> 20190831 → https://git.io/fjp4X
fresheyeball has quit [Quit: WeeChat 2.4]
hamishma_ has joined #nixos
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @averelld opened pull request #67901 → netatalk: fix build → https://git.io/fjp41
npmccallum has joined #nixos
hamishmack has joined #nixos
hamishma_ has quit [Quit: Textual IRC Client: www.textualapp.com]
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #67892 → release-notes: add altcoins removal note → https://git.io/fjpWF
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjp4M
<{^_^}> [nixpkgs] @lopsided98 opened pull request #67902 → raspberrypi-bootloader: support new firmware partition concept → https://git.io/fjp49
hax404 has joined #nixos
<inkbottle> When you do your install as in the manual, do you end up with a desktop environment, or *not at all*? (https://nixos.org/nixos/manual/index.html#sec-installation-installing)
rsoeldner has quit [Ping timeout: 252 seconds]
evanjs has joined #nixos
thblt has joined #nixos
<freeman42x[NixOS> I see that the game 0ad is in nixpkgs https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/0ad but when I search for it I can not find it
<freeman42x[NixOS> how can I install it?
<immae> freeman42x[NixOS: zeroad
<thblt> I’m patching xkeyboard-config to update my keyboard layout, like this https://github.com/thblt/nixos-config/blob/master/bepo-afnor.nix (with code borrowed from https://stesie.github.io/2018/09/nixos-custom-keyboard-layout-revisited). As you can see, it defines a new package, xkeyboardconfig_thblt, and replaces xkeyboardconfig with it. Wouldn’t it be cleaner to just patch xkeyboardconfig in place, and if so, how
<thblt> could I do it?
<thblt> Thanks :)
<thblt> (don’t mind the actual patch, it could be vastly improved but that’s not the issue here)
<samueldr> inkbottle: if your configuration.nix looks like the one in Example 2.4, it's normal not to have a desktop environment configured
<samueldr> and relatedly, https://nixos.org/nixos/options.html#services.xserver
o1lo01ol1o has joined #nixos
<evanjs> freeman42x[NixOS: was going to mention the packages search, but it’s zeroad there, too. Out of curiosity, how were you “searching” for it? `nix-env -qa`? `nix search`?
oborot has joined #nixos
<thblt> Filtering by channel, is that new? It’s cool anyway.
<adisbladis> thblt: It _is_ new :)
<adisbladis> Also the permalinks are new too
<symphorien> it seems that unfree packages are listed ?
<evanjs> yah, thank samueldr for that I believe
<adisbladis> Yeah
<samueldr> yeah, got merged the past week
<adisbladis> Totally an awesome change
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<evanjs> Btw, samueldr, I thought unfree visibility was still a WIP?
<samueldr> it is, as far as the explorer is concerned
<samueldr> it's, uh, complicated why they do show up
<thblt> Is there work on adding the missing collections to the list, like nodePackages and probably others?
<inkbottle> samueldr: thanks
<thblt> I have no idea how hard that would be, but it would be nice.
<samueldr> thblt: the main issue with that is the size of the index
<freeman42x[NixOS> immae, evanjs thanks guys immae++ evanjs++
<{^_^}> evanjs's karma got increased to 2, immae's karma got increased to 5
<samueldr> that's because of how the explorer works; it dumps all packages
<thblt> samueldr: I see. Maybe packages without a binary would deserve a separate listing.
<samueldr> dumps all packages into one file, that is used client-side
<symphorien> in any case, samueldr++
<evanjs> But I can see everything. Like JetBrains and etc. wasn’t that hidden before?
<{^_^}> samueldr's karma got increased to 113
<thblt> Or just a few more filtersQ
<thblt> ?
<thblt> But again, I’m not working on this, so I’m not complaining :)
<samueldr> yeah, something *could* be done, though it's not an easy answer :)
<samueldr> luckily, it was an orthogonal issue to rewriting the explorer as it uses the exact same data set
<adisbladis> Tbh anything in nodePackages you care about should probably have an alias in all-packages.nix
<samueldr> I tend to agree here
fendor_ has joined #nixos
<samueldr> what can we do to improve that situation, adisbladis?
<thblt> adisbladis: for some value of “care” (= provide a binary), I agree
<adisbladis> thblt: Yeah, exactly what I mean
<adisbladis> samueldr: I'm not sure..
<samueldr> :)
o1lo01ol1o has joined #nixos
<samueldr> I don't know that there are any issues, my guess it that no one did it
<thblt> IIUC, the nix source of the derivation itself is not enough to determine if something provides an executable, right?
evanjs has quit [Ping timeout: 245 seconds]
<samueldr> it would need to be available at eval time
<samueldr> while it's only known after it built
<samueldr> I *guess* it could be done in an automated way, to dump a list of inherits
<samueldr> (at the cost of building/getting the node packages set)
<{^_^}> [nixpkgs] @adisbladis merged pull request #67872 → minio-client: remove go 1.10 override → https://git.io/fjpsm
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjpBk
hmpffff has quit [Quit: nchrrrr…]
evanjs has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 245 seconds]
freeman42x[NixOS has joined #nixos
akamaus has quit [Remote host closed the connection]
<evanjs> samueldr: My point of confusion was this PR and the current state of the package explorer -- https://github.com/NixOS/nixos-homepage/pull/300 -- It looks like this PR allows us to search for unfree packages, but when I try to search for unfree packages on the website, I can do so just fine. Am I misreading / misunderstanding things?
<{^_^}> nixos-homepage#300 (by samueldr, 3 days ago, open): [WIP] Adds unfree software (hidden by default
<samueldr> evanjs: yeah, an existing issue with the way the packages set is built caused it to show up already
<samueldr> evanjs: before my changes were merged
<samueldr> s/the packages set/the index/
<samueldr> I don't know exactly since when though
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @sigma opened pull request #67904 → govc: 0.20.0 -> 0.21.0 → https://git.io/fjpBm
<evanjs> samueldr: Ohhhhh okay. Ahhhhh re-reading what you said before, I understand what you were saying. Either way, fine for me (yay jetbrains). I guess I didn't realize it was working before your changes were merged. I always thought it didn't
<samueldr> that's mostly it, you weren't searching for unfree the last few times, since you knew it shouldn't be there :)
asymptotically has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 246 seconds]
<evanjs> samueldr: Pfft well I remember being confused about jetbrains stuff at first, at any rate :P When I first started using nixpkgs I think stuff beyond the top level packages (e.g. jetbrains vs jetbrains.clion) was a bit beyond me.
<joepie91> is it just me, or is OpenAL under WINE just totally broken?
Ariakenom_ has quit [Read error: Connection reset by peer]
growpotkin has joined #nixos
<joepie91> (yes, I've turned on all the 32-bit thingems)
<freeman42x[NixOS> which is the simplest way to mount an ISO on NixOS?
<rnhmjoj> freeman42x[NixOS: `sudo mount -o loop ./file.iso /mnt/iso/`
<evanjs> kpartx is another option, though I think the use cases I'm recalling were a bit more complex
<freeman42x[NixOS> rnhmjoj, I get: "mount: /mnt/iso/: mount point does not exist."
<rnhmjoj> freeman42x[NixOS: you should create a directory with mkdir, /mnt/ is usually the place for temporary mount points
<evanjs> Unless you use automount stuff which like /run and friends. e.g. Normal behavior on Ubuntu, etc
<freeman42x[NixOS> rnhmjoj, there is not /mnt/ either
Fare has joined #nixos
<Miyu-chan> This shouldn't be a surprise, but NixOps ssh works on different architectures. :o
<rnhmjoj> freeman42x[NixOS: well, you can make that too, though you don't really need /mnt, you can just you the current directory, like ./iso
tv has joined #nixos
lassulus has joined #nixos
kleisli__ has quit [Ping timeout: 250 seconds]
<evanjs> Digging into my python packaging problem a bit more. It looks like it's trying to add stuff to __pycache__ (presumably related to #22570, etc?). Not entirely sure what I'm supposed to do, assuming the program needs the pyc files
boxscape has joined #nixos
<{^_^}> https://github.com/NixOS/nixpkgs/issues/22570 (by FRidh, 2 years ago, open): Python: determinism of the interpreters and bytecode (pyc) files
<evanjs> (Python3.7)
freeman42x[NixOS has quit [Ping timeout: 246 seconds]
__monty__ has quit [Quit: leaving]
o1lo01ol1o has joined #nixos
Fare has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #67905 → pgformatter: init at 4.0 → https://git.io/fjpBM
thblt has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<{^_^}> [nixpkgs] @Ma27 merged pull request #67904 → govc: 0.20.0 -> 0.21.0 → https://git.io/fjpBm
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjpBy
<{^_^}> [nixpkgs] @adisbladis merged pull request #67355 → nixos/desktop-managers/xterm: Disable by default → https://git.io/fjNa5
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjpB9
kleisli__ has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<evanjs> Trying to generate the cython files during postBuild as a few packages seem to do but no luck so far
Fare has joined #nixos
DariusTh` has quit [Ping timeout: 245 seconds]
<evanjs> Closest comment I could find on GH was timokau[m] also asking when this happens :/ https://github.com/NixOS/nixpkgs/pull/53816#issuecomment-454567895
<{^_^}> [nixpkgs] @ashkitten opened pull request #67906 → nut: specify openssl 1.0.2 → https://git.io/fjpRe
reallymemorable has joined #nixos
Fare has quit [Ping timeout: 244 seconds]
rsoeldner has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @marsam opened pull request #67907 → postgresqlPackages.postgis: 2.5.2 -> 2.5.3 → https://git.io/fjpRv
<{^_^}> [nixpkgs] @rkoe opened pull request #67908 → litmus: init at 0.13 → https://git.io/fjpRU
fresheyeball has joined #nixos
<fresheyeball> grr I can't get selenium test going in nix-build
<fresheyeball> nix-shell is no problem
<fresheyeball> anyone have a working example out there?
<fresheyeball> I want to use google-chrome --headless
<samueldr> fresheyeball: was that in a `--pure` nix-shell? it's not as pure as the build sandbox, but a bit cleaner
<{^_^}> [nixpkgs] @marsam opened pull request #67909 → postgresqlPackages.pg_cron: 1.1.4 -> 1.2.0 → https://git.io/fjpR3
<fresheyeball> samueldr: let me try that
<samueldr> and can you share the failure?
<samueldr> (gist, or pastebin or wherever you prefer)
tertl3_ has joined #nixos
<fresheyeball> samueldr: works in nix-shell --pure
fendor_ has quit [Ping timeout: 258 seconds]
<Miyu-chan> WAIT;2uWHAT
<Miyu-chan> Why wasn't I informed that there's a NixOps TRAMP?
<Miyu-chan> ???
<samueldr> fresheyeball: hmm, I wonder if there's a way to ask for a more verbose output
<samueldr> >> unknown error: unknown error: Chrome failed to start: crashed
<samueldr> that's not much to go on
<fresheyeball> I know
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c2fc61c5f70 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<samueldr> you could try, in the nix-shell, to clear the environment... I don't know how it's started, but assuming it's with the command `selenium`, `env -i selenium` will clear the environment before starting selenium
<samueldr> you could add what is needed bit by bit until it works, `env -i VAR="$VAR" [...] selenium`
<samueldr> if it's not _because_ of the sandbox that chrome doesn't start, but because of a lacking environment
<samueldr> just a hunch, but in the derivation, try setting mkdir -p home; HOME=$PWD/home selenium
<samueldr> in case it's because chromium can't write to a $HOME
Fare has joined #nixos
rsoeldner has quit [Ping timeout: 252 seconds]
<fresheyeball> samueldr: I would not have thought of that
<samueldr> that's a wild guess though
<fresheyeball> didn't work
ent has quit [Ping timeout: 245 seconds]
ent has joined #nixos
polman has quit [Ping timeout: 245 seconds]
lejonet has quit [Ping timeout: 245 seconds]
polman has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
felixfoertsch has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
alanz has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
levdub has quit [Quit: ZNC - https://znc.in]
lejonet has joined #nixos
nikivi has joined #nixos
levdub has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
alanz has joined #nixos
alanz has quit [Client Quit]
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
alanz has joined #nixos
o1lo01ol1o has joined #nixos
Fluffy[m] has quit [Ping timeout: 248 seconds]
ozychhi has joined #nixos
AluisioASG has joined #nixos
mac10688 has quit [Quit: WeeChat 2.4]
Fluffy[m] has joined #nixos
abbradar has quit [Ping timeout: 248 seconds]
attente[m] has quit [Ping timeout: 248 seconds]
mac10688 has joined #nixos
rsoeldner has joined #nixos
bpye has quit [Ping timeout: 248 seconds]
esclear has quit [Ping timeout: 252 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
esclear has joined #nixos
abbradar has joined #nixos
bpye has joined #nixos
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
Miyu-chan has quit [Quit: WeeChat 2.4]
Miyu-saki has joined #nixos
alj[m] has quit [Ping timeout: 248 seconds]
<fresheyeball> is there a cli way I can pass a custom substitutor and the trusted key?
polman has quit [Ping timeout: 245 seconds]
AluisioASG has joined #nixos
globin has quit [Ping timeout: 252 seconds]
divansantana has quit [Ping timeout: 252 seconds]
polman has joined #nixos
globin has joined #nixos
divansantana has joined #nixos
attente[m] has joined #nixos
atopuzov[m] has quit [Ping timeout: 252 seconds]
atopuzov[m] has joined #nixos
DariusTh` has joined #nixos
polman has quit [Ping timeout: 245 seconds]
rsoeldner has quit [Ping timeout: 244 seconds]
polman has joined #nixos
alj[m] has joined #nixos
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67522 → Harmonize Gnome3 Defaults → https://git.io/fjAwJ
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/fjpRy
Diamaths[m] has quit [Ping timeout: 252 seconds]
kleisli__ has quit [Ping timeout: 250 seconds]
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
Phillemann has quit [Ping timeout: 252 seconds]
Phillemann has joined #nixos
AluisioASG has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
laas has quit [Ping timeout: 252 seconds]
Ashy has quit [Ping timeout: 252 seconds]
<mdash> very surprised to learn that `nixos-rebuild` doesn't take --arg
Ashy has joined #nixos
<mdash> wondering if that's intentional or if a patch for it would be accepted
laas has joined #nixos
jonge[m] has quit [Read error: Connection timed out]
<evanjs> Isn’t the purpose of rebuild to go purely off the system configuration, though?
jonge[m] has joined #nixos
DanP[m] has quit [Read error: Connection timed out]
Fluffy[m] has quit [Ping timeout: 252 seconds]
tyx2q[m] has quit [Ping timeout: 252 seconds]
AluisioASG has quit [Client Quit]
DanP[m] has joined #nixos
icetan has quit [Ping timeout: 252 seconds]
mkoenig has joined #nixos
<emily> it supports -I
Lem_ has quit [Ping timeout: 252 seconds]
<mdash> emily: Hmm. Trying to think how that would help
domenkozar[m] has quit [Ping timeout: 252 seconds]
<evanjs> emily: Right I think mdash was referring to --arg and --argstr that many other nix commands have
<emily> that was re evanjs rather than mdash
<mdash> emily: Oh, I see what you mean.
<emily> as in, -I overrides your configuration's nix path anyway, so I don't see how --arg would be much different
Fare has quit [Ping timeout: 258 seconds]
<emily> (IOW, I'm as surprised as you)
Lem_ has joined #nixos
philr has joined #nixos
<mdash> evanjs: My goal is to pass in deployment secrets loaded from my password manager.
icetan has joined #nixos
<mdash> But I felt like it was needlessly complicated. But then I wasn't aware of this current limitation.
haslersn has quit [Ping timeout: 252 seconds]
<evanjs> infinisil has something like that but I don’t think the generation bit is public atm
polman has quit [Ping timeout: 245 seconds]
Diamaths[m] has joined #nixos
nwspk has quit [Read error: Connection timed out]
cyberwolf[m] has quit [Ping timeout: 252 seconds]
kxlljoyy[m] has quit [Ping timeout: 252 seconds]
civodul has quit [Remote host closed the connection]
MilkManzJourDadd has quit [Read error: Connection timed out]
npmccallum has joined #nixos
aterius has quit [Ping timeout: 252 seconds]
Woland[m] has quit [Ping timeout: 252 seconds]
Fluffy[m] has joined #nixos
<mdash> evanjs: Right, looks like he keeps them in a separate git repo as a submodule: https://github.com/Infinisil/system
nwspk has joined #nixos
Fendor has quit [Read error: Connection reset by peer]
yangm has quit [Ping timeout: 252 seconds]
infinisil-m has quit [Ping timeout: 252 seconds]
domenkozar[m] has joined #nixos
<evanjs> yeah I have basically the same thing setup but it’s all just statically defined in nix files atm because I don’t have the pass -> nix thing set up
MilkManzJourDadd has joined #nixos
tyx2q[m] has joined #nixos
Woland[m] has joined #nixos
Nyanloutre[m] has quit [Ping timeout: 252 seconds]
bachp has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
reallymemorable has quit [Quit: reallymemorable]
bachp has joined #nixos
kxlljoyy[m] has joined #nixos
sphalerit has quit [Ping timeout: 252 seconds]
<mdash> evanjs: Right, that's where I'm at, just an /etc/nixos/secrets.nix per host.
aterius has joined #nixos
haslersn has joined #nixos
infinisil-m has joined #nixos
sphalerit has joined #nixos
chloekek has quit [Ping timeout: 245 seconds]
polman has joined #nixos
rnhmjoj has quit [Ping timeout: 252 seconds]
hr[m] has quit [Read error: Connection timed out]
AluisioASG has joined #nixos
Levinic has joined #nixos
hr[m] has joined #nixos
noudle has quit []
Fare has joined #nixos
foldingcookie has joined #nixos
freeman42x[NixOS has joined #nixos
yangm has joined #nixos
Nyanloutre[m] has joined #nixos
<evanjs> *bangs head against wall* is there a list of things to check when packaging python packages in Nix when the app can't find it's own dependencies?
<{^_^}> [nixpkgs] @cdepillabout opened pull request #67910 → Re-enable servant-rawm → https://git.io/fjp0I
<mdash> evanjs: typically i've used pypi2nix
polman has quit [Ping timeout: 245 seconds]
cyberwolf[m] has joined #nixos
<evanjs> mdash: for pure python projects or is it fine for other build systems, too? Meson+Ninja in this case
<mdash> I haven't tried that case. is the code public?
<foldingcookie> how do I build a package with the 4.08 ocamlPackages? I get "attribute 'ocamlPackages_4_08' missing" when I reference 'pkgs.ocamlPackages_4_08'
y0x3y[m] has quit [Ping timeout: 252 seconds]
polman has joined #nixos
<evanjs> mdash: Everything seems to work fine with just wrapGApps and buildPythonPackage but when trying to run, it can't find it's own library which is definitely there in $out/lib/python3.7/site-packages/polychromatic
<foldingcookie> ('pkgs.ocamlPackages' works, giving v4.06... but 'pkgs.ocamlPackages_4_06' is also a missing attr)
<evanjs> mdash: It also needs openrazer which is not yet available (#64552)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64552 (by evanjs, 7 weeks ago, open): openrazer: init at 2.6.0
<foldingcookie> ah... it seems it's 'pkgs.ocaml-ng.ocamlPackages_4_08'
<foldingcookie> how can I predict these dot-paths?
<mdash> evanjs: yeah ok, no requirements.txt so pypi2nix not particularly helpful
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
<emily> foldingcookie: the best kind of prediction is grepping the nixpkgs source tree, in my experience
rsoeldner has quit [Remote host closed the connection]
AluisioASG has joined #nixos
rsoeldner has joined #nixos
<evanjs> emily: *ripgrepping :P -- but yes, definitely this.
<foldingcookie> hmmm, ok
<fresheyeball> I cannot get my selenium tests to run in a nix-build
<foldingcookie> I've been trying to live my life without a copy of the nixpkgs source tree
<foldingcookie> maybe that isn't a practical workflow
<fresheyeball> does anyone have an example of that working?
<mdash> foldingcookie: you've got one
<foldingcookie> oh?
<mdash> foldingcookie: look in /nix/var/nix/profiles/per-user/root/channels/
rnhmjoj has joined #nixos
<mdash> might be a different user if you're not on nixos
<mdash> nix-index/nix-locate is also real helpful
<foldingcookie> I'm on nixos, thanks
<emily> foldingcookie: I keep nixpkgs=/home/emily/path/to/checkout in my NIX_PATH, it's really handy. tbh I don't even use "nix search", just rg
y0x3y[m] has joined #nixos
<mdash> wondering now if there's a good way to deploy local patches to nixos-rebuild...
<evanjs> mdash: Aside from an overlay, or?
<mdash> evanjs: not sure how an overlay helps?
<mdash> I mean, what can you do in an overlay that you can't do otherwise
<emily> perhaps the real question is, local patches to what?
<evanjs> mdash: ^ what emily said
<emily> I assumed nixpkgs in which case overlays are a pretty good option
<mdash> the `nixos-rebuild` shell script
<emily> ohh
<emily> it's pretty small; probably easiest to just make your own version of it and track it in git with your configurations
<emily> `nix build -f '<nixpkgs/nixos>' system && result/activate` gets you a good 60% of its functionality
<mdash> emily: Likely. But I get nervous about not tracking with upstream.
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
kleisli__ has joined #nixos
AluisioASG has joined #nixos
<mdash> Hm. I guess I can just copy the expr in tools.nix and not the template in nixos-rebuild.sh
alex`` has quit [Ping timeout: 245 seconds]
AluisioASG has quit [Client Quit]
reallymemorable has joined #nixos
polman has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #67911 → nfpm: 0.12.0 -> 0.13.0 → https://git.io/fjp0s
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
AluisioASG has joined #nixos
arturo[m] has quit [Ping timeout: 252 seconds]
arturo[m] has joined #nixos
npmccallum has quit [Ping timeout: 245 seconds]
npmccallum_ has joined #nixos
npmccallum_ is now known as npmccallum
<evanjs> Starting to wonder if the python issue I'm having is actually related to packaging... Looks like there are several hardcoded paths in some of the py files... (e.g. /usr/share)
<evanjs> Is there a helper funtion like patchShebangs but for random paths throughout files?
<{^_^}> [nixpkgs] @marsam opened pull request #67912 → sbcl: 1.5.3 -> 1.5.6 → https://git.io/fjp00
<emily> substituteInPlace
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
<evanjs> Figured as much
<evanjs> Wasn't sure if there was a "do it for me" kind of option
<emily> substituteInPlace file --replace from to --replace from to ...
<emily> unfortunately it requires human expertise to know exactly how paths should be patched
<emily> since, e.g., /usr/share/somepkg should be ${somepkg}/share/somepkg
<evanjs> Right right. Not a big deal, just trying to be as lazy--errr efficient as possible
AluisioASG has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
AluisioASG has quit [Client Quit]
<emily> Nix is a lazy language, it's not a dirty word here :3
inkbottle has quit [Ping timeout: 246 seconds]
inkbottle has joined #nixos
Myhlamaeus4 has quit [Ping timeout: 246 seconds]
AluisioASG has joined #nixos
Levinic has left #nixos [#nixos]