<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.
<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
<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 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] @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>
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 ...
<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'
<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?
<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
<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
<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
<{^_^}>
[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
<{^_^}>
[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)"
<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?
<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
<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?
<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
<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.
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]
<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
<{^_^}>
[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
<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
<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
<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] @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
<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?
<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]
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
<{^_^}>
#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?
<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
<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
<{^_^}>
[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!
<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`?
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
<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
<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]
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?
<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'
<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)
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?