vaibhavsagar has quit [(Ping timeout: 260 seconds)]
nh2 has quit [(Quit: Leaving.)]
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
hhao has quit [(Read error: Connection reset by peer)]
drasich has joined #nixos
takle has quit [(Remote host closed the connection)]
<hodapp>
hummm. I've an environment based on pkgs.buildFHSUserEnv but reliant on that ginormous binary .deb blob; can I turn this into an actual package I could install by referring directly to a local download of that .deb?
vaibhavsagar has joined #nixos
<clever>
hodapp: you could treat it the same as JRE
<hodapp>
but, if getting it into Nixpkgs the "right" way is still unlikely due to how it's distributed, I may just keep it as my ugly nix-shell... oh well
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
aneeshusa has joined #nixos
dbmikus has joined #nixos
dridus has joined #nixos
oahong has joined #nixos
mbrgm has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 245 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
takle has quit [(Ping timeout: 252 seconds)]
hhao has joined #nixos
hhao has quit [(Changing host)]
hhao has joined #nixos
oahong has quit [(Ping timeout: 258 seconds)]
derjohn_mob has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
nicknovi1 has joined #nixos
eacameron has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
roconnor has joined #nixos
takle has joined #nixos
aneeshusa has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
roconnor has quit [(Ping timeout: 268 seconds)]
aneeshusa has joined #nixos
takle has joined #nixos
fnlkj has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
aneeshusa has quit [(Ping timeout: 240 seconds)]
Piece_Maker has joined #nixos
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
Acou_Bass has quit [(Ping timeout: 260 seconds)]
Piece_Maker is now known as Acou_Bass
takle has joined #nixos
<rotaerk>
hmm, is anyone aware of how to get cabal-installed haskell packages to include profiling libraries, when using nixpkgs?
<clever>
rotaerk: the final build by nix-build lacks -prof, but i can -prof things under nix-shell and get profiling
<rotaerk>
thanks
takle has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
takle has quit [(Ping timeout: 240 seconds)]
aneeshusa has quit [(Quit: WeeChat 1.7)]
jlmeeker has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
systemfault has joined #nixos
fly__ has joined #nixos
fly__ has quit [(Read error: Connection reset by peer)]
fly__ has joined #nixos
jlmeeker has quit [(Read error: Connection reset by peer)]
fly__ is now known as jlmeeker_
indi_ has joined #nixos
spinus has quit [(Ping timeout: 240 seconds)]
spinus1 has quit [(Ping timeout: 255 seconds)]
johnsonav has joined #nixos
jlmeeker_ has quit [(Quit: Leaving)]
moet has joined #nixos
takle has joined #nixos
dbmikus has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9sTz
<NixOS_GitHub>
nixpkgs/master e89343d Peter Hoeg: qsyncthingtray: allow building with qt 5.8
dbmikus has quit [(Ping timeout: 252 seconds)]
ryantrinkle has quit [(Ping timeout: 260 seconds)]
boxofrox has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
filterfish_ has joined #nixos
takle has joined #nixos
filterfish has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
<rotaerk>
hmm ... why does the man page for pkill show an example using the -H and -P flags when the document doesn't mention these flags or what they do...
dridus has quit [(Quit: znc? wassat?)]
dbmikus has joined #nixos
dbmikus has quit [(Ping timeout: 245 seconds)]
vaibhavsagar has joined #nixos
wkennington has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
ryantrinkle has joined #nixos
takle has joined #nixos
<MichaelRaskin>
maurer: hodapp: in my Thinkpad the first thing you want to do is to disable Intel pstate support in kernel via a boot parameter and switch to just cpufreq. And powertop --auto-tune, yes, but we have a module for running the latter
takle has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
hodapp: I would probably write a function file -> package, and then the user could maybe supply the file as a string containing path returned by nix-prefetch-url
<MichaelRaskin>
JRE is saner in the sense of filename determining the hash
justelex has joined #nixos
<dmj`>
clever be bustin’ out that haskell fu
dbmikus has joined #nixos
systemfault has quit [(Quit: Bye!)]
dbmikus has quit [(Ping timeout: 260 seconds)]
justelex has quit [(Ping timeout: 240 seconds)]
Mercuria1Alchemi has joined #nixos
justelex has joined #nixos
reinzelmann has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
uralbash has joined #nixos
uralbash has left #nixos []
marsel has joined #nixos
<vaibhavsagar>
if I want to build a package that requires two different repositories to be cloned and arranged as two subdirectories of one directory, which phase would I do this in?
hamishmack has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
marsel has quit [(Ping timeout: 240 seconds)]
<dmj`>
vaibhavsagar: might be easiest to add these repositories as submodules to the project you’d like to build, then fetchgit pull all 3 and will automatically initialize the submodules
<dmj`>
will pull*
<vaibhavsagar>
that makes sense
<vaibhavsagar>
is there an easy way to do it within a derivation?
<dmj`>
vaibhavsagar: mm, you can call fetchgit to each repo, then { inherit srcA srcB; } etc
<vaibhavsagar>
fair enough :)
johnramsden has joined #nixos
jacob has joined #nixos
jacob is now known as Guest23647
<johnramsden>
Could Someone give me a hand with something related to typelibs?
eacameron has quit [(Remote host closed the connection)]
<johnramsden>
Hey I found the typelibs in <nix store>/lib/girepository-1.0
<johnramsden>
I can't seem to find a package that provides this but I have seen other people set a variable $GI_TYPELIB_PATH with wrapProgram but I'm not sure if that's the correct way to set them.
eacameron has joined #nixos
<hyper_ch>
the-kenny: hi there, I noticed that pass does not use auto-complete on nixos on the cli for me. Any suggestion?
endformationage has quit [(Quit: WeeChat 1.7)]
derjohn_mob has joined #nixos
katyucha has quit [(Remote host closed the connection)]
katyucha has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
yegods has joined #nixos
thineye has quit [(Quit: Konversation terminated!)]
dbmikus has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
wkennington has quit [(Read error: Connection reset by peer)]
jensens has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 240 seconds)]
taeradan has joined #nixos
dbmikus has joined #nixos
freusque has joined #nixos
moet has quit [(Quit: leaving)]
johnsonav has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
dbmikus has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 252 seconds)]
nckx has quit [(Quit: restarting my GuixSD server)]
nckx has joined #nixos
Itkovian has joined #nixos
nicknovi1 has quit [(Ping timeout: 252 seconds)]
dcz has joined #nixos
yegods has quit [(Remote host closed the connection)]
<lukego>
(oh looks like I should be using -I instead of -f. I have no idea how you all keep track of where your nixpkgs is coming from for each command :))
<dcz>
or maybe - how to build with cmake?
<spacefrogg>
dcz: You will find documentation for stdenv in the nixpkgs manual.
<LnL>
adding cmake to the nativeBuildInputs should be enough
<spacefrogg>
lukego: Setup your NIX_PATH environment variable to keep track of it for you.
marsel has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
<dcz>
thanks, I didn't know there were 2 manuals
aloiscochard has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<makefu>
Dezgeg: actually there are 4
<makefu>
nix,nixos,nixpkgs,nixops
Itkovian has quit [(Read error: Connection reset by peer)]
<lukego>
spacefrogg: I usually want to use a specific pinned nixpkgs for each application. otherwise I am worried it won't work. e.g. I can't build nix using my default nixpkgs due to some seemingly irrelevant broken package.
<vaibhavsagar>
lukego: are you including it as a submodule?
<vaibhavsagar>
if you are, you can prefix your commands with NIX_PATH=. in the parent directory
<lukego>
vaibhavsagar: Just now I am building nix itself and in that case I am looking at the nixpkgs that Hydra uses and specifying that on the command line. Otherwise it didn't work.
<vaibhavsagar>
fwiw I ran into the same error with that Agda package today when trying to run nix-shell
<vaibhavsagar>
okay, this is what mine looks like: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<maikklein>
wait why is mine an url
<vaibhavsagar>
that's a great question :)
<maikklein>
where is NIX_PATH defined?
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
<vaibhavsagar>
in one of the ~/.nix-* directories in a bash script IIRC
<maikklein>
wait now I can rebuild but NIX_PATH is still incorrect
<maikklein>
wtf is going on
ravloony has quit [(Ping timeout: 260 seconds)]
maikklein has quit [(Client Quit)]
maikklein has joined #nixos
<maikklein>
a reboot fixed it
filterfish has joined #nixos
indi_ has quit [(Ping timeout: 268 seconds)]
maikklein has quit [(Client Quit)]
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ertes has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
thineye has quit [(Quit: Konversation terminated!)]
simukis_ has joined #nixos
derjohn_mob has joined #nixos
lukego has joined #nixos
<lukego>
spacefrogg: if I use nixpkgs-unstable directly then it seems like I will never know for sure whether to expect my application to work, right? So I would not be comfortable with telling people to install it that way because it's leaving too much to chance.
peacememories has joined #nixos
takle has quit [(Remote host closed the connection)]
peacememories has quit [(Client Quit)]
<sphalerite>
lukego: but rollbacks are easy
sworne has joined #nixos
oever has joined #nixos
dbmikus has joined #nixos
sworne has quit [(Client Quit)]
sworne has joined #nixos
<lukego>
sphalerite: I don't really see that as a solution. If a user installs my application via nix for the first time, and it doesn't work, what do they roll back to? also seems a bit advanced, I myself have a hard enough time understanding what nixpkgs repos my software is coming from the in the first place, let alone how to rollback and what the effect will be.
deepwater has quit [(Remote host closed the connection)]
<sphalerite>
Fair enough
<sphalerite>
You could pin it to a specific commit on which you know it works
<lukego>
yeah, that's what I do. It's a slight bummer that I pick that commit mostly at random, it would be kinda nice to have regular releases to choose from, but - smaller issue :)
deepwater has joined #nixos
dbmikus has quit [(Ping timeout: 252 seconds)]
plumps has joined #nixos
<sphalerite>
You could consider every update to nixpkgs-unstable a new release
<sphalerite>
not regular, but certainly frequent
<lukego>
Hey I am trying to run nix/release.nix to run the nix test suite on my own machine. Latest error is that it tries to run tests on darwin but that's not available. Is there an way way to override that?
<lukego>
Specifically I run 'nix-build nix/release.nix' and the error message is: error: a ‘x86_64-darwin’ is required to build ‘/nix/store/ly6702vbkxisy21b6y9qd8hnhz2bqph6-nix-1.11.9pre1234_abcdef.drv’, but I am a ‘x86_64-linux’
<sphalerite>
Select only the appropriate attrs using -A
<sphalerite>
nix-build nix/release.nix -A tests
takle has joined #nixos
<lukego>
I don't think it provides an attribute set for "tests on linux i386 and x64" :-\
<sphalerite>
What you're doing with nix-build nix/release.nix is trying to build *everything* in there, including the OSX binaries
<sphalerite>
I think the tests only run on linux anyway by default
<lukego>
Do you think '-A tests' will work on i386? (the arch-specific stuff will be in a QEMU?)
bennofs has quit [(Ping timeout: 258 seconds)]
newhoggy has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
oever has quit [(Ping timeout: 240 seconds)]
oever has joined #nixos
dupin has joined #nixos
oever has quit [(Client Quit)]
oever has joined #nixos
<dupin>
installed nix package manager in debian
reinhardt has joined #nixos
<dupin>
is it possible to install xfce using nix and how
<lukego>
I'm surprised to see the nix test suite actually downloading individual .deb files to bootstrap VMs. Is it expected that this doesn't hit the binary cache on Hydra? (Seems like nix stable release has fallen out of cache?)
goibhniu1 has joined #nixos
takle has joined #nixos
<oever>
dupin: set 'services.xserver.desktopManager.xfce.enable = true;' in /etc/nixos/configuration.nix
reinzelmann has quit [(Ping timeout: 260 seconds)]
<lassulus>
vandenoever: well he's on debian, so this won't work
<dupin>
vandenoever, it is not nixos install I installed nix in debian
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #25245: docker: pass all proxy variables to docker daemon (master...docker-proxy) https://git.io/v9O0X
<dupin>
and I want to try it as package manager in other distro
<vandenoever>
dupin: ah, i missed that, you should be able to install any components that do not require suid
<vandenoever>
so screen lock is will not work but the rest might
<dupin>
vandenoever, can I do it with one command and witch on is
<vandenoever>
i used to install plasma as a user and that worked except for the screen lock
<vandenoever>
dupin: my guess is 'nix-env -i xfce4-session'
<dupin>
ok I will try that and report back ;)
thineye has joined #nixos
<vandenoever>
dupin: stop, correction
justelex has quit [(Quit: Konversation terminated!)]
<dupin>
ok
<vandenoever>
dupin: i think this is better: nix-env -iA nixpkgs.xfce.xfdesktop
<dupin>
right
<vandenoever>
this gives the list of packages: nix-env -qaP
<sphalerite>
What's the preferred option in nixpkgs? Accepting lib as an additional parameter to a derivation function, or referring to it through stdenv.lib?
<dupin>
installing right now I will tell you results
<sphalerite>
vandenoever: surely screen lock can work without suid nowadays?
jensens has joined #nixos
<dupin>
I didn´t install xorg mayb that is why can not run xfce :)
<vandenoever>
sphalerite: to unlock it needs to verify the password
newhoggy has quit [(Remote host closed the connection)]
<sphalerite>
can't it do that using PAM?
<sphalerite>
oh yeah but PAM needs to be setuid or osmething, and if it was installed by nix it will be a non-SUID PAM?
goibhniu1 is now known as goibhniu
<vandenoever>
eh, something like that, i'm not familiar with how PAM works, i told niksnut about the problem once and he was surprised that it was not working
<vandenoever>
to me the main theoretical selling points of nixos are that you can install desktop software as a user and switch between versions quickly
<vandenoever>
so feels like a defeat that i've installed plasma globally atm
<sphalerite>
I mean, my screen locker isn't setuid on nixos
<sphalerite>
yeah, it would be nice to have a more startx-like model
<vandenoever>
sphalerite: so how does it unlock? i remember i had to disable password because it could not unlock
dbmikus has joined #nixos
<vandenoever>
sphalerite: the packaging system is up to it, it's just that not all packages are
<sphalerite>
I don't know how it works, it just does :D
<vandenoever>
sphalerite: is it installed globally or locally?
<sphalerite>
i3lock? Only for my user
<sphalerite>
I have some patches applied to it as well
<sphalerite>
so it's definitely not in any system-wide context
<vandenoever>
maybe strace can tell you how it unlocks
<sphalerite>
I think PAM is probably somehow responsible for this magic, but I really don't know
<sphalerite>
strace tends to be very noisy on GUI applications :/
<vandenoever>
that's what grep is for :-P
<vandenoever>
strace -f i3lock 2> i3lock.strace
<sphalerite>
oh, hm
<sphalerite>
it does read /etc/pam.d/i3lock
<sphalerite>
so apparently I do have *an* i3lock installed globally
<vandenoever>
how did that get there?
<sphalerite>
even if it's not the i3lock that I'm using
dbmikus has quit [(Ping timeout: 260 seconds)]
<sphalerite>
Hah, if I run i3lock with strace -f, it can't verify my password anymore.
<NixOS_GitHub>
[nixpkgs] Azulinho opened pull request #25258: mesos: update to 1.1.1 (master...update_mesos_1.1.1) https://git.io/v9s4Q
<NixOS_GitHub>
[nixpkgs] orivej opened pull request #25261: ipython: support python2 (master...ipython) https://git.io/v9sB4
Wizek_ has joined #nixos
romildo has joined #nixos
tommyangelo_ has quit [(Remote host closed the connection)]
tommyangelo_ has joined #nixos
<vandenoever>
sphalerite: does it still work when there's no global i3lock?
<romildo>
Somehow I have lost the files on the ESP boot partition on my UEFI unstable NixOS. I have already fixed booting on Windows, Gentoo, and Arch Linux. But I do not know how to do that for NixOS, because I do not know where are the kernel and image for booting it. Any help?
<sphalerite>
vandenoever: my guess is no. Haven't tried it though
<sphalerite>
romildo: probably easiest to boot off an installation medium, mount all the filesystems in /mnt and run nixos-install
<dupin>
vandenoever, I triead t oinstall various packages but xfce doesn´t work :(
<dupin>
it is vbox install if that is important
<dupin>
I can not get gui
<vandenoever>
dupin: do you get just a terminal window when you log in?
<dupin>
yes
filterfish has joined #nixos
<vandenoever>
dupin: you can run a command to start xfce from there
filterfish has quit [(Read error: Connection reset by peer)]
<johnramsden>
I've got a problem if someone could help. I'm linking the library libxkbfile to a package but I still seem to keep getting 'libxkbfile.so.1: cannot open shared object file: No such file or directory'.
<vandenoever>
dupin: it's part of xfce4-session
<dupin>
so I will install xfce4-session
<dcz>
Is there a way for nix-shell to use nvidia opengl drivers? all my attempts failed, and this is absolutely required for this project
jmiven has quit [(Quit: WeeChat 1.7.1)]
filterfish_ has quit [(Ping timeout: 260 seconds)]
<dupin>
vandenoever, whan I try to install xfce4-session it is spitting errors
<dupin>
maybe I should install xfce in debian and other apps from nix
<dupin>
just to see how nix work as package manager in other distro
<vandenoever>
dupin: that's possible
<dupin>
I´ll do that
<vandenoever>
dupin: might be interesting to know the errors, perhaps there's a simple fix
<dupin>
ok but it is vbox but I will try
<romildo>
sphalerite, when I do that (that is, run nixos-install), will the currently installed packages be subject to garbage collection later?
bennofs has joined #nixos
<dupin>
syntax error , unexpected send, at /nix/store/51i7b....
<sphalerite>
no, it'll use the config that you already have
<romildo>
Would chrooting to NixOS disk partition and running nixos-rebuild work?
<sphalerite>
and make a new system generation
<sphalerite>
all the old stuff will still be there
<sphalerite>
Yes, but chrooting to the nixos partition has some subtleties (related to /run/current-system) and I don't know how to do it.
<sphalerite>
But nixos-install does the same thing, except that it uses the channels from the live system rather than the installed system. So you may also want to pass an appropriate -I nixpkgs=...
<sphalerite>
other than that, it should do exactly what you're looking for
newhoggy has joined #nixos
lukego has quit [(Ping timeout: 260 seconds)]
thineye has quit [(Quit: Konversation terminated!)]
<dupin>
syntax error , unexpected send, at /nix/store/51i7b....wksi-env-manifest.nix: 1:1
gsora_ is now known as gsora
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to release-17.03: https://git.io/v9sEW
<NixOS_GitHub>
nixpkgs/release-17.03 6d30a36 Ben Zhang: closurecompiler: 20160208 -> 20170218...
takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
<romildo>
I think I could also backup some important dirs (like, /home, and /var/tmp, and /etc/nixos) and reformat the partition to begin from zero.
takle has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
vaibhavsagar has quit [(Ping timeout: 245 seconds)]
<thineye>
hi, how can I add kernel config lines to a grsecurity enabled kernel? if i try to do it with extraConfig, the grsecurity config lines are overridden by my lines and not added.
ertes has quit [(Ping timeout: 268 seconds)]
peacememories has joined #nixos
dupin has quit [(Quit: Leaving)]
newhoggy has joined #nixos
filterfish_ has quit [(Ping timeout: 260 seconds)]
Wizek_ has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
johnramsden has quit [(Quit: Leaving)]
newhoggy has quit [(Ping timeout: 240 seconds)]
darlan has joined #nixos
darlan has quit [(Client Quit)]
ThatDocsLady has quit [(Ping timeout: 255 seconds)]
bennofs has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
dcz has quit [(Ping timeout: 260 seconds)]
vaibhavsagar has joined #nixos
ThatDocsLady has joined #nixos
Willi_Butz_ has joined #nixos
<thineye>
ok, i figured myself out, why its not working with extraConfig: extraConfig is for grsecurity enabled kernel allready set in all-packages.nix. So if I set it manually, the default in all-packages.nix is overriden
Willi_Butz_ has quit [(Client Quit)]
Willi_Butz_ has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
maikklein has joined #nixos
nckx has quit [(Quit: restarting my GuixSD server)]
<maikklein>
My screen goes black after a while. What config is responsible for this?
<maikklein>
I am just using i3
nckx has joined #nixos
<maikklein>
Is it powerManagement.enable?
indi_ has joined #nixos
Guest45287 has quit [(Ping timeout: 255 seconds)]
<maikklein>
hm no that seems to be responsible for supsend.
bennofs has joined #nixos
ixxie has quit [(Ping timeout: 268 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Ping timeout: 258 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
Willi_Butz_ has quit [(Quit: WeeChat 1.7.1)]
<Dezgeg>
maybe 'xset q' shows something
m` has joined #nixos
m` is now known as mojjo
ertes has joined #nixos
MP2E has quit [(Quit: sleep)]
python47` has joined #nixos
Willi_Butz_ has joined #nixos
<mojjo>
hi! I'm having problems supending my nix machine (macbook) manually: `systemctl suspend` makes the machine wakeup right after the suspend. However when closing the lid the preconfigured suspension works fine. I'm wondering what could make the difference...
ryantrinkle has quit [(Ping timeout: 260 seconds)]
python476 has quit [(Ping timeout: 240 seconds)]
<lassulus>
mojjo: any errors/warnings in the journal?
bennofs has joined #nixos
newhoggy has joined #nixos
<mojjo>
lassulus: fetching out the relevant part..
indi_ has joined #nixos
Willi_Butz_ has quit [(Quit: WeeChat 1.7.1)]
Willi_Butz_ has joined #nixos
<maikklein>
"-dpms" seems to work for me, where would I specify that in nixos?
<maikklein>
"xset -dpms"*
<mojjo>
lassulus: it looks like the `journal -xc` logs from the working lid suspend look exactly like the one from doing it manually.
<lassulus>
mojjo: oh, that does indeed make sense ;D
<bennofs>
exarkun: there's no restriction on what a store path may contain
<jophish>
Aside from glibc, I don't think anything in that binary will be dynamically linked
<mojjo>
yeah, I remember now, I had the same on a Mint machine...
gilligan_ has joined #nixos
<gilligan_>
hi
<exarkun>
bennofs: and there's no general name for the collection of what a particular store path contains?
python47` has quit [(Remote host closed the connection)]
<mojjo>
lassuslus: thanks for the effort.. ! see you later at the meetup..
python47` has joined #nixos
<lassulus>
mojjo: yeah, see you later :)
romildo has quit [(Quit: Leaving)]
<exarkun>
hrm
<exarkun>
can I generate multiple outputs with a builder? :/
<hyper_ch>
hmmm, on nixos, how can I access network manager log? this does not work: journalctl -b -u NetworkManager
Intensity has quit [(Ping timeout: 258 seconds)]
<gilligan_>
anyone into Rust here? How do I build something using buildRustPackage which has a dependency which is more recent than what is currently in the nix rust registry?
<gilligan_>
what's also confusing me is that the Cargo.toml lists `libc = "0.2.15"` but after running `cargo build` the Cargo.lock contains libc with version `0.2.22`
<bennofs>
gilligan_: cargo = means "semver compatbile"
<bennofs>
exarkun: well, it's an arbitrary tree of files
<bennofs>
gilligan_: and 0.2.22 is semver compatible with 0.2.15
<bennofs>
gilligan_: to use a newer version, you need to update the registry in nixpkgs
<sphalerite>
exarkun: yes, just set the outputs as appropriate and you'll get each of them as an env variable
<gilligan_>
bennofs, right. i somehow assumed that "=" might have meant "actually THAT version"
<gilligan_>
bennofs, the thing is the project will work just fine with an older version. I would basically just need a lock file with the older version
<ikwildrpepper>
domenkozar: what is the fix that you needed btw?
<ikwildrpepper>
(for dd-agent)
<domenkozar>
ikwildrpepper: it's not simple. First you need to remove $out/agent/conf.d, so that initializtion picks up /etc/dd-agent/conf.d
indi_ has quit [(Remote host closed the connection)]
<domenkozar>
but then I have yet to code logic to generate that folder based on contents from the dd-agent package since it provides some defaults (like ntp.default)
indi_ has joined #nixos
<domenkozar>
ikwildrpepper: so my plan is to use a symlink from /etc/dd-agent/conf.d to a nix derivation which contains nixos configs + dd-agent default files
<ikwildrpepper>
domenkozar: weird, on 16.09 with 5.5.2 it seems to pick up the checks.d at least
<exarkun>
gdb suggested to me that nix-instantiate uses it, at least
<Dezgeg>
what does it print?
vasile_ has joined #nixos
cpennington has joined #nixos
<exarkun>
I closed the terminal, I don't have the exact message now
Infinisil has quit [(Ping timeout: 240 seconds)]
dridus has joined #nixos
bigvalen has quit [(Ping timeout: 245 seconds)]
mudri has joined #nixos
Tucky has joined #nixos
thineye has joined #nixos
bigvalen has joined #nixos
dridus has quit [(Quit: znc? wassat?)]
jensens has joined #nixos
<thineye>
if i ask in all-packages.nix for a value of config.services.xserver. .... then i got an error that the attribute services is missing. has all-packages.nix access to the values in configuration.nix?
indi_ has quit [(Remote host closed the connection)]
thetet has joined #nixos
indi_ has joined #nixos
ertes has quit [(Ping timeout: 260 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
<thineye>
clever: ok, thanks
newhoggy has quit [(Remote host closed the connection)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cpennington has quit [(Remote host closed the connection)]
<clever>
thineye: what are you trying to do?
<copumpkin>
joachifm: would you expect aws-cli to work on grsec kernels?
<clever>
copumpkin: i cant think of anything abnormal aws-cli would do
<clever>
its just accessing files as the current user and doing tcp
<copumpkin>
well, python 2.7 is paxmarked
indi_ has quit [(Ping timeout: 260 seconds)]
<copumpkin>
and it uses that
cpennington has joined #nixos
<clever>
what does that do?
<copumpkin>
it tells the kernel that the program expects to map executable and writeable memory
<copumpkin>
er, memory that is both at the same time
<copumpkin>
(since otherwise grsec tells you to gtfo if you do that)
<clever>
ahh
boxofrox has quit [(Ping timeout: 268 seconds)]
<clever>
ive had to do the same when emulating some xen stuff
<thineye>
clever: I have to check if nvidia driver is used and add some kernel config lines. But I think, i try it now inside nixos module
<clever>
thineye: yeah, you can set those options in a nixos module easily
indi_ has joined #nixos
<clever>
thineye: one thing that would be better though, is to make a special package in nixpkgs, that contains that modified nvidia driver, always compiled correctly
<clever>
thineye: then have a nixos module optionaly insert the package into boot.extraModulePackages
<clever>
and if you refence the kernel like this, it will always be the right version
byteflame has joined #nixos
nixrl has joined #nixos
<clever>
jophish: should be ebough to just add -static to line 25 of qemu-user.nix
<thineye>
clever: I have to add some grsecurity config lines, so it cannot be a kernel module, it must be inside the kernel. So what you think about an extra derived kernel version in nixpkgs for grsecurity + nvidia and selecting in modules config if nvidia is found?
metaphysician has quit [(Quit: Bye.)]
<clever>
thineye: would it be possible to just always put that config in the gresecurity kernel, and just leave it there if nvidia isnt found?
JagaJaga has joined #nixos
<thineye>
clever: no, because for getting the properietary nvidia working, I have to deactivate two grsecurity options, so its weaker for proprietary nvidia driver users. I dont want that its weaker for everybody
<clever>
ah
newhoggy has quit [(Ping timeout: 260 seconds)]
<nixrl>
hi, i'm tring to build and link statically a project with gnu readline, i defined "readline = pkgs.readline.override { stdenv = static; };" in my shell.nix where static is makeStaticLibraries stdenv. Then when i try to link everything with `-static -lreadline` , ld fails with "...: undefined reference to `readline'", do you know what could be wrong?
boxofrox has joined #nixos
<clever>
thineye: all i can think of then is to make a 2nd grsecurity kernel, and the grsecurity module will have to change which one lands in config.boot.kernelPackages
<clever>
thineye: that kind of change might affect the ability to load modules, so all modules have to be built against the right kernel, and then you want hydra helping out
<clever>
nixrl: check that the readline it compiled actually has static libs
<thineye>
clever: thx, I will try to do it that way
<clever>
nixrl: i do see a libreadline.a under /nix/store/72db5zhzxafbifa94xfkp5blvdhlbz4z-readline-6.3p08/lib
jluttine has quit [(Read error: No route to host)]
jluttine has joined #nixos
kahiru has left #nixos []
Infinisil has joined #nixos
dcz has joined #nixos
drasich has joined #nixos
<Infinisil>
Simple question: When I'm creating a new package with a default.nix, what do I do to properly test if it works? Is nix-build and then check ./results correct?
newhoggy has joined #nixos
nixrl has joined #nixos
dbmikus has joined #nixos
<nixrl>
clever: sorry got disconnected, readline.a is indeed compiled and present in a store
<steveeJ>
I want to use f = callPackage ./f.nix; and at the same time provide some attributes that will be used by default when f is called later. is this possible without changing the scope of callPackage ?
<nixrl>
libreadline.a *
<goibhniu>
Infinisil: that's good ... you can also install it with nix-env to see if it causes any conflicts (not a great test, maybe there's a better way)
Judson has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 255 seconds)]
indi_ has joined #nixos
<Infinisil>
Okay so I'm trying to turn a python project into a package
<clever>
nixrl: can you copy/paste everything in the terminal window to a pastebin?
<Infinisil>
I'm just using stdenv.mkDerivation for it with the src attribute
<clever>
steveeJ: either f = callPackage ./f.nix { foo = bar; };
<clever>
steveeJ: or cp = pkgs.newScope obj; f = cp ./f.nix {};, it will check obj. first, then pkgs.
<Infinisil>
But how can I tell it to run ./install.py after downloading the source?
<steveeJ>
clever: does that really produce a prototype instead of a result?
<nixrl>
clever: by everything you mean compilation log ?
<clever>
steveeJ: both of those will produce a final derivation, and both will have a .override to change things more
<clever>
nixrl: the nix-shell cmd you ran, and how you tried to compile your program
<steveeJ>
clever: I understand, I want to postpone the derivation evaluation though. I basically want to copy the function and introduce another argument with default value
<Infinisil>
Okay I actually don't need an install phase i just found out, I just need a wrapper that calls the ./python-file-in-src.py file
erasmas has joined #nixos
cmacrae has quit [(Read error: Connection reset by peer)]
mudri has joined #nixos
<Infinisil>
Do I need buildPythonPackage when it's just a program that doesn't export a package?
<clever>
nixrl: odd, i would expect that to work
bennofs has quit [(Ping timeout: 255 seconds)]
<Infinisil>
Ohh I need buildPythonApplication, I'll dig some more..
<exarkun>
Infinisil: all well-structured programs are written as a set of library functionality with a minimal startup component to kick things off (like something to glue the library to a cli).
<NixOS_GitHub>
[nix] regnat opened pull request #1363: Make --arg work for undeclared arguments (master...more_autoargs) https://git.io/v9sAR
Mioriin has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<nixrl>
clever: it's quite straightforward
thetet has left #nixos []
<nixrl>
seems*
carlosda1 has quit [(Ping timeout: 258 seconds)]
<sphalerite>
I've found that a few utilities based on nix (nox and nix-index are the first I can thikn of off the top of my head) interface with nix through its CLI. Is there not a Better Way™? Does nix not expose a usable library interface, or is it more of a matter of how making the bindings for whichever language the tool is in is more complicated than just executing nix tools as subprocesses?
Sonarpulse has joined #nixos
<clever>
sphalerite: nix-repl links directly into nix
<Infinisil>
To my issue: I have { stdenv }: in my default.nix so nix-build complains that it cannot autocall a function without a default argument, how do I do?
newhoggy has joined #nixos
<sphalerite>
clever: I've done that process several times (on android), it's never broken for me
<sphalerite>
And there are a few precautions, like it requires you to have the battery fully charged when you start
<clever>
sphalerite: as long as power isnt interupted, it should be safe
<clever>
sphalerite: but what happens if the battery runs out?
<clever>
sphalerite: or if the user just yanks the battery?
<pie_>
sphalerite, just dont run out of power half way through :P ?
vasile_ has quit [(Ping timeout: 240 seconds)]
<sphalerite>
Then they can do a factory reset and try again
<clever>
sphalerite: at the cost of all data i would expect
<sphalerite>
yes
<pie_>
sphalerite, ok just dont drop your phone so the battery falls out
<pie_>
ok so basically what clever said lol
* pie_
should read
jlmeeker_ has joined #nixos
<sphalerite>
It refuses to start the in-place encryption if your battery isn't fully charged, I think it recommends you do a backup first, and it warns you that there's no going back and that all your data will be lost if you interrupt the process
<clever>
ah
<Mioriin>
Hello. How can I add "WaylandEnable=false" to /etc/gdm/custom.conf so I can use gdm with nvidia binary drivers?
<clever>
about the only way i could improve that, is to keep a bitmask of what blocks have been encrypted, and also a journal for when your overwriting blocks
jlmeeker has quit [(Ping timeout: 240 seconds)]
<clever>
but then you need to overhaul the entire cryptsetup process
indi_ has quit [(Remote host closed the connection)]
<viric>
clever: a kind of what raid or lvm does
<clever>
yeah
newhoggy has quit [(Ping timeout: 260 seconds)]
<clever>
and also, i jut thought, dont need a full bitmask
<clever>
just record the latest block in the same journal you log the backup data in
<pie_>
clever, yeh id expect them to do that *shrug*
<clever>
and it would need the same password as before to resume the operation
<sphalerite>
I'm sure it's technically possible to make the process allow interruption/resumption, but I don't think they did that for android
<pie_>
id ask why you need to overhaul cryptsetup but its probably not a short answer, since i dont really know anyhting about cryptsetup
<clever>
pie_: you would need to record the progress to disk, and have a way to resume it after a reboot
<pie_>
and currently thats hard to implement?
<pie_>
or did you mean its a big project in any case
<clever>
id be warry about modifying that myself, more chance of data loss for anybody using it
<clever>
and its complex to test things recovering after power loss
estewei has quit [(Quit: Quit)]
<clever>
at what point will it get interupted?, how do you forcibly flush things to the journal?, prevent the drive from re-ordering writes?
vasile_ has joined #nixos
<clever>
pie_: oh, how much disk used, and what filesystem?
peacememories has joined #nixos
estewei has joined #nixos
<clever>
pie_: just had an idea on how it might be done more safely
<pie_>
well i think whatever is default on nixos so presumably ext4?
<pie_>
make another partition?
<clever>
pie_: if the usage is under 50%, yeah, shrink the fs, then make an lvm PV in the new space
Infinisil has quit [(Ping timeout: 258 seconds)]
newhoggy has joined #nixos
<clever>
then make a luks'd LV inside that
<clever>
and either dd or rsync the data over
<pie_>
on a quick glance i think i still have 2/3rds free
<clever>
then delete the original, make a 2nd PV, and expand the VG and LV
<clever>
the data will be slightly fragmented, <half2><half1> on the disk
<clever>
but that shouldnt harm perf
<clever>
you could also defrag that if you had more time
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/v9sjh
<NixOS_GitHub>
nixpkgs/master 41e04f4 Thomas Tuegel: dropbox: 24.4.16 -> 24.4.17
<clever>
after expanding the VG, but before expanding the LV, you can use pvmove to shuffle lvm blocks within the array
<clever>
and it has its own recovery system
<clever>
then you could potentialy drop the pv at the end of the disk, and expand the 1st pv
<clever>
so it would eventualy finish as just 1 pv taking the entire disk
nixrl has quit [(Quit: Page closed)]
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 2 new commits to release-17.03: https://git.io/v9GeY
<NixOS_GitHub>
nixpkgs/release-17.03 cc69860 Thomas Tuegel: dropbox: 23.4.19 -> 24.4.16...
<NixOS_GitHub>
nixpkgs/release-17.03 e915ead Thomas Tuegel: dropbox: 24.4.16 -> 24.4.17...
<clever>
sphalerite: at a glance, i think that tool will move the data 10mb forward, as it does the encryption, to make room for the luks header, *reads more*
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pie_>
clever, your method is probably safer but seems like a pain in the butt and also dangerous if i do something wron
newhoggy has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
<clever>
pie_: yeah, i would prefer to just backup to an external system and redo the entire disk at once
<sphalerite>
Make a backup and try any method :p
bennofs has joined #nixos
<clever>
sphalerite: ah yeah, they have diagrams showing every step, and you can see that chunk0 is on the luks, chunks 2/3 are on the plaintext, and chunk1 is in ram
<sphalerite>
clever: yes, that's the impression I have too
<clever>
sphalerite: and if you loose power, chunk1 is lost
<clever>
my previous idea, is to write encrypt(chunk1) to a journal first, before you overwrite the plaintext copy with chunk0
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v9Ge6
<NixOS_GitHub>
nixpkgs/master faea877 Benjamin Staffin: prometheus-alertmanager: 0.5.1 -> 0.6.0
<NixOS_GitHub>
nixpkgs/master 2cbe367 Franz Pletz: Merge pull request #25222 from benley/alertmanager-0.6.0...
<clever>
but that would require more changes to things
<Mioriin>
Does anyone know how to add a line to a config file in /etc ? I need to tell gdm to not use wayland.
<sphalerite>
I don't think losing power is such a major issue though — if you make a backup first, I'm guessing the in-place conversion is probably still more convenient than redoing everything
<clever>
Mioriin: does the config file already exist?
<Mioriin>
clever: How do I change the generation to expose the new option to the main config?
<sphalerite>
I mean, there's no reason for having in-place conversion at all unless you have tight limits on available space, and if you have tight limits on available space then either you have a financial problem or your data isn't valuable enough
filterfish_ has quit [(Read error: Connection reset by peer)]
filterfish_ has quit [(Read error: Connection reset by peer)]
<clever>
Mioriin: you can still clone it without an acct, and modify things on your machine
filterfish_ has joined #nixos
<Mioriin>
clever: I tried reading the section on modifying packages, but I can't parse half of it well enough to make sense of it.
<clever>
pie_: ah them, heh
<makefu>
spacefrogg: well, the price is about 10 times higher, no? 3 euros compared to 36 dollar, or am i wrong here?
<makefu>
wupps, was for sphalerite
<pie_>
clever, i didnt agree with them on everything but a lot of the stuff they wanted sounded nice
<clever>
pie_: something ive been working on lately is a way to test certain xen unikernels
<clever>
pie_: the issue, is that you need root to test them, and things like nix builds lack root
<clever>
pie_: so i would have to run the unikernel under xen, under qemu, under nixos, which might already be under a hypervisor
sellout- has quit [(Quit: Leaving.)]
ertes has quit [(Ping timeout: 260 seconds)]
dcz has quit [(Ping timeout: 255 seconds)]
<clever>
pie_: and 9plan doesnt work with linux->xen->qemu->linux, so i have to build an entire disk image with the closure for every testcase
<pie_>
clever, i dont remember a lot of details so im not sure how this pertains to the thread? somethign something qubes?
<clever>
pie_: just the ability to test xen stuff in a more automated matter
mojjo has quit [(Remote host closed the connection)]
<hodapp>
9plan?
<clever>
pie_: i'm writing a userland emulator for xen, that can run a unikernel without root or ring0
* hodapp
rubs eyes
<thineye>
if I do a pkg override, can I use the value of the overriden argument? (like appending a string to a string argument)
<clever>
hodapp: the nixos test framework uses 9plan to mount the host /nix/store to the guest, without using disk images
<hodapp>
oh, for a moment I confused 9plan & 9front
<clever>
thineye: thats what the old parameter in .overrideDerivation (old: { ... }) is for
<pie_>
clever, interesting i guess. the "i guess" just because im not very versed in this stuff :P but yeah testing is important so that sounds important
<Infinisil>
I'm building a python application with buildPythonApplication, src is set to fetchzip { blablabla }, then I call "wrapProgram ./executable-in-src.py $out/bin/executable"
<Infinisil>
Calling this in the installPhase. It is certainly executed, but it doesn't produce the executable at that location
vaibhavsagar has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #24442: make graphite do fewer recursive chowns when starting (master...graphite_without_recursive_chown) https://git.io/vS3Ha
newhoggy has quit [(Ping timeout: 255 seconds)]
<clever>
Infinisil: wrapProgram will modify $1 in-place
<clever>
Infinisil: you want to do cp executable-in-src.py $out/bin/executable ; wrapProgram $out/bin/executable
<jophish>
regnat[m]: how's the typechecker coming?
<jophish>
do you have a progress report blog or something?
<clever>
jophish: did you see my answer from a few hours ago?
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
<Infinisil>
Somethnig like cp ${src} $out/src ?
<clever>
the default unpackPhase will unpack $src to the current dir
<clever>
add pwd and ls to the phase to confirm your surroundings
Tucky has quit [(Remote host closed the connection)]
ryanartecona has joined #nixos
Itkovian has joined #nixos
<sphalerite>
Is there a user's manual for nixpkgs anywhere? The NixOS manual only covers system-wide stuff properly, and the nixpkgs manual seems more focused on people who want to extend it.
<joachifm>
copumpkin: did you hear anything more about somebody picking up grsec? I failed to glean anything pertaining to that on #pax. the upstream download links are gone now, so I'm preparing to discontinue grsec support at this point
earldouglas has joined #nixos
earldouglas is now known as Guest26899
nevermind has joined #nixos
<copumpkin>
there's https://github.com/linux-scraping/linux-grsecurity and I think other projects are still figuring out what to do. Apparently alpine and some other distro want to try doing community maintenance of the patches
spinus1 has joined #nixos
<copumpkin>
joachifm: did you see my earlier question about awscli on grsec kernel?
Guest26899 is now known as jamestastic
jamestastic has quit [(Changing host)]
jamestastic has joined #nixos
<joachifm>
copumpkin: I'm afraid I don't know anything about awscli
<joachifm>
copumpkin: as in, I hardly know what it is to begin with
dbmikus has joined #nixos
newhoggy has joined #nixos
cpennington has quit [(Remote host closed the connection)]
vasile_ has quit [(Ping timeout: 240 seconds)]
<gchristensen>
copumpkin: maybe I can help?
python47` has quit [(Ping timeout: 255 seconds)]
<ericnoan>
joachifm: i wonder if they will start selling patches to individuals, since discontinuing public patches affects anyone with a source model distro like nixos, arch, gentoo, etc...
<copumpkin>
joachifm: ah fair enough. It's more about paxmark and shebang'd scripts
<copumpkin>
gchristensen: with which thing?
<gchristensen>
awscli
<hyper_ch>
the-kenny: howdy
newhoggy has quit [(Ping timeout: 240 seconds)]
<ericnoan>
i think the reason why they did it is because organisations are using their patches wrong and it hurts their brand
<joachifm>
ericnoan: the reason they gave was kind of vague, not sure what to think tbh
<copumpkin>
gchristensen: oh, it just failed on one of my grsec boxes claiming it couldn't map an RWX page
<gchristensen>
ah
<copumpkin>
I haven't looked into it much more deeply than that
<copumpkin>
oh, I wonder!
<joachifm>
copumpkin: if they're just python scripts, I'd expect paxmarking the python interpreter should be sufficient
<copumpkin>
that's what I'd expect too
<joachifm>
copumpkin: but then I thought those were already marked ...
<copumpkin>
yeah
<copumpkin>
they are
<joachifm>
hrm
<copumpkin>
it might have something to do with my image building process possibly losing extended attributes in the store. I'll look into that
<joachifm>
it doesn't load anything via dlopen?
<joachifm>
or something odd like that
endformationage has joined #nixos
<joachifm>
copumpkin: you're using xattrs for marking?
<ericnoan>
joachifm: it is also interesting to see whether the large distros will release their grsec patches if someone asks them with a GPL request
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/v9GWH
<NixOS_GitHub>
nixpkgs/master e6c76af Thomas Tuegel: plasma5: 5.9.4 -> 5.9.5
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v9GW5
<NixOS_GitHub>
nixpkgs/master 32401d1 Franz Pletz: nginxMainline: 1.11.13 -> 1.13.0
<joachifm>
ericnoan: I expect they'd have to if they distribute grsec patched kernels
newhoggy has joined #nixos
<dtz>
ericnoan: .... distros will subsccribe to grsec and ship those kernels? If so it seems they'd have to.....
<joachifm>
ericnoan: unless they have a special agreement
<dtz>
(and as such I'm surprised they'd do that in the first place?)
<joachifm>
ericnoan: not sure how that works, really
<ericnoan>
joachifm: exactly, and then it is only a matter of the community to gather them
<gchristensen>
I don't think distros will do that, thhough?
<ericnoan>
so grsec might be possible still, we will have to wait and see
<sphalerite>
nix + git bisect = ♥
<gchristensen>
yup, sphalerite
<gchristensen>
I few weeks ago a nixpkgs upgrade broke my networking inside a test, an hour or so of bisect revealed docker did it. never would have guessed.
dbmikus has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<sphalerite>
I just discovered that weechat doesn't include the guile plugin on nixpkgs master anymore, and it doesn't seem to be intentional. But thanks to bisect I can let the computer work out when it happened for me :D
<sphalerite>
Aha, it was the upgrade from 2.0 to 2.2
<copumpkin>
joachifm: now that I look, I guess not :) I thought our paxmark used extended attributes but I guess it's rewriting the elf?
<joachifm>
copumpkin: yes, it uses elf only
<copumpkin>
ah so I guess that isn't the problem then
<joachifm>
copumpkin: if all else fails you can use softmode
<simpson>
Maybe we should stop writing C if we want security.
<copumpkin>
we should
<copumpkin>
but I can't control what 90% of the unix world uses
<copumpkin>
I can shame them for doing stupid shit, but I still need it
<simpson>
Just keep building new tools in non-C. We'll get there eventually.
<copumpkin>
I do
<copumpkin>
but still, in the mean time I don't want to get screwed
<ericnoan>
bugs are inevitable simpson, the only thing you can do is mitigate them
<copumpkin>
entire classes of bugs are thoroughly avoidable if you use modern languages
<simpson>
ericnoan: If your semantics don't suck, you can eliminate bugs by class rather than one-at-a-time.
<simpson>
What copumpkin said.
<copumpkin>
in fact, the main classes of bugs that lead to crashes and security vulnerabilities are generally avoidable, but we have 40 years of software legacy with billions of dollars of software built on top of them
<joachifm>
simpson: well, sure, mistakes will happen, but that doesn't invalidate the cutting edge stuff grsec/pax has provided over the years
<sphalerite>
nix on RedoxOS!
<simpson>
joachifm: If it's in C, it can't really be "cutting edge". Unless you mean that it's a sharp pair of scissors that you shouldn't run with.
<copumpkin>
so until we replace that massive creaking foundation, I still want protection against shit going wrong with it
<sphalerite>
So, weechat doesn't support guile 2.2 yet, and nixpkgs master doesn't have 2.0 anymore. Given that nobody's missing the guile plugin in weechat (which disappeared silently from nixpkgs along with guile 2.0), what's the best course of action?
<joachifm>
simpson: all I know is that for while I have been paying some attention to kernel bugs, I've found again and again that the bad exploits simply do not work on grsec
<simpson>
joachifm: I cannot actually test your claim because grsec is not freely available.
<joachifm>
simpson: there are multiple mirrors of patches upto 4.9.24 at least
romildo has joined #nixos
romildo has quit [(Client Quit)]
jlmeeker has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 258 seconds)]
<joachifm>
simpson: anyway, I'm happy to switch once non-C OS become practical, so you'll have no argument from me on that point :)
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<simpson>
joachifm: It won't be a switch. Your legacy tools won't run. You will have to relearn how to use the machine.
<ericnoan>
joachifm: like Redox OS :)
<simpson>
Security is structural.
<joachifm>
well, until that happens I still have to use a computer somehow
<simpson>
Sure, sure.
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to master: https://git.io/v9G0T
<NixOS_GitHub>
nixpkgs/master a3b9dbd Graham Christensen: sysbench: 2015-04-22 -> 1.0.6
<Infinisil>
I have a problem: I used makeWrapper, but the resulting executable has a syntax error in "export PATH=<...>/bin${PATH:+:}$PATH". I am not an expert in bash but that doesn't look valid indeed, what can I do to prevent that from happening?
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v9GaM
<NixOS_GitHub>
nixpkgs/master 7301bf8 Joachim Fasting: tor: 0.2.9.10 -> 0.3.0.6...
<Infinisil>
Forget what i said, It's something else, I'll dig a bit
<turnandrun>
ok
<turnandrun>
any chance you've used build-maven before?
<Infinisil>
Nope
<turnandrun>
too bad
newhoggy has joined #nixos
<turnandrun>
trying to figure out how to use it, all I've got to go on is its .nix file
orivej has joined #nixos
mudri has quit [(Ping timeout: 252 seconds)]
newhoggy has quit [(Ping timeout: 252 seconds)]
<Infinisil>
Okay I now know where the problem really lies at least
newhoggy has joined #nixos
<turnandrun>
that's good
thineye has quit [(Quit: Konversation terminated!)]
michiel_l has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #25275: lib platform parsing: Fix windows support to conform to LLVM (master...platform-normalize) https://git.io/v9Gwp
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 245 seconds)]
newhoggy has joined #nixos
romildo has joined #nixos
thineye has joined #nixos
<romildo>
I am trying to install NixOS on my notebook but the process is failing with the message: Failed to create EFI Boot variable entry: No space left on device. Any clues?
newhoggy has quit [(Ping timeout: 240 seconds)]
<romildo>
I have tried the unstable graphical ISO as well as the 17.03 stable one.
<hyper_ch>
romildo: you have a seperate boot partition?
freusque has quit [(Ping timeout: 240 seconds)]
<romildo>
hyper_ch, yes I have.
<hyper_ch>
formatted as what and what partition code?
<romildo>
hyper_ch, Yesterday accidentally I deleted the files from the boot partition. Then I reformatted it managed to get the boot files again, except for NixOS. Then I decided to reinstall NixOS, and I am facing this issue.
<romildo>
hyper_ch, /dev/sda1 is the boot partition, formatted as FAT32.
<hyper_ch>
fat32 and vfat is the same?
<Infinisil>
I believe so
<hyper_ch>
so mount root as /mnt
<hyper_ch>
and boot as /mtn/boot
<hyper_ch>
and then nixos-install in the live cd
<hyper_ch>
I think
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 4 new commits to master: https://git.io/v9Gil
<NixOS_GitHub>
nixpkgs/master 14d8ce7 Dan Peebles: log4cpp: minor fixes to meta fields
<NixOS_GitHub>
nixpkgs/master 61f0c5e Dan Peebles: xml-tooling-c: minor fixes to meta fields
<NixOS_GitHub>
nixpkgs/master 5d5c1ac Dan Peebles: opensaml-cpp: minor fixes to meta fields and parallel building
newhoggy has joined #nixos
<romildo>
hyper_ch, yes, I have done that several times todya. With no success.
<romildo>
hyper_ch, I have taken a photo of the screen.
<Infinisil>
Have you had a look at it using fdisk?
<Infinisil>
Or use df -h to have a look at how full it is
katyucha has quit [(Killed (hobana.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
<romildo>
Infinisil, it was one of the first things I have done. There is plenty of space.
katyucha_ has joined #nixos
turnandrun has quit [(Quit: Page closed)]
freusque has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
mudri has joined #nixos
<Infinisil>
I wish I could help
reinzelmann has joined #nixos
<Infinisil>
Maybe you can try creating a new partition boot-alt and try it with that instead
<thineye>
I want to do my first PR. I did my changes on state of channel nixos 17.03 small and created a branch "fix/grsecurity-nvidia" and pushed it onto my github account. Is this correct:? base fork: NixOS/nixpkgs | base: master | headfork: thineye/nixpkgs | compare fix/grsecurity-nvidia
<thineye>
or must I rebase it to master first?
newhoggy has joined #nixos
<joachifm>
thineye: patches ought to at least apply to master
<joachifm>
thineye: the preferred way is to apply to master first, then cherry-pick elsewhere
<thineye>
joachifm: and the tests? is it enough to do it with the state of the 17.03 channel or unstable?
<romildo>
Infinisil, I can try that, but it may not work because boot-alt will not be /dev/sda1. The boot partition is expected to be the first one of the disk.
Wizek_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<joachifm>
thineye: ideally, you'd test against the branch you're targeting, unless you're confiddent no relevant changes have been integrated since 17.03 was cut
<Infinisil>
My boot partition is /dev/sda4 and it works without a problem
leat has quit [(Read error: Connection reset by peer)]
filterfish_ has quit [(Write error: Connection reset by peer)]
freusque has quit [(Quit: WeeChat 1.7)]
newhoggy has quit [(Ping timeout: 260 seconds)]
alfie has joined #nixos
nicknovi1 has quit [(Ping timeout: 259 seconds)]
newhoggy has joined #nixos
hexa- has quit [(Quit: WeeChat 1.7)]
hexa- has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
hexa- has quit [(Client Quit)]
BlessJah_ has joined #nixos
armijn_ has joined #nixos
erasmas_ has joined #nixos
slyfox_ has joined #nixos
armijn has quit [(Write error: Broken pipe)]
erasmas has quit [(Write error: Broken pipe)]
BlessJah has quit [(Remote host closed the connection)]
slyfox has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 255 seconds)]
jlmeeker has joined #nixos
<gchristensen>
is it possible to determine after the fact the -march -mcpu flags passed to gcc?
leat has joined #nixos
<joachifm>
gchristensen: you mean when inspecting the object code produced?
<gchristensen>
yeah
hexa- has joined #nixos
hexa- has quit [(Client Quit)]
MichaelRaskin has joined #nixos
<dtzWill>
not reliably, you could scan for various features (opcodes) and from that infer roughly the "minimum" arch attributes enabled at build-time
<gchristensen>
hmmm ok that is ok, thank you
<dtzWill>
if you can control the build, don't know for sure about gcc but often compilers have mechanisms for leaving some info and that seems like a reasonable thing to include
<gchristensen>
yeah, I will just drop files including the information
<gchristensen>
I've looked in the lib, but is there a function for calculating permutations?
<NixOS_GitHub>
[nixpkgs] thineye opened pull request #25276: grsecurity: add support for proprietary nvidia video driver (master...fix/grsecurity-nvidia) https://git.io/v9GSI
newhoggy has joined #nixos
JagaJaga has quit [(Quit: WeeChat 1.7)]
zeus_ has joined #nixos
_Vi has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] joachifm opened pull request #25277: grsecurity: discontinue support (master...remove-grsec) https://git.io/v9G9E
<joachifm>
thineye: kind of bad timing :(
gciolli has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
newhoggy has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
hexa- has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<thineye>
joachifm: sadly, but cannot we keep the patches as long as linux 4.9 is supported?
<joachifm>
thineye: we won't get any more patches, so once 4.9.25 rolls around we're forced to run an outdated kernel
<joachifm>
thineye: even if we managed to rip out the grsec/pax stuff, I wouldn't want to be responsible for the result ...
<joachifm>
thineye: that is, if we managed to get it to apply to newer 4.9 kernels
<thineye>
ok, is understandable
<joachifm>
thineye: given the rate of linux bugs, it seems to me much worse to remain on an old grsec enabled kernel
reactormonk[m] has joined #nixos
<joachifm>
even if grsec stops some of them, it won't stop all
ryanartecona has quit [(Quit: ryanartecona)]
taktoa has quit [(Ping timeout: 260 seconds)]
aneeshusa has joined #nixos
newhoggy has joined #nixos
<reactormonk[m]>
running nixos-install with plasma + sddm in a vbox with 8 GB space, running into "no space left on device", but df -h looks fine. Whenever I run it again, it gets a bit farther.
<thineye>
joachifm: I am excited of the next days. What will the other distribution do etc...it's affecting in the heart many security enhanced distributions like alpine linux etc.
<joachifm>
thineye: arch linux is dropping support at least
<clever>
reactormonk[m]: what about df -i ?
<reactormonk[m]>
clever: looks decent
<clever>
reactormonk[m]: can you pastebin the full output from the latest nixos-install run?
<reactormonk[m]>
... worked now
newhoggy has quit [(Ping timeout: 268 seconds)]
<reactormonk[m]>
After about 5 runs. Not sure how to copypasta things out of a vbox buffer.
<clever>
is the program 32bit only or can it build in 64bit also?
<dash>
Infinisil: sounds like it's time to write a nix expression to build it
<Infinisil>
May be 32 bit only
<simpson>
Infinisil: Uh, write a Nix expression already!
jlmeeker_ has joined #nixos
<simpson>
It's time to take that step.
<dash>
this one looks like it'll be easy, too
<Infinisil>
Yeah I did but I couldn't get it to work
<dash>
Infinisil: that's normal with computers :D
<Infinisil>
So i thought why not try the more interactive and supposedly easier way by doing it once manually in a shell
<dash>
Infinisil: want to show us how far you got and maybe we can help you get the rest of the way?
newhoggy has joined #nixos
<simpson>
Infinisil: On NixOS, using Nix is easier than not using Nix.
<simpson>
Infinisil: Note also that, once you've written a Nix expression, you can debug it live as if you were doing it by hand.
<Infinisil>
How so?
<clever>
by running nix-shell on the expression
jlmeeker has quit [(Ping timeout: 255 seconds)]
<dash>
and/or using nix-build -K
<Infinisil>
I'll keep that in mind, thanks :D
newhoggy has quit [(Ping timeout: 240 seconds)]
<dash>
Infinisil: 'nix-shell mything.nix -A someAttribute' will load your nix expression and start a shell in an environment with all the dependencies for that build loaded
<dash>
Infinisil: 'nix-build -K mything.nix' will run the build process and leave the temp directory around if it fails, so you can investigate what broke
<Infinisil>
Thanks
<Infinisil>
So I first tried to use buildPythonApplication, but that failed because some patching went wrong, I'll share the nix expression as soon as I have it semi working again
<clever>
no arguments are being passed to makeWrapper on line 23, so the wrapper doesnt actually do anything
pie_ has quit [(Ping timeout: 240 seconds)]
<clever>
and its just copying all of the source to $out/src/, so nothing actually gets compiled or patched
revtintin has quit [(Ping timeout: 255 seconds)]
<dmj`>
clever++
<Tipping_Fedora>
Hey, I need help with gnome 3, is anyone in here useing it at the moment?
<Infinisil>
Hmm..
newhoggy has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
jlmeeker_ has quit [(Read error: Connection reset by peer)]
jlmeeker has joined #nixos
<gchristensen>
joachifm: can you in your PR put more info in to the error with a link to the grsec post about discontinuing the prdocut?
<Infinisil>
Alright let's just remove makeWrapper for now and just run it using $out/src/scyther-gui.py
<Infinisil>
Doing that throws an error, because the file Scyther/Scyther.py was wrapped and is now not a python module but a bash script wrapping the python module, which obviously doesn't work, I don't know why this is being patched wrongly
<joachifm>
gchristensen: sure
newhoggy has quit [(Ping timeout: 260 seconds)]
<joachifm>
gchristensen: open to any suggestions for how to make this go smoothly, there's quite a bit of stuff to cover
<gchristensen>
yeah :(
<dash>
Infinisil: hmm, i haven't used makePythonApplication before so I don't remember what it does exactly
<simpson>
It sets up entrypoints IIRC.
<Infinisil>
Ahh I see, from http://nixos.org/nixpkgs/manual/#building-packages-and-applications: In the postFixup phase, the wrapPythonPrograms bash function is called to wrap all programs in the $out/bin/* directory to include $PATH environment variable and add dependent libraries to script’s sys.path.
dancek has quit [(Remote host closed the connection)]
Mioriin has quit [(Quit: Page closed)]
zeus_ has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
newhoggy has joined #nixos
aneeshusa has quit [(Read error: Connection reset by peer)]
aneeshus1 has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
* Infinisil
is almost too frustrated to continue trying to get that package to work
newhoggy has quit [(Ping timeout: 260 seconds)]
<Infinisil>
Why can't every package and application write a nix expression for their stuff, the world would be so much better
<Infinisil>
package and application developer*
<clever>
:D
<simpson>
Infinisil: Indeed. However, there's subsystem concerns to hash out, too; Nix really requires a nixpkgs-like aggregation of package.s
<Infinisil>
what do you mean by nixpkgs-like aggregation?
<simpson>
I mean that composition of Nix expressions doesn't really work on an ad-hoc basis; a default.nix which encodes all the proper dependencies has to encode them by name, which means that there needs to be a standard list of package names somewhere...
batdog has quit [(Ping timeout: 260 seconds)]
tv has quit [(Ping timeout: 260 seconds)]
<clever>
yeah, if you want to use python for example, you must refer to another expression that gives python
<simpson>
So you check that list into git, call it the "top-level package list" and you've got a non-trivial amount of the nixpkgs structure.
<clever>
nixpkgs saves you the work of having to describe every single dependency
tv has joined #nixos
pie_ has joined #nixos
yegods has joined #nixos
justbeingglad has joined #nixos
<gchristensen>
can I do a trace that outputs more depths than just [ [ <CODE> ] ]? that <CODE> is [1 2] and I'd like to see [ [ [ 1 2] ] ]
<clever>
gchristensen: if its a fairly simple structure, i just convert the whole thing to json
<gchristensen>
nice
Filystyn has joined #nixos
justbeingglad has left #nixos []
batdog has joined #nixos
<dash>
Is there any documentation for emacsPackagesNg? Don't see it in the nixpkgs manual...
newhoggy has joined #nixos
<dash>
Oh, it's in the NixOS manual. Welp.
<gchristensen>
awkward
<Infinisil>
"The source is your documentation :D" - clever probably
<clever>
"luke, use the source!"
<Infinisil>
Heh
<makefu>
ain't nobody got time for this!
<Infinisil>
Btw how is Wine support on NixOS?
<MichaelRaskin>
releases are built
newhoggy has quit [(Ping timeout: 260 seconds)]
aneeshus1 has quit [(Ping timeout: 260 seconds)]
the-kenny has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
takle has quit [(Remote host closed the connection)]
pie_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 5 new commits to master: https://git.io/v9Zvk
<NixOS_GitHub>
nixpkgs/master 7d546d7 John Ericson: lib platform parsing: Turn assertion back on
<NixOS_GitHub>
nixpkgs/master fcde869 John Ericson: lib platform parsing: Fix windows...
<NixOS_GitHub>
nixpkgs/master 92887cb John Ericson: release-cross: Add final "-gnu" to fuloong triple
pie_ has joined #nixos
aneeshusa has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<disasm>
My root is btrfs. I'm looking at moving root to a subvol. I know what needs changed for the mounts, but what I'm wondering is how can I run the nixos-rebuild switch on a live system without breaking everything.
thineye has quit [(Quit: Konversation terminated!)]
engblom has quit [(Read error: Connection reset by peer)]
engblom has joined #nixos
thineye has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
newhoggy has joined #nixos
<LnL>
gchristensen: in the nix-repl you can use :p, and for nix itself there's builtins.deepSeq
takle has joined #nixos
<Infinisil>
disasm: I just read through the first page of nix-install --help and it doesn't seem like anything should mess up
pie_ has quit [(Ping timeout: 260 seconds)]
<Infinisil>
disasm: But like can't you just copy the files?
newhoggy has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tilpner>
Is there any alternative/workaround for dockerTools.pullImage?
<tilpner>
GH issues say it 404s because it only supports a now offline API version
<gchristensen>
no known workaround exists in nixpkgs already, I have a bad, hacked together set of fixes I can't yet open source
<gchristensen>
I'd recommend looking at skopeo
Judson has joined #nixos
newhoggy has joined #nixos
aneeshusa has quit [(Read error: Connection reset by peer)]
aneeshusa has joined #nixos
<tilpner>
Does your hack use skopeo too?
<copumpkin>
I never really understood how pullImage could work, even if the API version issue was fixed
<tilpner>
There are tags, and you provide a hash. I think it could work
<LnL>
the labels, but I think you can pull the layers
takle has joined #nixos
<copumpkin>
oh, okay
<copumpkin>
so it boils down to implementing the new API?
<tilpner>
You wouldn't pull "latest", only an old evrsion
<tilpner>
*version
<gchristensen>
no, tilpner
endformationage has joined #nixos
<gchristensen>
(I don't use skopeo, but I wish I had.) also you can pin to a image's unique sha so it never changes
<copumpkin>
cool
<tilpner>
Hmm, I can try. Someone mentioned packer but that's a bunch of JSON and I like Nix more, so I tried that first
<gchristensen>
(see also reasons I wish I used skopeo instead of making a shitty api client with curl calls)
cpennington has quit [(Remote host closed the connection)]
pie_ has joined #nixos
newhoggy has joined #nixos
griff_ has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
Sonarpulse_ is now known as Sonarpulse
kahiru_ has joined #nixos
kahiru_ has left #nixos []
dbmikus has joined #nixos
darlan has joined #nixos
newhoggy has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
<tilpner>
gchristensen - Alright, I copied something with skopeo (the default config was giving errors), but buildImage wants a "repository tarball". How do I make sure skopeo gave me something close to that?
<tilpner>
I'll try to tar it up and somehow pass that to buildImage, but that could go wrong with little indication of where the error is
thetet has joined #nixos
<disasm>
Infinisil: yeah, I'm pretty confidant I can boot off a usb stick and re-run nixos-install in a worse case scenario. I'm think I'm going to go for the rebuild and see how bad I F things up :)
<tilpner>
gchristensen - $ docker import works on the tarball, so that was lucky :)
<tilpner>
(Because I would have no idea where to look if it didn't work)
newhoggy has quit [(Remote host closed the connection)]
yegods has quit [(Remote host closed the connection)]
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
lezed1 has joined #nixos
Filystyn has quit [(Remote host closed the connection)]
<lezed1>
I have a quick question about installing packages from NPM. I found npm2nix and was able to generate a .nix expression with all the dep, but I wasn't sure how to add it to my shell.nix to actually install them.
<lezed1>
I think it has to do with nodePackages.buildNodePackages, but I wasn't able to quite get it to work
<sphalerite>
LnL: yep, I'm using deoplete but I don't really have a solution for getting decent C/C++ completion in it. I tried deoplete-clang but couldn't get it working within the nixpkgs plugin system
<NixOS_GitHub>
[nixpkgs] thineye closed pull request #25276: grsecurity: add support for proprietary nvidia video driver (master...fix/grsecurity-nvidia) https://git.io/v9GSI
modafinil has joined #nixos
bdimcheff has joined #nixos
jml has joined #nixos
magnetophon has joined #nixos
monad_cat has joined #nixos
sjanssen has joined #nixos
<LnL>
I think youcompleteme might be a bit better for c/c++, that's what the project started with
ericbmerritt_ has joined #nixos
tjg1 has joined #nixos
raydeo has joined #nixos
ocharles has joined #nixos
<sphalerite>
Alright, I'll look into that. Thanks for the tip!
zeus_ has quit [(Read error: Connection reset by peer)]
derjohn_mob has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
<johnramsden>
I've patched a package with patchelf, and all of the libraries have been linked normally except for one. When I run ldd it's missing, does anyone know what they're doing with this that might be able to help me?
thineye has quit [(Quit: Konversation terminated!)]
kampfschlaefer has quit [(Ping timeout: 260 seconds)]
<sphalerite>
johnramsden: what does your expression for it look like and which library is missing?
<johnramsden>
I even tried adding it explicitly, like: patchelf --set-rpath $ffrp:$out/lib:${stdenv.cc.cc.lib}/lib:${xorg.libxkbfile.out}/lib:${lib.makeLibraryPath propagatedBuildInputs } and it won't add it.
<garbas>
sphalerite: /me looks
<tilpner>
gchristensen - I don't understand what format is required by fromImage. Do you know what it's called or where to find information about it?
jlmeeker has quit [(Quit: Leaving)]
<tilpner>
No matter where I get my tarball from, the error is always /nix/store/f3wan424j5p0a06p02byvn4gq5g2x234-stdenv/setup: line 866: image/repositories: No such file or directory
dbmikus has joined #nixos
<sphalerite>
garbas: awesome, thanks. it's quite a big set of changes but I'd appreciate little chunks of feedback as well if you don't have the time for a detailed review :)
<sphalerite>
I'm off to bed now, so if you have any comments I'll see them tomorrow. Gnight!
<sphalerite>
johnramsden: I don't know for your issue, sorry!
<johnramsden>
sphalerite, np thanks
newhoggy has quit [(Remote host closed the connection)]
dbmikus has quit [(Ping timeout: 245 seconds)]
dridus has quit [(Quit: znc? wassat?)]
<garbas>
sphalerite: i have left the comment. usually we rely on arguments of expressions and .override functionality to extend programs
thetet has quit [(Ping timeout: 240 seconds)]
indi_ has joined #nixos
<garbas>
sphalerite: also +100 for your weechat patch. i hope it gets accepted upstream
<garbas>
sphalerite: as much as i love weechat i hate how they handle configuration
zeus has joined #nixos
zeus is now known as Guest99801
erasmas has quit [(Quit: leaving)]
hexa- has quit [(Quit: WeeChat 1.7.1)]
hexa- has joined #nixos
newhoggy has joined #nixos
acowley is now known as acowley_away
Infinisil has quit [(Quit: leaving)]
Sonarpulse has quit [(Remote host closed the connection)]
visceral has joined #nixos
byteflame has joined #nixos
thc202 has quit [(Ping timeout: 268 seconds)]
thetet has joined #nixos
benley has quit [(Remote host closed the connection)]
benley has joined #nixos
benley has quit [(Remote host closed the connection)]
digitus has quit [(Quit: digitus)]
benley has joined #nixos
<rotaerk>
hmm I have caps lock and ctrl swapped in NixOS, but I also have them swapped in Windows, so when I boot into NixOS from virtualbox within Windows, the swaps cancel each other out
justanotheruser has quit [(Remote host closed the connection)]
<rotaerk>
is there some way to have, effectively, one configuration.nix for when I'm booting directly, and another for when I'm booting from virtualbox
visceral has quit [(Quit: visceral)]
justanotheruser has joined #nixos
<rotaerk>
would that be what profiles are for?
markus1189 has joined #nixos
markus1199 has joined #nixos
<MichaelRaskin>
Which of the profiles?
<MichaelRaskin>
This would work well with profiles as in NixOS modules with settings, but nix-env profiles are currently useless because NixOS doesn't support that level of sophistication
<rotaerk>
ah
<MichaelRaskin>
There is nesting.children option to build more than one configuration in a single nixos-rebuild switch (the choice will be manual)
<copumpkin>
huh, did most of the hydra build machines disappear?