maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
pxc has quit [Ping timeout: 252 seconds]
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
ottidmes has quit [Ping timeout: 252 seconds]
steshaw has joined #nixos
aleph- has joined #nixos
<yl[m]>
Say I have an overlay that adds a new package `self: super: { somePackage = { ... } }` and I'd like to assert that `self` does not have `somePackage` before adding it so later on I won't forget to remove it once the PR is merged upstream, how can I assert it? Here's my try https://gist.github.com/kalbasit/9764f14c43ade1997cd4dfc7c21d625d
<yl[m]>
clever: is there a way to assert that a function does not take an argument? I have a patch upstream that allows neovim to be built with nodejs so I want to assert that neovim does not accept `withNodeJs` as an argument
disasm has joined #nixos
<clever>
> builtins.functionArgs ({ a, b?"default" }: a)
<{^_^}>
{ a = false; b = true; }
<clever>
yl[m]: you should be able to combine that with an assert to get what you want
<yl[m]>
oh nice
<yl[m]>
thx
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<yl[m]>
clever: `assert ((builtins.functionArgs importPinned.neovim) ? "withNodeJs")` it errors out saying neovim is not a function
<yl[m]>
probably have to import the neovim file without calling it?
<magic_ninja>
Would nixos be a well suited distro for an embedded system?
<catern>
yes, nixos would allow you to reproducibly build a minimal, static image for your embedded system
<catern>
Unode: that doesn't seem to help
<Unode>
catern: % command -vp time
<Unode>
/run/current-system/sw/bin/time
<catern>
Unode: I get just "time" - though I just realized I don't have time installed
<catern>
also the description of -p sounds very much not what I want: -p use a default value for PATH that is guaranteed to find all of the standard utilities
<comozo>
and I'm having an issue when I run nixops deploy -d trivial
<comozo>
copying path '/nix/store/fpffgjw3bvwba6kf3adwnmqlny6i49ps-append-initrd-secrets' from 'ssh://root@192.168.59.105'...
<comozo>
error: cannot add path '/nix/store/fpffgjw3bvwba6kf3adwnmqlny6i49ps-append-initrd-secrets' because it lacks a hash
<comozo>
builder for '/nix/store/l3awjif9sgvyml3qjkinpj3aqsx4yvn6-append-initrd-secrets.drv' failed with exit code 1
<comozo>
cannot build derivation '/nix/store/4j6xsxxvms7bmv3ir855y3fyyd0p0lnc-nixos-system-webserver-19.03pre155767.8070a6333f3.drv': 1 dependencies couldn't be built
<comozo>
cannot build derivation '/nix/store/in1qr71h1s1y6mjn1fz31c8fbjwcsszj-nixops-machines.drv': 1 dependencies couldn't be built
<comozo>
error: build of '/nix/store/in1qr71h1s1y6mjn1fz31c8fbjwcsszj-nixops-machines.drv' failed
lostman has joined #nixos
<lostman>
hi folks. is there a way to specify values of `--arg` parameters somewhere locally? that is, if I have `default.nix` that expects a boolean arg `foo`, can I specify `foo = true` in some local file make `nix-shell` or `nix-build` use it as default?
<magic_ninja>
catern, thanks, that is primarily what I'm interested in. I've been following nixos for a while but I have not had an excuse to use it. Is there any better documentation on making your own images other than the little bit that is in the wikki?
sb0 has joined #nixos
av4h has joined #nixos
slack1256 has quit [Ping timeout: 264 seconds]
slack1256 has joined #nixos
<catern>
magic_ninja: hmm, I don't know much, but I think clever could point you in the right direction, that sounds like the kind of thing he knows :)
sg2002 has quit [Ping timeout: 252 seconds]
<catern>
maybe also relevant is NixWRT? I'm sure that has some examples, though it might be too deep for someone relatively new to Nix
<cocreature>
is there anything special that I need to do to enable kde connect? I added kdeconnect to systemPackages but the settings still don’t appear
notedge has joined #nixos
<cocreature>
ah just needed to enable some ports in the firewall
<cdepillabout>
lewo, So this is for work. We are writing software that has a feature where it can download stuff for the user (similar to something like git).
<cdepillabout>
The tests for that package actually do download something from a known-good URL.
<cdepillabout>
We want to run those tests when running nix-build.
<{^_^}>
[nixpkgs] @srhb merged pull request #49879 → Add plugins I use on daily basis → https://git.io/fpUzy
<lewo>
so, in this case, your test should be able to use a local file instead of downloading it. You could then write a fixed output derivation to download this file, and your test could then use it.
<lewo>
cdepillabout: moreover, as a user, once I have built something, I want to be able to rebuild this thing without having to rely on internet (the binary cache has to be sufficient)
<cdepillabout>
lewo, In general I completely agree with you. For most software in nixpkgs, I definitely wouldn't want it accessing the web when building. However, for this private project, we would like tests to be able to access the internet.
<cdepillabout>
Being able to download something is a key functionality of our project, and we would like to test that when running nix-build.
<lewo>
cdepillabout: so, you could not start a web server in the test phase?
<cdepillabout>
lewo, I think that might be a possibility. I'm guessing in that case there would be no problem with accessing the webserver from my tests?
<lewo>
cdepillabout: I think you just have to be sure to choose a free port to run your webserver
<lewo>
cdepillabout: but there is also a hack: you could write a dummy fixed output derivation by hashing a string you create... grep outputHash in the nix manual. But it's really ugly.
<cdepillabout>
lewo, good call. I guess if I ever really want to fix this problem I'll have to go with this solution. Right now we just disable the tests when building with nix-build.
<CapsLock>
Hi, is there a way to prevent dbus/gnome to crash on configuration rebuild ? :)
<CapsLock>
(crash or restart)
periklis has joined #nixos
mmercier has joined #nixos
<chrisaw>
Hey folks, I've got a quick problem. I'm trying to override an ExecStart option but when I use: "systemd.services.ddclient.serviceConfig.ExecStart =" it seems to just add my ExecStart line to the service config instead of overwriting it - how can I fix this?
<chrisaw>
I'm sure I've done this before and it was ridiculously simple - just can't remember what the answer was. :|
<srhb>
chrisaw: mkForce probably
<Lisanna>
chrisaw mkForce
<Lisanna>
(I think)
<Lisanna>
the nixos module system is merging your attr with the existing attr definition
<chrisaw>
Yep, that was it! Thanks! :D
<chrisaw>
Knew it was something simple - just couldn't remember what!
<chrisaw>
Is anyone using ddclient on unstable branch? I'm having troubles with its usage of "DynamicUser" - it seems to setup the environment in a way where the DynamicUser created doesn't have access to its config file. :|
<avn>
CapsLock: dbus itself shouldn't crash on switch
<CapsLock>
avn: on a regular basis when i rebuild the config, gnome3 cashes and I get GDM login screen, after logging in, it returns to login screen instantly
iyzsong has quit [Remote host closed the connection]
cdepillabout has quit [Quit: Leaving]
iyzsong has joined #nixos
sb0 has quit [Quit: Leaving]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
mmercier has quit [Quit: mmercier]
ottidmes has joined #nixos
emilis has joined #nixos
emilis has quit [Client Quit]
fooinabar has joined #nixos
zolk3ri has joined #nixos
asymmetric has joined #nixos
rprije has quit [Ping timeout: 252 seconds]
<fooinabar>
I'm trying to compile something that requires both g++ and clang++, but if I add clang to the dependencies g++ fails with: g++: error: unrecognized command line option ‘-stdlib=libstdc++’; did you mean ‘-static-libstdc++’?
<fooinabar>
any way I can use both clang and gcc in a derivation?
<fooinabar>
hmm... I'm calling a make on a build system that uses both clang and gcc, so I can't just set the environment variable. Maybe there is a way to pass per-compiler CFLAGS though.
<catern>
Is there a clean way to refer to all the different Python versions for a single Python package? That would be useful for this hacky Python package manager I'm working with, which requires all the Python package versions to be described in one file
<ekleog>
Izorkin: ok thanks! so if I read correctly you're not using opensmtpd-extras either :/
<Izorkin>
ekleog: no, there was no way to test
<v0|d>
texlive.combined.scheme-full did the trick.
<zimbatm>
exarkun22: it depends how much capacity the target host has
<gchristensen>
exarkun22: no, two things: 1) the machine in the nixops network needs nixpkgs.system = "aarch64-linux"; 2) the deployment machine needs to have an aarch64-capable remote builder setup
<betaboon>
gchristensen: argh. i just tried the default elastic-apm-server config.yml.
<zimbatm>
if the client and target have different arch nixops will by default use the target to do the compilation
<gchristensen>
zimbatm: it will? :o
<betaboon>
gchristensen: why don't we have a `builtins.fromYAML` ? XD
<zimbatm>
back in the US gchristensen ? :)
<gchristensen>
zimbatm: finally :) been up since 5am
<zimbatm>
home sweet home :)
<betaboon>
zimbatm: are you sure it will be default compile on the target ? oO when trying to deploy to a nixos-machine from a macos i always get "i am a darwin"
<ottidmes>
betaboon: could you not do something with pkgs.runCommand convert YAML to Nix, and then import that generated Nix file?
<betaboon>
oldnborg: maybe. wont do that tho. as the default yaml-config of elastic-apm-server just contains very few options. so i will just take them as default and then write them out as json.
<hyper_ch2>
back in Trumpland :)
<zimbatm>
I inferred that because of the nixops+vbox demo on macOS
<catern>
ah, an easy way to refer to all the different Python versions of a single Python package is, to have a function like "pythonPackages: pythonPackages.foo" and pass it multiple pythonPackages sets
<betaboon>
zimbatm gchristensen i am hoping that one day i can get rid of a nixos-build-vm on macos machines to use nixops to deploy to aws :/
<zimbatm>
exarkun22: if you setup a Packet.net aarch64 machine as a remote builder then the build will be happening there
<catern>
that's essentially using a string, but whatever
<exarkun22>
Hm. Stepping back - I am using a raspberry pi. Will nixops work at all? I am now reading that either BIOS or UEFI is required ... and that rpi uses neither.
<catern>
hmm, argh, though, I want to go from an existing Python package derivation specialized for one package set, to the same derivation for other package sets
<catern>
the reason I want to do this, is I want to build one file that references the Python dependencies for a single package across multiple Python versions
<catern>
(because of crappy proprietary package manager)
<Mic92>
catern: so you want to get the dependency graph of a package?
__monty__ has quit [Quit: leaving]
<catern>
ah no I figured out how to properly do it, I'll build the graph for each Python version, then union them
<catern>
Mic92: partially, but I also want to isolate each node in that graph
<exarkun22>
It's bad to have more open PRs. An open PR is effort someone has expended that has not turned into value for the broader community yet. Also, older branches gradually become conflicted or irrelevant, destroying the value they might have supplied.
<exarkun22>
So, you should probably invest some time in reviewing PRs to help them get merged.
<betaboon>
how do people handle extras of python-packages ?
<exarkun22>
While you're working on getting to that point, you can still contribute. At a basic level, you can try changes out and report back whether you found that they work or what problems you encountered.
<exarkun22>
avn (IRC): not me, catern (IRC) , I guess (I don't really understand what he's after)
<selfsymmetric-mu>
Anybody using NixOS on the GPD Pocket 2 yet? There seems to have been some interest in the first one.
<catern>
I just want the name/version, as a string, of the Python interpreter used to build a Python library package
<{^_^}>
[nixpkgs] @Gerschtli opened pull request #50033 → nixos/{lightdm,sddm,xpra}: remove enabling of logToFile → https://git.io/fpIAy
<exarkun22>
I put `services.sshd.enable = true;` into configuration.nix of my new rpi installation and `nixos-rebuild switch`'d it and sshd did not start up. what gives?
<illegalprime>
how isolated is FHSUserEnv? I cannnot download binaries into it since /lib/ld-linux-x86-64.so.2 is my host system's
<avn>
Ahh, well, is also possible, you can pull python from pythonPackages, and access its .name/.version
<illegalprime>
exarkun22: do you have a firewall?
<exarkun22>
illegalprime: not that I know of. but sshd really did not start up. systemd says it is "inactive" "dead" and there is no sshd process running (checked from console)
hyper_ch2 has quit [Quit: Page closed]
<cransom>
does journal say why it failed?
<exarkun22>
it has no journal lines at all
m0rphism has joined #nixos
<exarkun22>
if I `systemctl start sshd` it starts and works
<illegalprime>
exarkun22: I have `services.openssh.enable = true;`
<exarkun22>
if I `systemctl enable sshd` then it complains "The unit files have no installation config" and some more words and does not enable it.
<catern>
avn: that's not what I'm looking for, but thanks :)
<exarkun22>
illegalprime: I guess maybe openssh and sshd are aliases now. I saw some docs referring to each and some docs saying they mean the same thing.
<illegalprime>
maybe its the wrong unit name? what is `fuser 22/tcp`?
<avn>
well. In my setup, I prefer to pick python version, then override package set inside it so it `(python27.override { packageOverrides = self: super: { ...}; }).pkgs.buildPythonApplication { ... }`
<clever>
exarkun22: `systemctl enable` doesnt work on nixos
<jsgrant>
Okay, messing around a bit more -- two big issues from yesterday resolved; Still odd solution-wise to odd problems I've never had on Arch & Fedora ... but not complaining! Had to completely turn off screen tearing on KDE's compositor for OBS & evidently the default latte-dock session was locked and defaulted to that no matter what, so I made a new profile for it and deleted others.
<exarkun22>
my best guess right now is that nothing is configured (in systemd) to want the sshd service but I don't have a clue why nixos didn't write some configuration so that something does want it
<exarkun22>
Thanks. I think I know what mkDefault and mkForce do. What does mkOverride do?
<Mic92>
catern: might be more rialable to get it from the package content itself.
<{^_^}>
[hydra] @cleverca22 opened pull request #612 → [DEVOPS-1126] throttle github status calls to remain under api ratelimits → https://git.io/fpLe6
<Mic92>
exarkun22: mkForce is just like mkOverride with 50 as fixed priority.
<exarkun22>
what if there are two overrides with the same priority?
<catern>
Mic92: what? package.pythonModule is from the package content, I don't understand what you mean
<Mic92>
exarkun22: this should result in a conflict and fail to evaluate with a error message.
<buckley310>
has anyone here added nixos to Active Directory? im trying to set up sssd, but it doesnt seem to like being configured with "id_provider = ad"
<{^_^}>
#21150 (by e-user, 1 year ago, closed): sssd: init at 1.14.2
<Mic92>
Problem is that it clashes with nscd which we already use and need.
<manveru>
zimbatm: you got the psd?
<Dezgeg>
no, we just use nscd with caches disabled when using sssd
maximiliantagher has quit [Remote host closed the connection]
<exarkun22>
Yay. I got sshd and wpa_supplicant into multi-user.target.wants with mkForce. It looks like they were removed with `mkOverride 50` which seems like it should have produced a conflict but didn't.
<Mic92>
buckley310: if there is a pam module that provides active directory this might be the easier way to go.
maximiliantagher has joined #nixos
<Dezgeg>
sssd works just fine
<Mic92>
ok then
<manveru>
zimbatm: also would be nice to start gathering those testimonials :)
maximiliantagher has quit [Remote host closed the connection]
<Peaker>
how can I use a dependency from git, when it has git submodules?
<Peaker>
"fetchgit" does not seem to support clone's --recursive flag?
<buckley310>
okay, time to research nscd...
<buckley310>
thanks
<zimbatm>
manveru: still no reply from the designer
maximiliantagher has joined #nixos
<manveru>
ok
maximiliantagher has quit [Remote host closed the connection]
msgctl has quit [Ping timeout: 272 seconds]
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis_ has quit [Ping timeout: 240 seconds]
pxc has joined #nixos
maximiliantagher has quit [Ping timeout: 264 seconds]
<callahad>
Is there a way to figure out why a given package is showing up in nix-option environment.systemPackages? In particular, I'm seeing fontconfig on a fresh, minimal installation and I'm wondering why :)
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<manveru>
zimbatm: did the designer think about mobile at all?
<zimbatm>
not that I know of
<zimbatm>
if we use a CSS grid framework, a light version could be doable
<callahad>
samueldr: Lots of grepping is a valid option :)
<betaboon>
Mic92: i just saw that you have added elastic beats to nixpkgs (sometime) but i cant find any reference on how to use them. any hints ?
<samueldr>
callahad: and knowledge will come with time :)
johnnyfive has joined #nixos
halfbit has joined #nixos
<elvishjerricco>
Why would I be failing to build libsecurity_utilities-osx-10.7.5 on macOS Mojave with nixpkgs-18.09-darwin and Nix 2.1.1?
<exarkun22>
I told nixops about an aarch64-linux buildMachine but it still complains that it needs one to build some package. does nixops respect buildMachine or is my configuration just stupidly telling nixops that the target machine should have some buildMachines ...
TweyII has joined #nixos
<lejonet>
srhb: ping
<gchristensen>
exarkun22: your host needs buildMachines configured, not in nixops
maximiliantagher has joined #nixos
<exarkun22>
How do I supply host configuration if my host is Ubuntu?
<{^_^}>
[nixpkgs] @c0bw3b merged pull request #49737 → yacreader: init at 9.5.0, libunarr: init at 1.0.1 → https://git.io/fxhy1
<buckley310>
Dezgeg, do you, by any chance, have an example configuration you can share for using LDAP to authenticate to AD? sssd pukes no matter what i have tried
<buckley310>
every AD-specific example uses the AD module, not ldap, and the ldap examples dont work lol :(
<elvishjerricco>
Still failing after bumping to nixpkgs-unstable and reinstalling Nix from scratch
drakonis_ has joined #nixos
<elvishjerricco>
Anyone else fail to build libsecurity_utililites-osx-10.7.5?
<elvishjerricco>
Unsurprisingly fails on master as well
halfbit has quit [Quit: WeeChat 2.3]
<elvishjerricco>
A bunch of `error: expected function body after function declarator`
drakonis_ has quit [Ping timeout: 250 seconds]
<elvishjerricco>
For instance, on this line in CoreFoundation itself: `CF_EXPORT CFStringRef _CFRLORightToLeftStringCreate(CFStringRef theString) API_AVAILABLE(macosx(10.13), ios(11.0), watchos(4.0), tvos(11.0));`
<oab>
Howdy, I'm experiencing some trouble pinging a private network I set up with vagrant on virtualbox(it doesn't reply). Any ideas as to what might be causing that?
<exarkun22>
Here is my one and only random guess for a fix. Try: deployment.virtualbox.vmFlags = [ "--nic1" "bridged" "--bridgeadapter1" bridgeAdapter ];
<exarkun22>
for different values of `bridgeAdapter` selected from your host's network adapter names
aleph- has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @kalbasit opened pull request #50057 → trim trailing whitespace from top-level/all-packages → https://git.io/fpLW4
<betaboon>
Mic92: now that i am looking at it i am not sure. as you take the beats from github. didnt find the files in there yet. in the tar.gz provided on the page those are included tho
<hyper_ch>
Mic92: why does every new kernel require zfs adjustments?
<{^_^}>
[nixpkgs] @dywedir opened pull request #50069 → standardnotes: init at 2.3.12 → https://git.io/fpLEN
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon3 has joined #nixos
<betaboon>
Mic92: but as i understand it the fields.yml and the kibana directory is required in order to create index-templates and kibana-dashboards automatically.
<betaboon>
Mic92: disclaimer: I'm very inexperienced with the whole ELK stuff
<Mic92>
betaboon: I just updated the packages, but not used them intensivly. I made sure we did not broke any of our CI tests and also the actual maintainer made some changes in the same pr.
<Mic92>
hyper_ch: because the APIs it touches are not set in stone and kernel maintainers do not update them as well as zfs is not in the linux kernel itself.
<Mic92>
hyper_ch: if you don't want automatic fixes you can skip --repair
<symphorien>
Mic92: do you use nix-shell as root ? it remounts the store read write
<hyper_ch>
:)
wpcarro has joined #nixos
<hyper_ch>
I'll run it on all my servers now
<Mic92>
symphorien: could be the case. I usually notice the corruption because applications start to segfault.
<Mic92>
symphorien: looking at the affected files I also think it was some process that had root access.
<wpcarro>
Any users of `xbacklight` know how to point it to the correct sysfs driver? I have two options when I `ls /sys/class/backlight` and I know which one works. When I run `xbacklight -inc 10` nothing happens though. Any troubleshooting help is appreciated. It hasn't been working for about a month and I'm trying to fix it now
Thra11 has joined #nixos
<samueldr>
wpcarro: while not an answer, xbacklight uses whatever the X display driver knows about. There are other tools, like `light` which can work with other
<Mic92>
wpcarro: never used xbacklight, but we also have a light module
<exarkun22>
with nixops, can a gce instance be given a tag after its initial creation? or do I have to make a new one if I want to tag it?
<hyper_ch>
Mic92: one hdd server clean, but other shows: path '/nix/store/4ilsbnx26msrm3rcmsb0s3znjinfz7cg-nixos' was modified! expected hash 'sha256:18rp4lqdwqhd8blj9539dny64hjr97p2nw9f8cnvz34amd0v1sgw', got 'sha256:1h07b228vs68xrqlzn8gldn28igmm5x71g7bz9s0cjs0m6w774p7'
maximiliantagher has quit [Remote host closed the connection]
<betaboon>
Mic92: now I'm confused can't find those files anywhere in the repo oO
maximiliantagher has joined #nixos
<symphorien>
Mic92: maybe next time don't pass --repair, copy the store path, then repair and diff the two ?
<betaboon>
well anyhow. gonna use metricbeats.tar.gz from the website
<Mic92>
symphorien: I could still do this because of zfs snapshots
scribbler has quit [Remote host closed the connection]
<hyper_ch>
Mic92: do what because of zfs snapshots?
<hyper_ch>
are you using ECC ram?
<Mic92>
hyper_ch: diff the broken file with the repaired one.
<Mic92>
hyper_ch: no, laptops with ECC support are rare
<hyper_ch>
don't have ecc on any notebook / server :(
<hyper_ch>
one server has ecc and zfs but runs debian
<hyper_ch>
second error showed up
maximiliantagher has quit [Remote host closed the connection]
<hyper_ch>
spinning rust is so slow
<Dezgeg>
full system crash due to e.g. power loss or something?
maximiliantagher has joined #nixos
<hyper_ch>
it's time to get 100TB nvmes for $299 a piece
maximiliantagher has quit [Remote host closed the connection]
<lejonet>
Dezgeg: mind if I pick your brain a bit of nixos on arm? Just pulled down your image from september and a nixos-rebuild is giving me that the fixed-output derivation for bootstrap-tools is producing the wrong hash
<cransom>
philippD: `command-not-found commandhere` will usually give you something.
<lejonet>
Dezgeg: but that doesn't give me the hash its whining about, "just" the sha256sum
<philippD>
cransom: Ahh, right. There was nix-locate for searching the contents of packages.
<lejonet>
erh, wtf? It seems like it pulls down something completely different than what it is supposed to pull down...
<lejonet>
or curl doesn't follow redirects?
<Dezgeg>
you can inspect what's in /nix/store/qdrjfapishmpp5f5i8dq22aynwrcl7aj-bootstrap-tools.tar.xz
<colemickens>
curl doesn't by default
<cransom>
curl doesn't follow redirects by default
<colemickens>
-L
maximiliantagher has quit [Remote host closed the connection]
<lejonet>
ah, thanks
scribbler has joined #nixos
maximiliantagher has joined #nixos
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<exarkun22>
what is `services.znc.confOptions.networks.<name>.channels` supposed to be set to? option docs have it as a list of strings but I tried that and got a corrupt znc config file as a result.
Mr_Keyser_Soze has quit [Remote host closed the connection]
<lejonet>
Dezgeg: it claims its not a tar file, file format not recognized
<lejonet>
atleast not the vim tar plugin :P
<Dezgeg>
is it an error message or something then?
<lejonet>
uh... the file that is there is like 4.5 times as large as what I download if I do curl -L...
<kingemp>
makefu, in this case I have to run the binary (julia) in a FHS as it's the only way to get tests to pass
<kingemp>
trying to follow steam for inspiration
<makefu>
kingemp: if it is only tests i'd still tend to go with autopatchelfhook. fhsuserenv is a huge cannon
<kingemp>
makefu, unfortunately Julia uses a non-deterministic JIT, so no other real option
<Guanin>
Hi, I have a strange bug and don't know where to start searching. In most cases, when I run nixos-rebuild switch, the cursor won't move for a few minutes. Afterwards, I get these messages in the journal: http://termbin.com/gq6a and X adds the input device again and everything works
camsbury has quit [Remote host closed the connection]
<makefu>
kingemp: sad, but okay
c19tch has joined #nixos
<Guanin>
The services that were reloaded/restartet the last time it happened were dbus and polkit
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<catern>
is there some standard function to use to unpack a tarball? I know mkDerivation will do it for me, but I want to get a derivation that just contains the unpacked tarball
run500 has quit [Remote host closed the connection]
<Ralith>
I guess the idea is to avoid having to care about the tarball's own hash
<catern>
I can certainly write my own unpacker but that seems pretty weird... hmm I guess I'd just use runCommand
<kingemp>
catern, can you just use unpackPhase?
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<elvishjerricco>
Ralith: I think it's more that Nix's concept of fixed-output derivations just measures the final output (what else could it measure?), so only the final output hash makes sense.
maximiliantagher has quit [Remote host closed the connection]
dbmikus has quit [Ping timeout: 245 seconds]
maximiliantagher has joined #nixos
<c19tch>
I'm a little new to Nix, but if I understand this following blog post correctly, does NixOS pretty much eliminate the need for version managers for languages like RVM / Nodejs?