<garbas>
hmm ... i'm generating bunch of text with nix and writing it into a file. at one point (aprox. 1000 lines) i'm starting to get "error: stack overflow (possible infinite recursion)"
<garbas>
anybody seen this before?
ericsagnes has joined #nixos
redmq has quit [(Ping timeout: 250 seconds)]
nh2_ has quit [(Quit: Leaving.)]
the_scourge has quit [(Ping timeout: 246 seconds)]
the_scourge has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
matthewbauer has quit [(Ping timeout: 244 seconds)]
indi_ has quit [(Ping timeout: 250 seconds)]
Fare has quit [(Ping timeout: 268 seconds)]
andymandias has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mizu_no_oto has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
matthewbauer has joined #nixos
eacameron has quit [(Remote host closed the connection)]
takle has joined #nixos
derjohn_mobi has joined #nixos
takle has quit [(Ping timeout: 256 seconds)]
echo-area has joined #nixos
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
frumpagumpus has quit [(Ping timeout: 260 seconds)]
shanemikel has joined #nixos
supremacsy has quit [(Ping timeout: 258 seconds)]
supremacsy has joined #nixos
<shanemikel>
Are people still trying to use nixpkgs on mac?
<gchristensen>
shanemikel: many people do
<gchristensen>
shanemikel: ##nix-darwin
herzmeister has quit [(Quit: Leaving)]
pikajude has quit [(Quit: Quit)]
pikajude has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
angerman has joined #nixos
estewei has quit [(Ping timeout: 240 seconds)]
<supremacsy>
Question. I successfully compile a package by hand (namely, https://github.com/politza/pdf-tools, but I believe the package itself doesn't matter since it is a question about _autoconf_) _IF_ "autoreconf" is instructed where to find m4 macro belonging to pkg-config: "ACLOCAL_PATH=/nix/store/<some-hash>-pkg-config-0.29/share/aclocal autoreconf -i". So, the question: shouldn't the path to pkg-config macros be available somehow to auto
<supremacsy>
conf after "nix-env -iA pkg-config"? Do I expect NixOS do some magic here?
mguentner has quit [(Ping timeout: 252 seconds)]
hexagoxel has joined #nixos
estewei has joined #nixos
frumpagumpus has joined #nixos
herzmeister has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz opened pull request #20641: Reduce closure size of installer images (master...fix/installer-closure-size) https://git.io/vXjDF
danielrf[m] has joined #nixos
slack1256T has joined #nixos
<slack1256T>
I got the following error on nixos-rebuild test
indi_ has joined #nixos
<slack1256T>
cannot open `/nix/store/<hash>-xorg-server-1.18.3/share/X11/xkb/compiled/systemd-private-cd<hash>6-rtkit-daemon.service-gPptlB': Permission denied
mguentner has joined #nixos
shanemikel has quit [(Read error: Connection reset by peer)]
josdotso has joined #nixos
spacekitteh has quit [(Ping timeout: 245 seconds)]
<slack1256T>
which is weird as that file seems common on its permissions
spacekitteh has joined #nixos
shanemikel has joined #nixos
shanemikel has left #nixos []
XeonSquared has quit [(Ping timeout: 252 seconds)]
slack1256T has quit [(Remote host closed the connection)]
cgdub has joined #nixos
phanimahesh has joined #nixos
mguentner has quit [(Quit: WeeChat 1.6)]
the_scourge has quit [(Read error: Connection reset by peer)]
cgdub has quit [(Ping timeout: 250 seconds)]
mguentner has joined #nixos
the_scourge has joined #nixos
the_scourge has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
stepcut has quit [(Remote host closed the connection)]
filterfish has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Ping timeout: 244 seconds)]
systemfault has quit [(Quit: Bye!)]
stepcut has joined #nixos
proteus-guy has quit [(Ping timeout: 256 seconds)]
proteus-guy has joined #nixos
proteus-guy has quit [(Client Quit)]
Lowl3v3l_ has joined #nixos
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
jacob_ has joined #nixos
jacob_ is now known as Guest34431
yodeler has quit [(Remote host closed the connection)]
ebzzry has quit [(Ping timeout: 245 seconds)]
proteus-guy has joined #nixos
paperd has joined #nixos
wkennington has joined #nixos
systemfault has joined #nixos
herzmeister has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
stepcut has quit [(Ping timeout: 260 seconds)]
sdothum has joined #nixos
odi has joined #nixos
herzmeister has joined #nixos
spacekitteh has quit [(Quit: Lost terminal)]
saintromuald__ has quit [(Remote host closed the connection)]
Rotaerk has quit [(Quit: Leaving)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
DamienCassou has joined #nixos
<DamienCassou>
hi
<DamienCassou>
I have a problem with VLC (all videos appear on a quarter of the screen). Where should I report that?
<DamienCassou>
I've just installed F25 from scratch
<DamienCassou>
sorry, wrong channel :-)
DamienCassou has quit [(Client Quit)]
DamienCassou has joined #nixos
matthewbauer has quit [(Ping timeout: 260 seconds)]
spacekitteh has joined #nixos
MercurialAlchemi has joined #nixos
shanemikel has joined #nixos
rardiol has quit [(Ping timeout: 256 seconds)]
shanemikel has left #nixos []
amarsman has joined #nixos
matthewbauer has joined #nixos
shanemikel has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
takle has joined #nixos
takle has quit [(Ping timeout: 250 seconds)]
Ivanych has joined #nixos
<ronny>
hi
<ronny>
i need help with uefi
rotaerk has joined #nixos
andymandias has joined #nixos
<rotaerk>
how can I set my background on X startup?
<rotaerk>
I added a line to run bgs into .xinitrc, and that's not working
<Guest34431>
try .xprofile
mythmonster is now known as mythmon-
<ronny>
anyone knows how to set up a efi boot partition so nixos boots?
<rotaerk>
k, thanks; will try that
rotaerk has quit [(Client Quit)]
rotaerk has joined #nixos
<rotaerk>
that worked; thanks
<rycee[m]>
ZombieChicken: I'm running with encrypted root in my laptop and it works fine. Unfortunately I'm on my phone at the moment so I can't give you the config but I think it is more or less as in the docs.
Guest2_ has joined #nixos
lverns has quit [(Ping timeout: 245 seconds)]
DamienCassou has quit [(Ping timeout: 248 seconds)]
<ronny>
^yay boots
ambro718 has joined #nixos
vandenoever has quit [(Quit: ䷴៚)]
matthewbauer has quit [(Ping timeout: 250 seconds)]
<rotaerk>
hmm I see that services.xserver.displayManager.slim.theme is by default set to: pkgs.fetchurl { url = "URL of the theme .tar.gz file", sha256 = "..." }
<rotaerk>
but how do I use the themes provided by the nixos.slimThemes packages
eacameron has joined #nixos
ambro718 has quit [(Ping timeout: 256 seconds)]
justbeingglad has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
<rotaerk>
also, how do I find out about what, say, fetchurl *does*
<rotaerk>
ah... that's covered in the *nix* manual..
echo-area has quit [(Remote host closed the connection)]
lonokhov has joined #nixos
av[m] has joined #nixos
<rotaerk>
so I guess services.xserver.displayManager.slim.theme is expecting a path, but I'm not sure how to get that path from the nixos.slimThemes.* packages
<rotaerk>
meh, I'll deal with it tomorrow
fritschy has joined #nixos
Itkovian has joined #nixos
matthewbauer has joined #nixos
paperd has quit [(Quit: WeeChat 1.0.1)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
matthewbauer has quit [(Ping timeout: 265 seconds)]
_c_ has joined #nixos
<ronny>
fml
<ronny>
i finished installation, nix fails building the hwdb on nixo-rebuild ciding an already existing path :/
Lowl3v3l_ has quit [(Ping timeout: 245 seconds)]
<ronny>
i#ll take a bit to get this copy&pastable
indi_ has quit [(Ping timeout: 260 seconds)]
systemfault has quit [(Quit: Bye!)]
shanemikel has joined #nixos
justbeingglad has left #nixos []
frumpagumpus has quit [(Ping timeout: 240 seconds)]
Guest2_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
shanemikel has quit [(Read error: Connection reset by peer)]
william__ has joined #nixos
ixxie has joined #nixos
wkennington has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
shanemikel has joined #nixos
<shanemikel>
is there an analogue to `apt-file`, `yum provides`, etc? and what package is required for `nix-env --help`?
wkennington has joined #nixos
william__ has quit [(Ping timeout: 260 seconds)]
<Guest34431>
nix-env --help
<Guest34431>
woops
<Guest34431>
wrong window
derjohn_mobi has quit [(Ping timeout: 256 seconds)]
derjohn_mobi has joined #nixos
<ronny>
hmm
<ronny>
gnome lacks a option to switch the currently logged in user :/
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
ertes-t6v has joined #nixos
cfricke has joined #nixos
goibhniu has joined #nixos
Wizek_ has quit [(Ping timeout: 250 seconds)]
Wizek has quit [(Ping timeout: 248 seconds)]
ertesx has quit [(Ping timeout: 256 seconds)]
shanemikel has joined #nixos
rotaerk has quit [(Quit: Leaving)]
Dezgeg has quit [(Ping timeout: 260 seconds)]
<offlinehacker[m]>
shanemikel: currently as far as i know there's no equvivalent, but nixos will give you name of the package if you type it in bash and you don't have command in path
matthewbauer has joined #nixos
indi_ has joined #nixos
ixxie has quit [(Ping timeout: 252 seconds)]
ixxie has joined #nixos
matthewbauer has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 2 new commits to master: https://git.io/v1eej
<NixOS_GitHub>
nixpkgs/master b75e13b Vincent Laporte: trv: fix installation of binaries
<NixOS_GitHub>
nixpkgs/master 97a496a Vincent Laporte: ocamlPackages.ocplib-simplex: init at 0.3...
indi_ has quit [(Ping timeout: 245 seconds)]
<shanemikel>
offlinehacker[m] well the CNF thing must use some sort of DB, no?
Rotaerk has joined #nixos
fractal has quit [(Remote host closed the connection)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
matthewbauer has joined #nixos
the_scourge has quit [(Ping timeout: 260 seconds)]
frumpagumpus has joined #nixos
<lonokhov>
Can I safely use `trap cleanup EXIT` with stdenv builder?
<clever>
lonokhov: what are you trying to do?
derjohn_mob has joined #nixos
asymmetric has joined #nixos
<clever>
lonokhov: looks like there is a dedicated failureHook
<lonokhov>
clever: create a temp dir with short name and then clean it up. I'm building with hydra and need to open a unix socket for testing. and path is too long for unix socket
<clever>
lonokhov: and the nix file that produced it is in the same directory
<clever>
lonokhov: the stdenv will typicaly drop you in $NIX_BUILD_TOP/foo, where foo is a name coming from $src
<clever>
$TEMP and $TMP have also been modified, so you use the dir nix-daemon is going to wipe
<Nekroze>
how can you increase the worker_connections settings with services.nginx ? it seems that events is hard coded so I cant replace it or I have to replace the whole generation of vhosts.
<lonokhov>
clever: Oh that's just great. And as I understand all procs started by daemon are killed so I should not care about starting postgres server for testing.
<clever>
yep
<lonokhov>
clever: Thank you! You really saved me a lot of time figuring this out
<clever>
lonokhov: the only time ive managed to break this, is when the build was not running in a sandbox, and i was able to execute a fuse setuid program
<clever>
lonokhov: which allowed me to perform fuse mounts inside NIX_BUILD_TOP!!
<clever>
but nix doesnt know how to umount, and gets confused while trying to rm -rf, causing it to leave NIX_BUILD_TOP behind
<clever>
then it increments the number at the end to avoid a collision
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
<lonokhov>
clever: so yeah, I've checked out how hydra does it. NIX_BUILD_TOP is exactly as you said. neat.
<steveeJ>
mh well that's a lie. it's there in "Input box", but the input box doesn't actually do any spell checking
jgeerds has joined #nixos
iyzsong has joined #nixos
<vdemeester>
hi o/
<vdemeester>
I have probably a dumb question
<vdemeester>
when building a package, network is off (I mean in the buildPhase) ?
<vdemeester>
I have a script that does a `git clone …` but… "Couldn't resolve host 'github.com'"
<goibhniu1>
hi vdemeester, yeah, you'll need to avoid doing that
goibhniu1 is now known as goibhniu
<vdemeester>
goibhniu: ok
<goibhniu>
you can add multiple sources if you like
<vdemeester>
yes that's what I'm thinking then :)
<vdemeester>
thx :)
<goibhniu>
and you can use fetchFromGithub
<goibhniu>
great, np!
<vdemeester>
:)
ZombieChicken has left #nixos []
civodul` has joined #nixos
civodul has quit [(Ping timeout: 252 seconds)]
<rly>
taktoa: yes
<rly>
Exactly the reason why inventing new languages is a costly mistake.
<taktoa>
yeah, though I think sometimes it's justifiable (e.g.: Nix)
<rly>
taktoa: Nix could also have been Haskell, probably.
<rly>
taktoa: having said that Haskell also has no tooling worthy of discussion ;)
<taktoa>
Haskell doesn't have the property that each file is an expression, and it has a very large dependency footprint, but otherwise I agree
matthewbauer has joined #nixos
<rly>
taktoa: that could have been done via a very simple preprocessor.
<taktoa>
yeah, except the second part
<rly>
taktoa: yes, that's a practically relevant part, not so much a theoretical one.
<taktoa>
rly: if you a quick fix, I have nothing, but if you are willing to write a PEG grammar for the language, then you might be able to make a proper parser via https://www.emacswiki.org/emacs/peg.el
<taktoa>
*if you want
<taktoa>
and then it should be fairly easy to write a pretty printer with syntax highlighting
<taktoa>
js2-mode works like this (though I'm not sure if it uses peg.el)
matthewbauer has quit [(Ping timeout: 250 seconds)]
<taktoa>
rly: if you end up writing such a thing, add a link to it on the peg.el page, as an example of how to use peg.el for proper syntax highlighting
_c_ has quit [(Ping timeout: 246 seconds)]
[0x4A6F] has quit [(Ping timeout: 246 seconds)]
[0x4A6F] has joined #nixos
<__Sander__>
npm is so fucking awesome
<__Sander__>
it seems to only loosely interpret semver version specifiers
<__Sander__>
and there is a package that relies on it
<__Sander__>
sigh
cfricke has quit [(Quit: WeeChat 1.6)]
madbub has joined #nixos
<lonokhov>
__Sander__: npm is deprecated, there is now a package manager from facebook or something
<__Sander__>
hmm yet another package manager for nodejs?
<__Sander__>
I know yarn
stighenriksen has left #nixos []
<__Sander__>
hmm yarn seems to be from facebook
<lonokhov>
So, if I set build_cores=4 and max_jobs=4 then I'll possibly have 16 "cores" used, right? max_cores is not a "pool" of cores?
<__Sander__>
however, I have not seen any announcement stating that npm has been deprecated :)
<__Sander__>
would be crazy
<__Sander__>
since izs built his own company around it (https://npmjs.com)
<lonokhov>
__Sander__: that's a joke about JS community loving shiny things
asymmetric has quit [(Ping timeout: 244 seconds)]
<__Sander__>
hmm yarn
<__Sander__>
I think it's just some minimal tweaks/improvements over npm
<__Sander__>
I think ied does a way better job
* lonokhov
also would like to rant about npm deps. like deps for building a small ember site - 980 deps, 820 without dups. node2nix - 1.2Mb file :(
civodul` is now known as civodul
<domenkozar>
does anyone have a function that returns all nodes config in nixops network?
abcrawf has quit [(Remote host closed the connection)]
<taktoa>
has anyone thought about having `(ghcWithHoogle (p: { paths = [ p.foo p.bar p.baz ]; }))` somehow depend on `combineHoogle (map genHoogle [ foo bar baz ])`, so you don't have to regenerate hoogle databases every time you rebuild the ghcWithHoogle derivation?
<taktoa>
or is the "building hoogle database" step of that build just combining hoogle databases that are already in each derivation in `paths`
<taktoa>
time to dig through the source
dannyg has joined #nixos
abcrawf has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
<ixxie>
How do I add a package from nixpkgs-unstable to a configuration of nixos-16.09?
<ixxie>
I feel like I am missing something fundamental about the relationships between configuration/package files and channels >.<
dmi3y has quit [(Quit: dmi3y)]
ebzzry has quit [(Ping timeout: 268 seconds)]
<ixxie>
would it make more sense to fork the nixos-16.09 repo and add packages to that?
<gchristensen>
domenkozar: nice to see that PR was closed not merged, disabling http2 seems scary
<fpletz>
gchristensen: why scary? :>
dmi3y has joined #nixos
<fpletz>
there's no point in harrassing our users with poor performance (already digged into this a few months ago without success and heard from some freinds), all http2 sites should also support 1.1
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v1eEk
<NixOS_GitHub>
nixpkgs/master 7a038b9 Eelco Dolstra: libevent: Drop unnecessary autoreconfHook dependency
indi_ has joined #nixos
proteus-guy has quit [(Ping timeout: 252 seconds)]
JonReed has joined #nixos
rly has quit [(Quit: leaving)]
NixkorN has joined #nixos
<JonReed>
Is there a way to interactively debug initrd? Let's say I want to run a custom initrd script which is specified in boot.initrd.postDeviceCommands = ''(/boot/script.sh)''. I want be dropped into the shell that postDeviceCommands has, so that I can write commands interactively
mizu_no_oto has joined #nixos
<JonReed>
Otherwise with each command I'll have to reboot and run nixos-install
indi_ has quit [(Remote host closed the connection)]
<JonReed>
In other words, rather than specifying postDeviceCommands beforehand, I want to get manual control back when postDeviceCommands is executed and execute commands myself
<JonReed>
Currently, any mistake results in kernel panic and I have to reboot and reinstall it, which is terribly slow for writing any custom initrd script
<goibhniu>
JonReed: do you know about `nixos-rebuild build-vm-with-bootloader` already?
<JonReed>
goibhniu: No.
<goibhniu>
ah cool, I bet that will help
<JonReed>
goibhniu: Ok, thx, I'll google it.
<goibhniu>
`man nixos-rebuild` will tell you all about it, it builds a vm image that you can run
<JonReed>
goibhniu: So rather than rebooting OS, I'll just reboot VM machine?
herzmeister has quit [(Quit: Leaving)]
<goibhniu>
yeah
<JonReed>
Ok, that sounds much better than what I'm doing now.
herzmeister has joined #nixos
indi_ has joined #nixos
filterfish_ has joined #nixos
filterfish has quit [(Ping timeout: 256 seconds)]
indi_ has quit [(Remote host closed the connection)]
angerman has joined #nixos
__Sander__ has joined #nixos
indi_ has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
filterfish has joined #nixos
filterfish_ has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
takle has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mizu_no_oto has joined #nixos
cpennington has joined #nixos
JagaJaga has quit [(Ping timeout: 260 seconds)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
<gchristensen>
domenkozar: can you connect nixos/security back up with Travis-CI? it was connected before
<mbrgm>
is there any secure way to deploy a SSH private key to a nixops-managed machine and still allow autonomous reboots?
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<domenkozar>
gchristensen: should be working now
<gchristensen>
perfect, thank you
<NixOS_GitHub>
[nixpkgs] lo1tuma opened pull request #20650: libuv: 1.9.1 -> 1.10.1 and nodejs: 7.1.0 -> 7.2.0 (master...libuv-1.10.1-node-7.2.0) https://git.io/v1eww
lverns has joined #nixos
JagaJaga has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc deleted roundup-9-rollup at db93501: https://git.io/v1erD
<gchristensen>
"Stale Branches: freebsd-losser Updated 14 years ago by edolstra " lol
<lonokhov>
hm, fixed hydra hangs with nix.useSandbox
<fpletz>
gchristensen: looks useful, but we should still get information from multiple sources, for instance the debian security tracker also has information about the patch to fix the issue :) https://security-tracker.debian.org/tracker/CVE-2016-9273
<gchristensen>
yes for sure
<joepie91>
gchristensen: fwiw, if using a Node stack is not a problem and you have a list of CVE sources, I can probably put together a quick-and-dirty scraper for CVE info
<joepie91>
gchristensen: btw. you caught ##security at a good time - most of the time it's blind-leading-the-blind but there seem to be actually-competent people around now :P
<gchristensen>
oh excellent :D
<fpletz>
gchristensen: though I'm a bit biased because I was a debian maintainer before embracing nixos :)
<joepie91>
gchristensen: anyway, should I have a shot at writing a scraper?
matthewbauer has joined #nixos
<joepie91>
I need to take a break from messing with Linux internals for a bit anyway :P
<gchristensen>
fpletz: I can understand that :)
<gchristensen>
joepie91: well, so, I don't have a list of resources yet
<gchristensen>
what would the scraper produce?
* fpletz
tries joining ##security again and hopes for less off-topic discussions :)
<joepie91>
gchristensen: well, that kinda depends on what the requirements are. my thoughts are either 1) a command-line utility that takes a CVE number, scrapes the relevant detail (filtering out "unknown" values) and dumps it to stdout as JSON, or 2) a JS library that takes in a CVE and returns a structured JS object with said information
<joepie91>
gchristensen: if the rest of your stack is in JS, option 2 is a good one... otherwise, you probably want option 1 :P
<joepie91>
alternatively, if it's not meant for scripting, 3) a tool that outputs the information in human-readable format to stdout
<joepie91>
gchristensen: I'm not sure what you want to integrate it into, so which option works best is up to you really :P
matthewbauer has quit [(Ping timeout: 260 seconds)]
_gilligan_ has joined #nixos
angerman has quit [(Quit: Gone)]
<flyx>
hi folks, I see that there's services.emacs.defaultEditor, but I don't find a similar setting for vim. how do I make vim the default editor?
dmi3y has quit [(Quit: dmi3y)]
eacameron has joined #nixos
<mbrgm>
is there any secure way to deploy a SSH private key to a nixops-managed machine and still allow autonomous reboots?
dannyg has quit [(Ping timeout: 246 seconds)]
<gchristensen>
mbrgm: I'm not sure how it would work with nixops, but I would be inclined to securely deliver it once and then save it to the local disk.
MercurialAlchemi has quit [(Ping timeout: 246 seconds)]
<gchristensen>
or generate it on the target machine and copy it back, but I know that isn't really "The NixOps Way"
<joepie91>
gchristensen: btw, this would be pretty much an afternoon project to me as I do scraping work regularly, so if you describe more about what you want to integrate it in (and which of those options would be most practical), I can get started after I finish the dishes
<joepie91>
:p
stepcut_ has joined #nixos
stepcut has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Remote host closed the connection)]
ixxie has joined #nixos
matthewbauer has joined #nixos
dmi3y has joined #nixos
<bara>
i have specified nvidia in video drivers. is it possible to select a version of the package? (having some problems with libgl)
<gchristensen>
joepie91: gotcha, so what I have now is a set of CLI tools that happen to be written in rust. I'd think it would be helpful to have machine-parsable data about CVEs available, yes. I don't know how exactly I'd use that yet, but I can definitely imagine it being useful especially w.r.t. the announcements, or prioritizing fixes
<domenkozar>
what is the latest doc for arm64+nixos?
lonokhov has quit [(Quit: leaving)]
<LnL>
I think everything for linux is rebuilding on master
matthewbauer has quit [(Ping timeout: 258 seconds)]
<goibhniu>
bara: probably only if you have quite an old gpu
<joepie91>
gchristensen: my Rust-fu isn't good enough yet to write a parser in an afternoon (nor do I think there's anything like cheerio in Rust yet), so given that situation it's probably most practical to write a CLI tool in JS that just dumps JSON to stdout - that way you can invoke it from your Rust code to look up a specific CVE, and just parse the output
<gchristensen>
joepie91: that sounds good to me
<goibhniu>
bara: what problems are you having?
<vdemeester>
hum, small question
<joepie91>
gchristensen: alright, I'll have a shot at it once I finish the dishes :)
<gchristensen>
great!
<vdemeester>
I have a package that have multiple sources, and one is using make, the other one cmake
<vdemeester>
if I put both cmake and makeWrapper in buildInputs, it thinks it should use cmake for everything :(
<pikajude>
wtf
<pikajude>
hydra master won't build with "Evaluator::Jobsets has no member named 'try_emplace'"
<pikajude>
that makes no sense
<vdemeester>
ohh
<vdemeester>
fixing cmake files... I know how to disable it
<vdemeester>
(sorry for the noise :D)
stepcut_ has quit [(Remote host closed the connection)]
stepcut has joined #nixos
cgdub has joined #nixos
odi` has joined #nixos
stepcut has quit [(Ping timeout: 260 seconds)]
<gchristensen>
fpletz: so debian's sources links are annoying, all the libtiff URLs are 404's now
eacameron has quit [(Remote host closed the connection)]
<clever>
gchristensen: excluding dirtycow type exploits in the kernel,i cant see much in curl being able to escape a fixed-output derivation
<gchristensen>
well
<gchristensen>
curl is used in far more than just fetchurl / fixed-output derivations
<clever>
yeah, in the non-fixedoutput stuff, it could potentialy do more harm
<gchristensen>
but more importantly
<domenkozar>
anyone knows how to nix-instantiate machine in nixops? there's only --build-only flag
<clever>
but thats mostly ran in a sandbox with no network, and all of the input data is controled tightly
dannyg has joined #nixos
<gchristensen>
they got really good feedback and (only) found a few issues in fairly complex code
<clever>
ah, nice
fritschy has quit [(Quit: Leaving.)]
<gchristensen>
clever: I mean, like, as a user of my system, I have bazillions of tools that use libcurl.
<clever>
yeah, those could become a target
<clever>
and that reminds me of a bug i had years ago
<clever>
i was on gentoo, and i decided to build firefox without the built in error reporting tool (it depended on curl)
<clever>
i had wget, why do i need curl in my closure?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
gchristensen: i sucessfully got my system going, without any libcurl present, then i tried to install flash
<clever>
the shell script for flash uses curl to download a tar, then unpacks the .so
<clever>
gchristensen: so i just wget it and manualy install it, simple, right?
phanimahesh has quit [(Ping timeout: 260 seconds)]
<clever>
gchristensen: but, firefox segfaults any time i attempt to load flash, and googling around, i found users that mysteriously made it work by running the shell script
<clever>
even though i did exactly the same thing the shell script does!
odi` has quit [(Remote host closed the connection)]
<clever>
gchristensen: none of those users realized, installing curl (to fix the shell script) also fixed the libflashplayer.so file
<gchristensen>
yeah, lots of things use curl
<clever>
as for the segfault, its not listing curl in ldd either
<clever>
i believe it was using dlopen on libcurl
<clever>
and then assumes nobody will ever not have it
<clever>
gchristensen: but a major lesson, that nix prevents, is side-effects
<clever>
gchristensen: installing curl to fix the shell script, also fixed the so, and nobody put the 2 things together, they dont think to test again until they have ran the shell sript
<gchristensen>
yep
<clever>
so, why do i have a /run/current-system/sw/lib folder?
<vdemeester>
hum ok, I don't know…
<clever>
it even has libvlc???, why!
<vdemeester>
how can I have `cmake` as buildInput but not it executing the configurePhase of cmake ?
stepcut has joined #nixos
cgdub has quit [(Ping timeout: 252 seconds)]
stepcut has quit [(Remote host closed the connection)]
<msd>
joachifm: is making a custom .diff file or a cherry-pick within a specific version of a package the proper way to handle partially updating the package?
<msd>
joachifm: For OpenCV 3, instead of updating to a random commit, can I make a .diff file and apply it before building?
<msd>
joachifm: or can I cherry-pick from a specific commit on the repo to apply the general change?
<gchristensen>
it isn't breaking things for people who can use the cache, of course
<fpletz>
yeah, but that's not acceptable :)
<msd>
cc LnL viric
<gchristensen>
right
<fpletz>
I'll look into it and try to fix all patches downloaded from sources.debian.net
<LnL>
msd: pong
<msd>
LnL: For a specific package, instead of updating off a release to a random commit in the tree, can I make a .diff file and apply it before building? Is this considered better practice?
eacameron has quit [(Remote host closed the connection)]
<LnL>
so there's a specific upstream patch you want?
<msd>
LnL: the reason for the partial upgrade is due to package X (OpenCV 3) not containing CUDA detection code for graphics cards past 3.5 (aka Pascal cards with compute capability at 6.0)
<LnL>
msd: you can use fetchpatch to use a fix from the upstream repo
<msd>
LnL: ah, okay. This makes sense. And if the patch file doesn't currently exist in a single commit (say a commit integrates that fix + a LOT of other fixes), should a manual diff file be created?
pstn has joined #nixos
_c_ has quit [(Ping timeout: 256 seconds)]
<LnL>
not sure then, I think I would prefer just building from a commit
zeus_ has joined #nixos
lverns has quit [(Ping timeout: 258 seconds)]
<msd>
LnL: okay, makes sense. Thanks!
msd has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 256 seconds)]
ambro718 has joined #nixos
xadi has joined #nixos
eacameron has joined #nixos
jgertm has quit [(Ping timeout: 265 seconds)]
matthewbauer has joined #nixos
<gchristensen>
I almost think we need to have specific "How To"s on finding release information per package
<gchristensen>
like where to find changelogs, releases, etc.
<joepie91>
gchristensen: I was thinking... maybe we should introduce a "packaging information" file with packages in general
<gchristensen>
come again?
<joepie91>
listing the things you just mentioned, plus quirks that the packager ran into while packaging
<gchristensen>
ah, yeah
<joepie91>
I often see weird gymnastics in expressions
<joepie91>
that make me go "that looks like I need it, but why are they using it and how does it work?"
msd has joined #nixos
<joepie91>
and it would be helpful if packages/expressions just included an accompanying file with at least a short rationale about why the thing is packaged how it is
<gchristensen>
yeah, some of this might just be helpful as code comments
<joepie91>
plus changelogs, releases, stuff like that
<joepie91>
or well, the URLs for that
<joepie91>
gchristensen: well, to a degree, yes - but sometimes more explanation is needed
<joepie91>
and it gets awkward to shove that into expressions
<joepie91>
:P
<gchristensen>
yeah
<joepie91>
and the usual problem with comments exists - people are incentivized to keep them short
<joepie91>
because every line of comments makes it harder to see the code
matthewbauer has quit [(Ping timeout: 245 seconds)]
<joepie91>
and "short" is precisely the opposite of what you want, in most cases
<joepie91>
so perhaps a convention of a separate packaging.md or something would help with that - it'd be a bit more upfront effort for packagers, but greatly increase accessibility for new packagers as well as PRs from "drive-by contributors"
<joepie91>
I can speak somewhat from my own perspective here... I *want* to package more things, and I have a list of things to look into, but it's just very hard to find solutions to common packaging problems
<joepie91>
and I don't always have the time to research them
<joepie91>
most of the time I don't, really
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/v1ehj
<NixOS_GitHub>
nixpkgs/master a02be65 Peter Simons: LTS Haskell 7.10
<NixOS_GitHub>
nixpkgs/master 91225b8 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
matthewbauer has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v1ejr
<NixOS_GitHub>
nixpkgs/master ce6abb9 Domen Kožar: nixopsUnstable: init at 2016-11-23
stepcut has joined #nixos
ibrahims has joined #nixos
<ibrahims>
hello
<ibrahims>
is there anyway i can help move this mesos pr move forward?
<NixOS_GitHub>
[nixpkgs] vdemeester opened pull request #20656: WIP: Update to docker 1.13.x (master...docker_1_13) https://git.io/v1veR
<NixkorN>
this os is very popular
<copumpkin>
gchristensen: I know nothing much about mesos
<copumpkin>
I was just hoping to see it get unbroken :)
<copumpkin>
cstrahan: ^ ^ ::)
<NixkorN>
copumpkin: try #mesos
<gchristensen>
copumpkin: you were the last person with merge-rights to comment, figured you knew better than me :P
<cstrahan>
Looks like python bindings still need to be fixed up. Hopefully something someone can contribute without to much hassle. Otherwise I'll have circle back when I have time in two or three weeks.
<copumpkin>
NixkorN: not trying to learn more about it right now, just pointing out why I'm not a particularly well suited person to review that
danharaj has joined #nixos
<NixkorN>
does this distro use gstream as default?
johann__ has joined #nixos
<NixkorN>
what app can i use to burn this distro to an usb pen?
rly has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v1vvY
<NixOS_GitHub>
nixpkgs/master bbe5f99 Bjørn Forsman: qemu: add curl to buildInputs...
<NixkorN>
i mean other then dd :D
<clever>
NixkorN: the iso has both a cdrom bootloader, and grub in it already, complete with an MBR partition table
eacameron has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<SuprDewd>
why does it sometimes happen that nixos-rebuild switch --upgrade insists on building something like pypy? shouldn't that already be built by Hydra or something?
CMCDragonkai has left #nixos []
CMCDragonkai has joined #nixos
kampfschlaefer has joined #nixos
eju has joined #nixos
<clever>
SuprDewd: what does nix-channel --list say?
asymmetric has quit [(Ping timeout: 260 seconds)]
wink has quit [(Remote host closed the connection)]
<SuprDewd>
clever: nix-env -qaP | grep -i youtube-dl is only showing the pythonPackage versions
CMCDragonkai has left #nixos []
CMCDragonkai has joined #nixos
<clever>
SuprDewd: but if you just try to use pkgs.youtube-dl, what happens?
goibhniu has quit [(Ping timeout: 268 seconds)]
<msd>
viric: https://github.com/NixOS/nixpkgs/pull/20631 <- could you please review this? It's a bit urgent, as it pertains to anyone using OpenCV 3.1.0 with CUDA bindings enabled
<gchristensen>
domenkozar: what spurred the financial transparency project?
<clever>
SuprDewd: ah, i think the problem is that youtube-dl is an alias, to one of the pythonPackages variants, and the tools are trying to hide the duplicate
<clever>
SuprDewd: and then you cant tell which one is the right one
<jasom>
Is there any interest in all at making nix work without a hard-coded root of /nix? This would allow non-root installs of nix and nix closures.
<gchristensen>
jasom: /nix isn't hard-coded, bt you wouldn't be able to use any of our cache
<jasom>
gchristensen: sorry I mean not hard-coded in the results of the build
<copumpkin>
what would that look like?
<jasom>
copumpkin: well RPATH would have to be something like ${ORIGIN}/../../someting
<copumpkin>
you could attempt to rewrite it, but you'd need to rewrite it to something of the same length
<copumpkin>
sure, but rpath is just one of a bajillion ways that things might contain paths
<jasom>
copumpkin: right all of them would have to be relative
<copumpkin>
given arbitrary code and build processes, we can't assume anything about how paths show up
amarsman has quit [(Quit: amarsman)]
Shou has quit [(Ping timeout: 268 seconds)]
<gchristensen>
yeah, the shenanigans code can do is simply unbounded
<jasom>
so the requirement of a build-time fixed absolute path is necessary for simplifying porting of applications to nix
<copumpkin>
on some linuxes, you could create a user namespace and put /nix into that
<copumpkin>
for unprivileged users
<copumpkin>
user + fs
<jasom>
right
<copumpkin>
jasom: it's not even just simplifying. It's just that under the assumption of arbitrary code using those paths in arbitrary ways, we have no way of guarding how it happens
<clever>
but an admin would probably have to set that up for you
<copumpkin>
how come?
<jasom>
copumpkin: well nix already patches pathnames in builds in arbitrary ways, so it is about simplifying.
<copumpkin>
jasom: how so?
<clever>
copumpkin: from what ive seen before, you have to specialy configure things like chroots for users, and make a special root where they own /nix
<copumpkin>
clever: I don't need any special power to create a user namespace + filesystem namespace + bind mounts from folders I control into there
<clever>
jasom: most of that patching is done at compile time, once its compiled, the length of the string is encoded in weird places and it cant easily be re-patched
<jasom>
copumpkin: e.g. programs that need to locate plugins nix will generate wrapper scripts for
<copumpkin>
yeah, but none of that is binary patching
<clever>
copumpkin: ah, that must be some new features, but what stops me from creating a namespace where i control the contents of /etc/shadow?
<copumpkin>
if you're willing to rebuild the packages, then you can use paths other than /nix
<copumpkin>
clever: it has a different set of users from the host
<clever>
copumpkin: ah, same as the uid namespaces and mapping i saw in nix's build.cc recently
<copumpkin>
yeah, that's it
<clever>
copumpkin: so even if i run a setuid root program, its not root root
<copumpkin>
yup
<copumpkin>
although grsecurity turns off the unprivileged user namespaces feature :)
<copumpkin>
for not-entirely-unreasonable reasons
<clever>
which broke the sandboxing in chromium for instance
<copumpkin>
yup
<jasom>
copumpkin: and then the closures I can generate from that are still only useful for that different build-time fixed path. I was thinking that nix itself has 95% of what is necessary for building portable applications, but there would be a lot of work in the nixpkgs to make sure each package could be relative
<clever>
jasom: have you seen what the bootstrap and initrd stuff does?
<jasom>
clever: I haven't looked at that, no.
the_scourge has joined #nixos
<clever>
jasom: in both cases, you are taking the ELF binaries, and libraries from dozens of derivations, copying them to a new $out/{bin,lib}, and then re-running patchelf to fix the RPATH's
<clever>
jasom: so you can merge them into a single derivation, often omiting libs that arent needed, and docs
<jasom>
clever: if we used relative RPATHS in the first place, wouldn't that be unnecessary?
<clever>
jasom: the bootstrap tools use this to create a single .tar.gz, that contains a fully working compiler toolchain, and nixpkgs will unpack that to yet another $out, and re-patchelf it once more
<clever>
jasom: and use that to bootstrap the entire stdenv
<clever>
jasom: and the initrd stuff uses that to omit un-used libs, and docs, from the initrd
<copumpkin>
anyway, not saying it's impossible
<clever>
relative rpaths wont help for the initrd side of things, and only partialy help for the bootstrap, which still needs to be merged, which also breaks the relative paths
<copumpkin>
but it'd be a massive undertaking
<copumpkin>
people would need to keep a close eye on how their packages refer to everything
<copumpkin>
rpaths could be automated fairly easily, but there are many other types of paths all over the place, and not all the code that encounters them is happy with them being relative
<clever>
yeah
<copumpkin>
(i.e., relative to what?)
<jasom>
copumpkin: that's my point with non-relative paths not being an issue with nix itself, but it would be a lot of extra porting work
<clever>
both the bootstrap and initrd stuff basicaly ignore all of the other paths
icetan[m]1 has left #nixos ["User left"]
<copumpkin>
yeah, my bigger point is just that it's hard to know you even did it right
<clever>
i think they use nukeReferences to blow all of them away
<copumpkin>
like, who's to say there isn't some obscure code path you only hit every 5 years that hits an absolute path
<clever>
yep, line 111 of the file i just linked, nuke-refs -e $out $i
<copumpkin>
but I guess the same issue we have with /usr/bin and the like
<clever>
copumpkin: except /usr/bin will break on all nixos machines, while relative vs absolute will only break if things got moved
<copumpkin>
yeah
frumpagumpus has joined #nixos
icetan[m]1 has joined #nixos
zagy has quit [(Quit: Leaving.)]
madjar has quit [(Quit: Connection closed for inactivity)]
rardiol has quit [(Ping timeout: 244 seconds)]
cgdub has quit [(Ping timeout: 244 seconds)]
eacameron has quit [(Remote host closed the connection)]
rardiol has joined #nixos
estewei has quit [(Quit: Quit)]
amarsman has joined #nixos
takle has joined #nixos
justanotheruser has quit [(Ping timeout: 256 seconds)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
icetan[m]1 has quit [(Remote host closed the connection)]
MatrixBot_icetan has joined #nixos
icetan[m]1 has joined #nixos
plumps has quit [(Read error: Connection reset by peer)]
plumps_ has joined #nixos
eacameron has joined #nixos
<jasom>
Even just executing with relative paths is hard; all ld.so binaries would have to be wrapped with a script that invokes the correct interpreter, as linux does not resolve non-absolute INTERP paths relative to the executable
takle has joined #nixos
icetan[m]1 has quit [(Remote host closed the connection)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
MatrixBot_icetan has joined #nixos
icetan[m]1 has joined #nixos
eacameron has quit [(Remote host closed the connection)]
exadeci has quit [()]
rly has quit [(Ping timeout: 246 seconds)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
icetan[m]1 has quit [(Remote host closed the connection)]
takle has quit [(Remote host closed the connection)]
MatrixBot_icetan has joined #nixos
icetan[m]1 has joined #nixos
c__ has joined #nixos
erasmas has quit [(Quit: leaving)]
frumpagumpus has quit [(Ping timeout: 260 seconds)]
_c_ has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/v1vRP
<NixOS_GitHub>
nixpkgs/master 88fa370 Peter Simons: Merge pull request #20652 from Profpatsch/hdbc-odbc-haddock...
pstn_ has joined #nixos
takle has joined #nixos
icetan[m]1 has quit [(Remote host closed the connection)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
MatrixBot_icetan has joined #nixos
icetan[m]1 has joined #nixos
matthewbauer has quit [(Ping timeout: 260 seconds)]
<greymalkin>
How can I get the output of a shell command in nix?
takle has quit [(Remote host closed the connection)]
<jasom>
greymalkin: the same as on any other distro?
<greymalkin>
Nevermind... I was looking in builtins rather than stdenv
<greymalkin>
stdenv.shell
<jasom>
ah
<Ralith>
he means in nix expressions, I assume
<greymalkin>
Oh... nope. That's the name of the default shell.
<greymalkin>
indeed.
<greymalkin>
I know it goes against purity, but I'm running Nix on Arch. I'd like to build the opengl driver variations (which are nvidia in this case) based on the version of the nvidia driver installed in the host system; e.g. arch.
<Ralith>
I don't think there's a way
<Dezgeg>
I think you could readFile on the build result of a derivation, which might or might not be good enough
NixkorN has joined #nixos
<jasom>
greymalkin: might be easiest to write a script that generates a .nix file and run that after arch upgrades
alx741 has quit [(Quit: alx741)]
<jasom>
greymalkin: or you could use fetchfile to copy in whatever you need to determine the version from nix
<jasom>
discard that last idea, it was stupid
amarsman has joined #nixos
alx741 has joined #nixos
<greymalkin>
What I'll probably end up doing is to write a script that parses the version, then passes that as an argument through nix-build to the expression. Have a lookup table of version->hashes and then if it's not there (one I haven't "catalogued" yet, then it should fail and let me know.)
arjen-jonathan has joined #nixos
madbub has quit [(Remote host closed the connection)]
cgdub has joined #nixos
amarsman has quit [(Ping timeout: 248 seconds)]
redmq has quit [(Ping timeout: 245 seconds)]
matejc[m] has joined #nixos
<greymalkin>
So... following up on this. I remember there being some way to tag a derrivation such that it doesn't get garbage collected, but I can't find the reference.
<joepie91>
greymalkin: you'd add a garbage collection root, although I'm not sure how
<joepie91>
:P
matejc[m] has left #nixos []
plumps_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub>
[nixpkgs] montag451 opened pull request #20661: git-annex-remote-rclone: init at 0.4 (master...git-annex-remote-rclone) https://git.io/v1vzP
MichaelRaskin has joined #nixos
rly has joined #nixos
plumps has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
the_scourge has quit [(Ping timeout: 256 seconds)]
<jasom>
Is there a program that lets me evaluate a nix expression that *isn't* a derivation? I'm seeing a builtin function behave differently from what I expect.
<ibrahims>
hey, nixops can't get ssh shell to a machine saying permission denied
<ibrahims>
but i can access to a machine with a key i specified during last deployment
<ibrahims>
do you know what might have gone wrong?
<ibrahims>
which key does nixops use?
<jasom>
builtins.readFile { path = ./foo.txt; } is giving me: "error: cannot coerce a set to a string, at (string):1:1"
<ibrahims>
builtins.readFile ./foo.txt; might work
<jasom>
ibrahims: indeed
takle has joined #nixos
estewei has joined #nixos
jensens has quit [(Ping timeout: 246 seconds)]
<ibrahims>
does anybody know about which key nixops tries to use?
takle has quit [(Ping timeout: 268 seconds)]
<jasom>
greymalkin: https://gist.github.com/jasom/b733f2e9fb5909685d518f38e80c477b will run foo.sh to generate output whenever foo.txt changes; foo.txt can be a symlink to somewhere else in the system, so if you use a symlink to something that will change when the nvidia driver changes, it can create different output that can be arbitrary, and you can use that, in turn, to select the version of the nvidia driver to
<jasom>
install.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<greymalkin>
That should ensure that I can clearly build nvidia driver libraries which match my host Arch installation.
algae has quit [(Quit: leaving)]
<greymalkin>
jasom: I ended up just making the host nvidia version a derivation of its own, and then incorporating that into the buildEnv.
xadi has quit [(Quit: Leaving.)]
<greymalkin>
This was based on a previous gist that someone posted the other day to build the /run/opengl-driver link.
goibhniu has quit [(Ping timeout: 260 seconds)]
xadi has joined #nixos
redmq has joined #nixos
Wizek_ has quit [(Ping timeout: 260 seconds)]
ryanartecona has joined #nixos
<jasom>
greymalkin: I don't think that will rebuild when /usr/share/doc/nvidia changes, but I might be wrong
xadi has quit [(Quit: Leaving.)]
<jasom>
greymalkin: if you set id to something that changes when /usr/share/doc/nvidia changes (see my gist for an example) it will rebuild on a change
hiratara has quit [(Ping timeout: 245 seconds)]
intransitive_rac has joined #nixos
<Dezgeg>
it will change due to the 'src = /usr/share/doc/nvidia;' line
Shou has quit [(Ping timeout: 244 seconds)]
<jasom>
Dezgeg: ah, it does seem to. It doesn't in the case of a symlink though; then it only changes if the path the symlink points to changes
<aaronlevin>
question: question related to buliding haskell environments: how do you fix / resolve package collissions? I'm having one with optparse-simple-0.0.3
Shou has joined #nixos
<aaronlevin>
I've tried: `nix-store -q --referrers /nix/store/*-optparse-simple-0.0.3 | xargs -L 1 nix-store --repair-path`, which seemed to do something but the problem remains.
cpennington has quit [(Remote host closed the connection)]
cgdub has quit [(Ping timeout: 252 seconds)]
frumpagumpus has joined #nixos
Wizek_ has joined #nixos
icetan[m]1 has quit [(Remote host closed the connection)]
MatrixBot_icetan has quit [(Remote host closed the connection)]
Guest2 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<viric>
damn. openshot is a python thing. It locked my ui+mouse for long when I requested to see the waveform of the audio... (1h30m ogg).
<viric>
doesn't seem to know multithread.
<MichaelRaskin>
At some point synthesizing the video from scratch in Blender will be simpler than trying to edit the actual footage…
<viric>
:)
<viric>
people claim that Blender is, in fact, a good video editing tool
<viric>
In fact I only need to add a title slide and synchronise multiple audio tracks
<viric>
I only have one video source
tomb has joined #nixos
<MichaelRaskin>
Obviously, if you synthesize from scratch you have all the structure in a relatively convenient form…
<viric>
:)
<viric>
Now I'm kind of using audacity apart to prepare the audio track
<c74d>
What's the preferred way in NixOS to pin packages such that they'll be kept in the store and not garbage-collected, without putting them in `environment.systemPackages`?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<MichaelRaskin>
nix-env, possibly with --set? nix-build with -o?
<c74d>
oh; my apologies, I was hoping for something declarative in /etc/nixos/configuration.nix
the_scourge has quit [(Ping timeout: 245 seconds)]
takle has joined #nixos
<MichaelRaskin>
Well, you could install a package that only has nix-support
<c74d>
I suppose I could have it write the store paths of the derivations I want "pinned" into some file in /etc
<MichaelRaskin>
Also an option
<c74d>
what do you mean by nix-support?
<MichaelRaskin>
add a «package» to systemPackages that only has "$out/nix-support/forced-deps"
<c74d>
ah
<c74d>
thanks
takle has quit [(Ping timeout: 245 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
ryanartecona has joined #nixos
ilja_kuklic has quit [(Ping timeout: 256 seconds)]
ryanartecona has quit [(Client Quit)]
Shou has joined #nixos
offlinehacker has quit [(Read error: Connection reset by peer)]
alx741 has quit [(Ping timeout: 252 seconds)]
offlinehacker has joined #nixos
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
tomb has quit [(Ping timeout: 246 seconds)]
alx741 has joined #nixos
eacameron has joined #nixos
k2s has quit [(Ping timeout: 256 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
stkj has joined #nixos
<stkj>
is there some gentle soul out there that could point me out how to install bitlbee with libpurple support? I have tried to customize the package but I failed miserably :(
justanotheruser has joined #nixos
Shou has quit [(Ping timeout: 260 seconds)]
herzmeister has quit [(Quit: Leaving)]
nitrix has quit [(Read error: Connection reset by peer)]