<Zer000>
mellowmaroon, filterAttrsRecursive did the trick
<Nobabs27>
"near line 16"
mellowmaroon has quit [(Ping timeout: 260 seconds)]
<clever>
Nobabs27: can you gist more of the error?, nixos-rebuild build 2>&1 | gist -p
<clever>
oops with 1 more - at the end
<Zer000>
clever, I have another problem with hydra, it evaluated my expression but all the jobs are queued up and nothing is running. what's up with that?
<clever>
Zer000: did you add a build slave in nix.buildMachines?
<Zer000>
n..no?
<Zer000>
what's that
<clever>
Zer000: then it has no slaves to build on
<Zer000>
I have written a service that seems to be ignoring environment.systemPackages http://dpaste.com/0C5ZQ8S.txt when i do nixos-rebuild test it won't start because the package is not installed
kombinator has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to release-17.03: https://git.io/vHTKd
<NixOS_GitHub>
nixpkgs/release-17.03 a895b02 Patrick Callahan: fish: source NixOS environment on non-login shells, when it hasn't been...
<NixOS_GitHub>
nixpkgs/release-17.03 3f88905 Patrick Callahan: fish: (NixOS only) source configuration sections anew in all child shells...
<clever>
your using an absolute path, so it doesnt need to be "installed" to work
<clever>
what error is it having?
<LnL>
you don't even need to explicitly add it to environment.systemPackages unless it has a client or something an interactive user would want in their profile
<clever>
its using fake derivations, with storepaths in them
det has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<Zer000>
I unfortunately don't even know that that means
<clever>
Zer000: try switching the import out to import the original nix expressions, not the hydra channel
kombinator has quit [(Ping timeout: 245 seconds)]
<Zer000>
that's a lot of work
<LnL>
aha! I was thinking it had to be something like that
<Zer000>
I have to build rust-nightly to build ruma
<Zer000>
so I spent all day configuring hydra to do that :(
<clever>
Zer000: if you point the client at the exact same ruma expression, on the same nixpkgs, it will just use the hydra version
<clever>
thats exactly how nixpkgs and hydra.nixos.org work
<Zer000>
clever, but you saw my default.nix file for ruma, it's a function with two inputs: ruma_src and rust_nightly, so I would have to fill those in
kombinator has joined #nixos
<Zer000>
I guess I can use fetchgit and import the expression that builds rust channels?
<clever>
yeah, you need to put in a fixed-output derivation like fetchurl or fetchgit, and provide the hash of the src
<Zer000>
ok
<clever>
and given that src hash, it will compute the path that the compiled ruma lands in
<clever>
then it checks the binary caches for that path
kombinator has quit [(Remote host closed the connection)]
<Zer000>
so I actually have hydra_ruma in my channels but I not in nix.binaryCaches
kombinator has joined #nixos
<clever>
if things where working correctly, it would have complained that it didnt know how to build it
<clever>
so adding it to the binary cache list wont help any
<Zer000>
ok. clever can you explain this fake derivation thing? what's it for?
<clever>
ive never used that part of hydra
<Zer000>
ok
freusque has joined #nixos
<Zer000>
the problem is that with what you've suggested I would have to change the hash of the src repo every time I want to update the service manually, rather than it just pulling the latest channel from my hydra and updating all by itself
<Zer000>
so it sort of defeats this rolling release setup
<Zer000>
Anyway you've helped me like... thrice today at least thank you
<clever>
not sure how to solve that, most of the framework in nix is designed to make things reproducable, so it doesnt just update to random versions without warning
takle has joined #nixos
kombinator has quit [(Ping timeout: 258 seconds)]
<Zer000>
there are channels that the os uses to update, maybe I'm not understanding how that works
bin7me has joined #nixos
<clever>
the main nixos-unstable channel contains a snapshot of the nixpkgs git repo
<clever>
and a script will update that pointer when a set of jobs on hydra passes
<clever>
and the versions within that, only update when people make commits to nixpkgs
<Zer000>
oh! I was under the impression that the nixos channels are generated by hydra
<Zer000>
hmm ok well I can make a script like that
MichaelRaskin has left #nixos []
kombinator has joined #nixos
kombinator has quit [(Remote host closed the connection)]
kombinator has joined #nixos
nixos-users-wiki has quit [(Remote host closed the connection)]
m0rphism has joined #nixos
kombinator has quit [(Ping timeout: 258 seconds)]
orivej has joined #nixos
phreedom has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHTXW
<NixOS_GitHub>
nixpkgs/master c46c3fa Rhys: cython: build on 32-bit ARM
<NixOS_GitHub>
nixpkgs/master 64a924a Frederik Rietdijk: Merge pull request #25981 from rimmington/cython-arm-pr...
<sphalerite>
Is it possible to have a nixos installer, booted off a USB stick, install itself to that same usb stick?
Mateon1 has quit [(Ping timeout: 268 seconds)]
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to release-17.03: https://git.io/vHTX4
<NixOS_GitHub>
nixpkgs/release-17.03 9fd6417 Rhys: cython: build on 32-bit ARM...
NixOS_GitHub has left #nixos []
<sphalerite>
bkchr: yes
<bkchr>
My second questions is regarding wayland support, I know that there is an open ticket, but I wanted to try a nested kwin instance first, but it complains that the qt wayland platform plugin could not be found, any ideas what I need to do?
<bkchr>
sphalerite: Could you give me an example? or just (makeAutostartitem { name="yakuake", package=pkgs.yakuake });
<sphalerite>
bkchr: I don't know how makeAutostartItem is used, sorry
<sphalerite>
bkchr: I've briefly tried out sway. It worked but I didn't do much with it
<ertes-w>
sphalerite: thanks… is there something i can do?
exarkun has joined #nixos
kombinator has joined #nixos
<bkchr>
sphalerite: hmm okay, thanks
filterfish has joined #nixos
<sphalerite>
ertes-w: not that I know of. I guess you could un-split the derivations but that would result in huge amounts of rebuilds
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
koserge has joined #nixos
<vaibhavsagar>
which package do I need to make available to nix-shell in order to have boost/shared_ptr.hpp?
kombinator has quit [(Remote host closed the connection)]
<vaibhavsagar>
I tried boost and boost.dev
kombinator has joined #nixos
hke has quit [(Quit: bye)]
hke has joined #nixos
takle has quit [(Remote host closed the connection)]
<ertes-w>
sphalerite: no, i mean can i contribute a patch that would fix it for individual packages, or is this a deeper issue?
<ertes-w>
not having info manuals is super-inconvenient
<ertes-w>
so i really want this fixed as quickly as possible
kombinator has quit [(Remote host closed the connection)]
kombinator has joined #nixos
<sphalerite>
ertes-w: I don't know the details of what the actual problem is, but I'm sure patches would be welcome
<sphalerite>
vaibhavsagar: boost does seem to include it
kombinator has quit [(Ping timeout: 240 seconds)]
<vaibhavsagar>
will `nix-shell -p boost` not work?
peti has quit [(Ping timeout: 240 seconds)]
peti has joined #nixos
<sphalerite>
vaibhavsagar: you still need to have something adding the relevant compiler flags
<vaibhavsagar>
sorry sphalerite, what would those be?
<vaibhavsagar>
you mean adding the library to the search path?
takle has joined #nixos
<sphalerite>
yes
apeschar has quit [(Quit: Page closed)]
kombinator has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.7.1)]
filterfish has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
kombinator has quit [(Remote host closed the connection)]
kombinator has joined #nixos
stepho has joined #nixos
kombinat_ has joined #nixos
kombinator has quit [(Ping timeout: 255 seconds)]
kombinat_ has quit [(Remote host closed the connection)]
kombinator has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
JagaJaga has joined #nixos
filterfish has quit [(Ping timeout: 245 seconds)]
reinhardt has joined #nixos
freusque has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh opened pull request #25985: Python: add sitecustomize.py, listen to NIX_PYTHONPATH (staging...site) https://git.io/vHT7r
NixOS_GitHub has left #nixos []
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
reinzelmann has quit [(Ping timeout: 260 seconds)]
derjohn_mob has joined #nixos
systemfault has quit [(Quit: Bye!)]
nixos-users-wiki has joined #nixos
AveryGlitch has joined #nixos
<AveryGlitch>
Hi all, I'm having a problem with gnat that I'm pretty sure might be because of a nixos configuration issue
<AveryGlitch>
I've run `nix-env -iA nixos.gnat` then `gnat make hello_world.adb` (where hello_world.adb is a simple ada file); but I get 'gnat1: error: unrecognized command line option "-fstack-protector-strong"
kombinat_ has quit [(Remote host closed the connection)]
kombinator has joined #nixos
orivej has quit [(Ping timeout: 246 seconds)]
bennofs has joined #nixos
mudri has joined #nixos
kombinator has quit [(Ping timeout: 272 seconds)]
JagaJaga has quit [(Ping timeout: 268 seconds)]
bennofs has quit [(Client Quit)]
<vaibhavsagar>
If I have a haskell repo with subprojects, can I specify a subdirectory with fetchFromGitHub?
<ben>
I expect you'd use fetchFromGithub to fetch the whole tree and then just append the subdir to the path that is the result of that derivation
<ben>
I think fetchFromGithub { ... } + "/more/dirs/here" would work?
<vaibhavsagar>
ben: Thanks! That seemed to work!
MP2E has quit [(Quit: sleep)]
<ben>
(I think git has no support for fetching specific subdirectories from the remote side so this shouldn't be particularly suboptimal either)
<sphalerite>
As a bonus, if you use the same fetchFromGithub for all of the subprojects (would probably make sense to share it between them explicitly) it will only download the source once for all the projects
<vaibhavsagar>
I'm surprised how well this works
<vaibhavsagar>
I wouldn't expect fetchFromGitHub to be returning something that can have a path appended to it
nixos-users-wiki has quit [(Remote host closed the connection)]
nixos-users-wiki has joined #nixos
asymmetric1 has quit [(Ping timeout: 240 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
jensens has quit [(Remote host closed the connection)]
jensens has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
asymmetric1 has joined #nixos
AveryGlitch has quit [(Remote host closed the connection)]
<sphalerite>
vaibhavsagar: it's a derivation like any other. As a string, it becomes the path to its result. It's the same as e.g. "${coreutils}/bin/rm"
c0c0n3 has joined #nixos
asymmetric1 has quit [(Quit: WeeChat 1.8)]
nslqqq has quit [(Ping timeout: 246 seconds)]
<vaibhavsagar>
ahh, that makes sense when you put it that way
exarkun has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
exarkun has joined #nixos
orivej has joined #nixos
det has quit [(Remote host closed the connection)]
det has joined #nixos
pie_ has joined #nixos
mudri has joined #nixos
filterfish has joined #nixos
nslqqq has joined #nixos
aanderse has quit [(Remote host closed the connection)]
aanderse has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
aanderse has quit [(Remote host closed the connection)]
det has quit [(Ping timeout: 246 seconds)]
aanderse has joined #nixos
nslqqq has quit [(Remote host closed the connection)]
Bradyn2000 has quit [(Ping timeout: 268 seconds)]
nslqqq has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
nslqqq has quit [(Ping timeout: 240 seconds)]
nslqqq has joined #nixos
det has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Fuuzetsu pushed 2 new commits to master: https://git.io/vHkfB
<NixOS_GitHub>
nixpkgs/master cb5cb0b Mateusz Kowalczyk: services.jenkins.plugins: fix initial case
exarkun has quit [(Read error: Connection reset by peer)]
acarrico has joined #nixos
<SovereignBleak>
Does NixOS support installing to a partitionless BTRFS?
Bradyn2000 has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
<domenkozar>
ikwildrpepper: if I change deployments.ec2.instanceType on existing deployment, will nixops reprovision bigger instance and attach all resources?
<ikwildrpepper>
domenkozar: assuming you do not switch from pv-grub to hvm instance types, it should yeah, if providing the --allow-reboot option
<ikwildrpepper>
(not providing will warn about it needing --allow-reboot to change the instance type)
<domenkozar>
great :)
exarkun has joined #nixos
<ikwildrpepper>
domenkozar: there no re-attaching happening btw. it'll just stop machine, then set instance type, and then start the machine again
<domenkozar>
so if I have elstatic IP it won't be reattached?
<ikwildrpepper>
ah, you are right, it would
<ikwildrpepper>
forgot about the fact that stopping machine would de-tach IP, but indeed nixops will make sure it will get it back
<domenkozar>
shouldn't that really force it into a string?
<domenkozar>
while evaluating the attribute ‘default’ at /nix/store/vzvl9p052w6glwn7hjk83bzw5rnssh3n-nixops-1.5.1pre0_abcdef/share/nix/nixops/keys.nix:58:7:
<domenkozar>
getting attributes of path ‘/var/lib/keys/tarsnap’: No such file or directory
<ikwildrpepper>
gchristensen: sure, just expressing a personal preference :D
<gchristensen>
ikwildrpepper: fair enough :) I think your biggest use case is not long-lived machines, is that right?
LnL has quit [(Quit: exit 1)]
<ikwildrpepper>
gchristensen: we just test copies of network, so (almost) never in need of a rolling update
LnL has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] MP2E pushed 2 new commits to master: https://git.io/vHkkZ
<ikwildrpepper>
and if you think a PR takes to long to merge, just ask niksnut, me, phreedom or domenkozar. I didn't have time really to look at nixops since back from holiday and other travels
Tucky has quit [(Remote host closed the connection)]
<LnL>
test?
<phreedom>
gchristensen: a very useful feature IMO as long as you don't break anything
Tucky has joined #nixos
kombinator has joined #nixos
<domenkozar>
anyone knows how to correctly strip path -> string context?
<phreedom>
gchristensen: if noone notices we merged your patch, you certainly didn't break anything :)
<GeNTooFReaK>
gchristensen: thanks
<domenkozar>
ikwildrpepper: the PR should be ready soon
<domenkozar>
but now I wonder if we should bump to 1.6
darlan has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
GeNTooFReaK has quit [(Quit: Page closed)]
kombinator has quit [(Remote host closed the connection)]
kombinator has joined #nixos
<LnL>
I think my question didn't go through earlier, is it possible to use a drv file as a dependency?
<LnL>
I tried some stuff but the drv file wasn't considered to be alive so a gc would just delete it
kombinator has quit [(Ping timeout: 245 seconds)]
Wizek has quit [(Read error: Connection reset by peer)]
judson has quit [(Ping timeout: 260 seconds)]
<ikwildrpepper>
domenkozar: we can
<ikwildrpepper>
domenkozar: or maybe 17.05 :D
<gchristensen>
NixOS should get on this monthly release schedule
<gchristensen>
troll.jpg
__Sander__ has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
Judson has joined #nixos
Judson is now known as Guest38409
proteusguy has joined #nixos
kombinator has joined #nixos
<c0c0n3>
hi guys, anyone have an example of a nixos container running a tcp service on port x, say httpd on port 80, that you can access from the host?
<exarkun>
sure
<c0c0n3>
i have internalInterfaces = ["ve-+"]; externalInterface = nat-interface; in my host config
<c0c0n3>
with nat enabled
<bkchr>
Hi, I'm on nixos-unstable-small channel and updated today my channel and wanted to rebuild, but the build does not want to finish building ibus 1.5.14, it hangs here https://pastebin.com/Gi4tjkHS . I already let it running 3 hours
<exarkun>
Hm, I don't have anything like that.
<exarkun>
What do you mean by a "nixos container"?
<pafck>
hey, i m super annoyed by pulseaudio. I'm trying to use my microphone, it shows up in pavucontrol when i plug it in and channels are not muted and volume seems ok but input is completely blank. Do you think it is a pulseaudio issue ? Any of you experienced the same issue ?
Myrl-saki has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub>
[nixpkgs] knedlsepp opened pull request #25992: eccodes: Provide python bindings (master...provide-eccodes-python-bindings) https://git.io/vHk46
NixOS_GitHub has left #nixos []
<pafck>
really, i don't want that in my configuration fils :x
<pafck>
files*
<Infinisil>
makefu: What is this monstrosity??
<makefu>
Infinisil: my awesomewm configuration ;)
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
DrWaste has joined #nixos
<thblt>
Hey, mind a (probably) stupid question :)? I'm beginning to grasp how the global /etc/nixos/configuration.nix works, but I don't really understand if there's a way for users to configure the packages they want in *their* environment, beyond '$ nix-env -i etc'. Is there a "standard" way to express things like "I want this version of Emacs, and this browser, etc etc?". Should the whole config be system-wide, or can users write nix-exprs
<thblt>
that would build their profile?
<thblt>
I've been looking around a bit, found NixPkgs issue #1750 among other things, but I'm still more than a bit confused as to which parts of what I read apply to NixOs, which parts to Nix as only a package manager in a foreign OS.
<thblt>
Thanks :)
<makefu>
Infinisil: it looks super complicated but it works for me, it is very similar to xmonad where you also code the behavior of your wm.
<makefu>
at least it is not stateful (in my home directory) but under version-control and part of my nixOS configuration
peacememories has joined #nixos
<Infinisil>
thblt: I'm a bit confused about this too, I asked this before and I believe clever (user here) uses a userspecific nix file like configuration.nix and uses some nix-env command to rebuild and install it, it's definitely possible
<peterhoeg>
gchristensen: pong
phreedom has quit [(Ping timeout: 260 seconds)]
<Infinisil>
makefu: I see, statelessness ftw, I'm still in the early days of configuration, so my files still look innocent, but they get bigger every week heh
<thblt>
So actually the point of https://github.com/NixOS/nixpkgs/issues/1750 is not to allow for declarative configuration of user environment by users, but to provide a centralized administration of user environments, right? (I'm trying to understand why the issue is still open since you can actually do what I thought it was about)
<gchristensen>
thblt: what do you mean you can do what you thought?
<thblt>
gchristensen: IIUC makefu's answers, NixOS users can configure their environment in a declarative/functional way with .nixpkgs/config.nix and nix-env, right? I assumed this was what this issue was about.
<gchristensen>
oohhh yes, -- I think this issue is about specifying user envs via configuration.nix
<makefu>
thblt: yes exactly
<thblt>
makefu gchristensen: thanks a lot. I'm slowly but surely starting to understand how NixOS works :)
<joepie91>
nliadm: but supposedly there are more up-to-date guides about it
<nliadm>
it seems like I should just have to make the users, chown the store, and start the daemon, but my last attempt involoved some spelunking in the store when it didn't work
<nliadm>
oh, awesome
<gchristensen>
there is a chef cookbook out there, and a puppet module somewhere that could be followed, but I don't remember where they are :(
<nliadm>
ah, yeah, the manual doesn't say anything about how to create a new profile
<nliadm>
which I assumed nix-env would do when invoked, but it doesn't
dbmikus_ has joined #nixos
<makefu>
joepie91: would you mind adding the guide to the nixos-users wiki? https://github.com/nixos-users/wiki/wiki , you can simply copy-paste the documentation in a new file ("Nix in multi-user mode on a non-NixOS")
johnsonav has quit [(Ping timeout: 246 seconds)]
Tucky has quit [(Ping timeout: 260 seconds)]
<SovereignBleak>
So I just completely threw out my old i3 configuration and switched over to barebones gnome3 but it looks like NixOS is massively behind in versioning.
acertain has joined #nixos
acertain has quit [(Remote host closed the connection)]
<SovereignBleak>
Is it true we’re just at 3.0?
<gchristensen>
3.22 I think?
<makefu>
SovereignBleak: depends on the channel you are using
<makefu>
unstable is on 3.22
<gchristensen>
so is 17.03
<SovereignBleak>
I’m using 17.03.
<gchristensen>
how did you decide we're at 3.0?
<SovereignBleak>
I didn’t decide it’s just that Details is telling me 3.0. :-)
bkchr has joined #nixos
<SovereignBleak>
“Came to the conclusion” maybe erroneously?
<gchristensen>
fair ;) not sure how it concluded 3.0, we're on 3.22
<gchristensen>
how did you enable gnome?
<SovereignBleak>
gnome3.enable = true
<gchristensen>
yeah, I don't know :P
Bradyn2000 has quit [(Ping timeout: 268 seconds)]
<SovereignBleak>
Weird! Hah. I’ll do some digging maybe I’m actually running latest and Details is lying to me.
<joepie91>
makefu: slightly hesitant about that, as I'm unsure how up-to-date it is :)
<gchristensen>
at least it can be edited and updated there
bkchr has quit [(Client Quit)]
<makefu>
yes exactly
<makefu>
better than linking to an uneditable gist :)
<gchristensen>
alternatively, I would highly encourage adding it to the Nix manual
<SovereignBleak>
Details is lying. gnome-shell --version reports 3.22.
<gchristensen>
*phew*
earldouglas has joined #nixos
dbmikus_ has quit [(Quit: WeeChat 1.7)]
dbmikus_ has joined #nixos
dbmikus is now known as Guest57256
Guest57256 has quit [(Killed (weber.freenode.net (Nickname regained by services)))]
dbmikus_ is now known as dbmikus
Guest57256 has joined #nixos
<disasm>
joepie91: I would say add it, people can always make changes later.
<disasm>
very detailed documentation by the way!
<joepie91>
I'll have a look at it later, then :)
c0c0n3 has quit [(Ping timeout: 260 seconds)]
ertes-w has quit [(Ping timeout: 240 seconds)]
<FRidh>
gchristensen: do you recall the issue where a wrapper binary was brought up?
gandulio has joined #nixos
<FRidh>
I think it was copumpkin who mentioned it somewhere
<gchristensen>
FRidh: I don't, but could dig around. I have "rewrappers" which take a wrapped binary and unwraps it and makes a new wrapper without a shell script shebang
<TweyII>
How do I get NixOS to build me a static version of libcurl? nixpkgs.curl only seems to build shared objects, but a library I'm trying to build wants a static library
<makefu>
TweyII: not sure there is a generic way to do it, what you can do is overwrite makeflags of the package
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 5 new commits to master: https://git.io/vHkpd
<NixOS_GitHub>
nixpkgs/master da8b2f1 John Ericson: lib tests: Simplify relative path for default argument
<NixOS_GitHub>
nixpkgs/master 2e7ec6f John Ericson: lib: Make platform predicates more ergonomic to use...
<NixOS_GitHub>
nixpkgs/master c5c6606 John Ericson: lib: Infer `libc` field of platform if not specified...
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
<TweyII>
makefu: Hmm
mudri has quit [(Ping timeout: 260 seconds)]
<TweyII>
makefu: Annoyingly, it looks a lot like the way to make curl build a static library is to forbid it from building a dynamic library
nevermind has joined #nixos
Itkovian has joined #nixos
georges-duperon has joined #nixos
m0rphism has joined #nixos
<bennofs>
isn't there a stdenvStatic or something?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
acarrico has quit [(Ping timeout: 246 seconds)]
<TweyII>
But that causes it not to get added to pkgconfig O.O
jsgrant_ has joined #nixos
marsel has joined #nixos
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #25997: stdenv: Rename `isGNU` to `isHurd` as GNU is a userland (master...isHurd) https://git.io/vHIv7
NixOS_GitHub has left #nixos []
<bennofs>
TweyII: pkg-config files are in the .dev output
tokudan has joined #nixos
<TweyII>
Ah! Thank you :)
pbogdan has joined #nixos
stanibanani has joined #nixos
TweyII has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] czyzykowski opened pull request #25998: ghc: 8.0.2 without link warnings (master...fix/25139-ghc-warnings) https://git.io/vHIUr
NixOS_GitHub has left #nixos []
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
katyucha has quit [(Killed (hitchcock.freenode.net (Nickname regained by services)))]
Guest42740 is now known as katyucha
mkoenig has quit [(Remote host closed the connection)]
katyucha_ has joined #nixos
pbogdan has quit [(Ping timeout: 260 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mkoenig has joined #nixos
MichaelRaskin has joined #nixos
mudri has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gentoofreak opened pull request #25999: swap: extend randomEncryption to plainOpen and ability to select cipher (master...swap-randomEncryption-options) https://git.io/vHImj
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
kirelagin has joined #nixos
peacememories has joined #nixos
marsel has joined #nixos
carlosda1 has joined #nixos
Jackneill has quit [(Ping timeout: 246 seconds)]
cfricke has joined #nixos
<cfricke>
Howdy. I am going quite mad trying to get intero built. Apparently, when using `nix.enable: true` in stack's config, the terminfo package still fails due to missing ncurses, even though it's yaml contains `nix.package: [ncurses]`. Is this a known issue somehow? I have looked for the past 4h in intero's, stack's and nixpkgs' issues. It pops up here and there, but nothing concrete.
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
kirelagin has joined #nixos
nh2 has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
kirelagin has quit [(Client Quit)]
kirelagin has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
nh2 has quit [(Ping timeout: 240 seconds)]
<srhb>
cfricke: PErhaps try in #haskell-stack. Its workings are a bit mysterious to me.
carlosda1 has quit [(Ping timeout: 240 seconds)]
Wizek_ has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<WilliButz>
Hey, I'm currently trying to build "haskellPackages.network-interfacerequest". The build process seems to fail due to a missing dependency ("bytestring <0.10"). the bytestring package is also declared in the hackage-packages.nix but with version "0.10.8.1". Can someone tell me how I get this dependency to be available? :)
<gchristensen>
jascot[m]: can you open an issue on github.com/nixos/nixpkgs?
<bennofs>
oh, the nixos-unstable branch on that repo looks really broken
<seequ_>
Someone lured me to try nixos. Really liking it!
<cfricke>
bennofs: Cheers. The arguments seem to be ignored or ineffective. Will try the other channel.
<gchristensen>
seequ_: woohoo! :D
<bennofs>
cfricke: do you have an example of a haskell package that requires ncurses?
<seequ_>
OOI, where can I find confs for packages installed with nix-env?
<bennofs>
cfricke: oh, terminfo
<gchristensen>
seequ_: nix-env packages don't have configurations like services do
<gchristensen>
seequ_: what are you trying to do?
<cfricke>
bennofs: Aye. That one. There are several tickets open/closed with random information. I am just very confused at this point.
edoput has joined #nixos
<seequ_>
gchristensen: Oh, I assumed all packages were configured with the nix language :)
<disasm>
https://github.com/NixOS/nixpkgs/pull/25907/files -- builds fine, when running in VM though it fails because preStart exited unsuccessfully. if I run the preStart as root user though, it works fine and restarting the service file comes up no issues.
<gchristensen>
seequ_: nix-env is just nix, which installs software to your env -- nixos & nixos's configuration.nix is where configuration & service management happen :)
<gchristensen>
seequ_: but maybe I can help you with something?
<seequ_>
gchristensen: just wanted to configure vim defaults globally
<gchristensen>
does vim look in /etc or something?
Guest94504 has quit [(Quit: Page closed)]
<seequ_>
Err, locally*
<seequ_>
I'm not actually sure, huh
<tokudan>
seequ_: the vim_configurable package allows some customization, but you basically need to write that package yourself. if you want i can give you a simple example
<gchristensen>
ahh nice tokudan
<htr>
heath: stack installing here
<htr>
installed.
<seequ_>
tokudan: I'd happily take an example
<tokudan>
ok, i'll throw it into a gist, just a second
simukis has quit [(Read error: Connection reset by peer)]
<bennofs>
cfricke: ok so you need packages: [ gcc ncurses ]
<disasm>
seequ_: yeah, it took me a few days to get in a state I was happy with it, but I haven't touched the config at all in almost a month.
systemfault has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
Filystyn has quit [(Ping timeout: 246 seconds)]
<disasm>
but now, I have that on all my nixos systems, and any cloud instances I launch with nixops get my vim/zsh config by default as well. sooo much nicer than my old dotfiles repo I used to clone and run a shell script to create symlinks all over my home directory.
lsyoyom has quit [(Quit: WeeChat 1.8)]
lsyoyom has joined #nixos
tokudan has quit [(Quit: Leaving)]
simukis has joined #nixos
<cfricke>
bennofs: Holy shit. You just blew my mind.
<cfricke>
bennofs: How did I not figure this out!? What gave it away?
* cfricke
needs to learn.
orivej has quit [(Read error: Connection reset by peer)]
drakonis has joined #nixos
<bennofs>
cfricke: to be fair, I just guessed this as well, remembering a recent discussion about needing to do the same with nix-shell -p (stdenv no longer includes the gcc setup hook)
<drakonis>
hmm, i have to use patchelf to make a binary unavailable in the repository work
<cfricke>
bennofs: Well, thank you sir for restoring my sanity.
<drakonis>
how do i work with it
<disasm>
drakonis: what are you trying to do?
<drakonis>
gonna get myself some fuchsia to compile
<disasm>
drakonis: essentially run patchelf to set interpreter on the binary and then wrapProgram to add any NIX_REDIRECTS you need since that program will be installed in the read only store.
<Infinisil>
gchristensen: You here?
<gchristensen>
hi Infinisil
<disasm>
drakonis: there's no /usr/lib in nix
<gchristensen>
so with the kexec your / is a ramdisk, so you can mount your actual main disk to / and add zfs
lsyoyom has quit [(Quit: WeeChat 1.8)]
<disasm>
drakonis: so you need to map all the dynamic libraries to where they are in the store.
<drakonis>
it does keep repeating that it is a bad substitution
lsyoyom has joined #nixos
<drakonis>
i'm aware of that part
<drakonis>
but i haven't done any patching
<Infinisil>
gchristensen: Ahh I see
<gchristensen>
sorry
<drakonis>
i want to compile fuchsia to see the new GUI they added last friday
<gchristensen>
you can add your actual main disk to /mnt *
<gchristensen>
Infinisil: ^
<drakonis>
and i don't want to make a vm or install ubuntu for that
derjohn_mob has joined #nixos
lsyoyom has quit [(Client Quit)]
hiberno has quit [(Ping timeout: 260 seconds)]
lsyoyom has joined #nixos
<drakonis>
where's nix cache again
hiberno has joined #nixos
<disasm>
drakonis: compile, so you have source code?
<Infinisil>
gchristensen: The current state of my server is that I have an external disk mounted on /, while the main disk is on /mnt, but when I do the whole partitioning, zpooling and installing stuff it doesn't boot anymore
<drakonis>
i'd have to compile jiri entirely
<drakonis>
does manual compilation already do patching?
<gchristensen>
Infinisil: hmm does DO give you console access?
<Infinisil>
gchristensen: Yes, they actually just fixed the online console so it doesn't crash every 5 seconds :D
<Infinisil>
gchristensen: Since I had that problem I got a bit smarter, I'll try again some other time
<Infinisil>
Haha I wondered how I'd get it, but that works :P
<gchristensen>
I can paste it at a URL if you'd prefer
<Infinisil>
Should work fine
georges-duperon has quit [(Ping timeout: 246 seconds)]
cfricke has quit [(Quit: WeeChat 1.7.1)]
<Infinisil>
Umm I think I messed something up, it crashed, damnit
bennofs has quit [(Ping timeout: 240 seconds)]
<dmj`>
anyone know which package jarsigner is in
<disasm>
drakonis: ok, so what I would do is do an stdenv.mkDerivation. Pass any build inputs needed to it, and then have that build script do your configure make make install... Then run nix-build to build that derivation.
<disasm>
I don't have time to play with it right now though, gotta watch the kiddo.
<drakonis>
got classes in an hour
<drakonis>
gotta get going soon
<Infinisil>
gchristensen: Well anyways, I'll ask some other time when I have more of an idea what's up and documented the steps I took, thanks!
<gchristensen>
Infinisil: sounds good :)
<drakonis>
there's more things that have to be built, not just jiri in there
<gchristensen>
my steps work flawlessly for Packet.net, and they're not so specific
hamishmack has quit [(Quit: hamishmack)]
<gchristensen>
other than obviously the many disks involved
<Infinisil>
Yeah, probably I'm overcomplicating stuff a bit, I'm not very experienced with this stuff yet
<gchristensen>
you don't _need_ a /boot partition if you're booting mbr
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #25960: znapzend service: Added options for logging and nodestroy (master...znapzend) https://git.io/vHUHB
NixOS_GitHub has left #nixos []
<gchristensen>
be sure to understand what _every line_ of that script is doing (it isn't long) and you'll probably end up with a working system
<Infinisil>
Do I want mbr though? Why not gpt?
<gchristensen>
well, does DO boot GPT?
<drakonis>
mbr has a partition size limitation
<drakonis>
partition count limitation too
<drakonis>
4 primary partitions
<gchristensen>
this is a DO box, and they're wanting to use ZFS I'd be surprised if they had many partitions
<drakonis>
zfs is fabulous.
<drakonis>
also gparted can die in a fire
<Infinisil>
Ahh I see, I just saw this today and wondered what's up with the 4 primary partitions
<drakonis>
i almost nuked my entire disk
matthewbauer has joined #nixos
<Infinisil>
What's so bad about gparted?
<drakonis>
i had a zfs partition
<drakonis>
was running freebsd a while ago
bennofs has joined #nixos
<drakonis>
i nuked zfs and then put ubuntu there then nixos
<drakonis>
when i was partitioning for nixos, it assumed everything was zfs
<drakonis>
which is a bad assumption
<drakonis>
not always zfs will eat everything
<Infinisil>
Soooooo it's your fault? Or am I missing something?
<drakonis>
okay so, zfs partitions leave a header of sorts on the beginning and end of a partition
<drakonis>
gparted picks up that header and assumes everything is zfs
<Infinisil>
You mean zpools?
<drakonis>
what no
<drakonis>
i mean a partition
<drakonis>
a disk partition
<drakonis>
like ext4 or btrfs
<Infinisil>
So you had a non-zfs partition and a zfs one
<drakonis>
sorta
<drakonis>
i had a ex zfs partition
<Infinisil>
Ahh I see
<drakonis>
it still had the headers
<Infinisil>
Ahh yeah that's pretty bad of gparted..
<drakonis>
so gparted went with the assumption that the entire disk is zfs instead of a single partition
<drakonis>
i almost nuked the entire disk trying to fix it
<Infinisil>
Almost? Did you press <C-c> really fast after realizing? xD
<Infinisil>
I really like it how a lot of people here are using zfs
<drakonis>
haw
<drakonis>
zfs is excellent
<Infinisil>
It really is
justelex has joined #nixos
<gchristensen>
ever since #Zfsonlinux corrected my misunderstandings, I've been a happy user
<drakonis>
which were?
<drakonis>
and i wish illumos and freebsd were more popular
<gchristensen>
don't use it on systems with few disks or little ram
<gchristensen>
"not intended for home users"
<drakonis>
ah yes
<drakonis>
deduplication
<gchristensen>
well apparently the word from #zfsonlinux is "just don't use dedupe ever unless you specifically know exactly exactly exactly what you're doing"
<gchristensen>
"or you don't care about your data"
<WilliButz>
so, about my question from one and a half hours ago: does anyone know how to fix the dependency issue with 'haskellPackages.network-interfacerequest' (on unstable) or can point me into the right direction to fix it? :)
<Infinisil>
Or have a shit ton of ram and cpu to spare
Jackneill has joined #nixos
<drakonis>
its probably broken on zfs on linux
<gchristensen>
no it works fine
<LnL>
that's a good summary :)
<gchristensen>
its just if you grow your dataset too large and the dedupe table no longer fits in RAM, you're hosed unless you can get enough RAM to fit it
<drakonis>
gchristensen, nix has a competitor now :v
<gchristensen>
drakonis: guixsd?
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
<drakonis>
no
<drakonis>
google's package manager
<drakonis>
seems to be trying to do the same things
edoput has quit [(Read error: Connection reset by peer)]
<Infinisil>
Ohh if you haven't seen it, there's been an article on hackernews about a filesystem in development which does look very promising: https://news.ycombinator.com/item?id=14386331 (Don't wanna hijack this chat with discussions about this though)
<drakonis>
there's fuchsia specific features
<drakonis>
oh
stanibanani has quit [(Ping timeout: 246 seconds)]
<drakonis>
i'm pretty sure freebsd can already do that one
<drakonis>
oh its redox
<drakonis>
fucken lmbo
<gchristensen>
drakonis: does it work like nix?
<drakonis>
the paragraph regarding package convention seems to point that it is intended to be similar to nix
<gchristensen>
"does not provide native support for inter-package dependencies" seems more like docker than nix
<gchristensen>
ya
edoput has quit [(Client Quit)]
<Infinisil>
Guys I'm off to sleep, nice talking to you!
<drakonis>
peace.
<drakonis>
it does deduplication
<gchristensen>
see you
<drakonis>
so symlinking everywhere
Infinisil has quit [(Quit: Zzz..)]
<drakonis>
it seems fairly similar to nix in a way
<gchristensen>
yeah ... but still
kirelagin has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
this seems to not be a package manager that a packager could use, but something you might output from a makefile
<gchristensen>
which seems ... lacking
<drakonis>
ha, it seems like it i guess
<drakonis>
one of the developers said it is like pc-bsd's system
<gchristensen>
ah
<drakonis>
which nowadays lives on as pkg on freebsd
<gchristensen>
anyway, I'm heading out for a bit
<drakonis>
aight
<drakonis>
i should be going too
<gchristensen>
see you
<drakonis>
peace.
drakonis has quit [(Quit: Leaving)]
veprbl has joined #nixos
Guest96353 has quit [(Quit: Lost terminal)]
veprbl has quit [(Client Quit)]
veprbl has joined #nixos
<Sonarpulse>
might I have kicked off a haskell mass rebuild?
<Sonarpulse>
my last merged PR passed travis
<Sonarpulse>
but PRs since time out building GHC
<Sonarpulse>
don't understand how mine also didn't time out building GHC if that was the case...
<matthewbauer>
bennofs: it looks like hyper v0.10.10 has been released, can that be used by nix-index?
<bennofs>
matthewbauer: nix-index needs 0.11
<matthewbauer>
hmmm...
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<bennofs>
when cargo vendor starts supporting git deps, this is going to get much easier as we don't have to deal with making git repos deterministic anymore
<Profpatsch>
Is there a separate nixops channel?
<gchristensen>
no, Profpatsch
<Profpatsch>
If I execute `nixops stop -d some-libvirt-vms`
<Profpatsch>
Right now the VMs are just shot down here.
<Profpatsch>
So no shutdown, it kills the VMs.
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<Profpatsch>
Is that the intended behaviour?
<gchristensen>
probably not :)
betaboon has joined #nixos
systemfault has quit [(Quit: Bye!)]
hamishmack has joined #nixos
cement has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHIXO
<NixOS_GitHub>
nixpkgs/master c42739a Jörg Thalheim: wllvm: init at 1.1.3
NixOS_GitHub has left #nixos []
exarkun has quit [(Read error: Connection reset by peer)]
hiratara has quit [(Ping timeout: 246 seconds)]
kiloreux has joined #nixos
hiratara has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
<octe>
i've installed a single unstable package via configuration.nix by adding " let unstable = import <nixos-unstable> {}; in { ... environment.systemPackages = with pkgs; [ unstable.mypackage ] }", but how do i configure the flags for that package? nixpkgs.config doesn't seem to affect it
ertes has joined #nixos
exarkun has joined #nixos
pallav has joined #nixos
acertain has quit [(Remote host closed the connection)]
<mellowmaroon>
I see something about mkOption, but I have no idea if it's related...
cement has quit [(Ping timeout: 240 seconds)]
sworne has joined #nixos
gsora has quit [(Quit: uh-oh!)]
<SovereignBleak>
I'm trying to get an extra Linux entry in my GRUB but I get `syntax error, unexpected IND_STRING_OPEN, at /etc/nixos/configuration.nix:16:36` when I try and rebuild. Can someone take a look at this relevant bit and tell me where I've gone wrong?
<SovereignBleak>
I've checked and rechecked my opening and closing bits.
<SovereignBleak>
Fixed it, bah.
<SovereignBleak>
No, still broken. What does this unexpected IND_STRING_OPEN mean?
eacamero_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Myrl-saki has joined #nixos
zeus_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
zeus_ is now known as fifo_
fifo_ is now known as fifo23
mellowmaroon has quit [(Quit: Leaving)]
<clever>
SovereignBleak: you have a bare string inside an attribute set
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #25997: stdenv: Rename `isGNU` to `isHurd` as GNU is a userland (master...isHurd) https://git.io/vHIv7
NixOS_GitHub has left #nixos []
<clever>
SovereignBleak: bare strings must be in the form of key=value;
<clever>
SovereignBleak: attribute sets! must be in the form of key=value;
eacameron has joined #nixos
<clever>
SovereignBleak: and that option is of type string
<SovereignBleak>
clever: Thank you. :-) I killed the outside braces and that got it to build but Manjaro now complains of a missing device. I see you have a device pair value there so maybe that’s what I need too.
matthewbauer has quit [(Ping timeout: 246 seconds)]
jgertm_ has joined #nixos
jgertm_ is now known as jgertm
eacameron has joined #nixos
jgertm has quit [(Killed (adams.freenode.net (Nickname regained by services)))]
Guest39963 has joined #nixos
Guest39963 is now known as jgertm
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] benley opened pull request #26006: kubernetes-helm: Enable bash and zsh completion (master...helm-completion) https://git.io/vHIdn
NixOS_GitHub has left #nixos []
<clever>
SovereignBleak: you may need to load the right module for the filesystem and partition table your searching for
jgertm has quit [(Killed (adams.freenode.net (Nickname regained by services)))]
Guest99976 has joined #nixos
<clever>
i had chosen to just hardcode the hd# and part#, which does fail every now and then (i have to edit it to hd2,msdos1)
Guest99976 is now known as jgertm
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
nevermind has joined #nixos
eacamero_ has quit [(Ping timeout: 240 seconds)]
stepho has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
bfrog has joined #nixos
eacameron has joined #nixos
earldouglas has quit [(Quit: leaving)]
markus1209 has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
markus1219 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #26007: Support binary prefixes for cc-wrappper (master...cc-wrapper-prefix) https://git.io/vHIFb
NixOS_GitHub has left #nixos []
kiloreux has quit [(Quit: Leaving)]
kiloreux has joined #nixos
stepho has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 268 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
kiloreux has quit [(Ping timeout: 240 seconds)]
stepho has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
obadz has quit [(Ping timeout: 245 seconds)]
obadz has joined #nixos
takle has quit [(Remote host closed the connection)]
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Profpatsch closed pull request #25252: hledger(-web): move to all-packages with static build (master...hledger-static) https://git.io/v93Rl