austinbutler[m] has quit [Ping timeout: 252 seconds]
regnat has quit [Ping timeout: 252 seconds]
sparogy has quit [Ping timeout: 252 seconds]
nbp[m] has quit [Ping timeout: 252 seconds]
NobbZ[m] has quit [Ping timeout: 252 seconds]
leonardp has quit [Ping timeout: 244 seconds]
rycee has joined #nixos
plutes has quit [Read error: Connection reset by peer]
bqv has quit [Remote host closed the connection]
redcedar[m] has joined #nixos
contrun has joined #nixos
orivej has joined #nixos
dngray has joined #nixos
greghab[m] has joined #nixos
mullein[m] has joined #nixos
q3ax[m] has joined #nixos
ivank[m] has joined #nixos
bqv has joined #nixos
marusich has quit [Quit: brb]
edrex has joined #nixos
srxl has joined #nixos
srid has joined #nixos
austinbutler[m] has joined #nixos
NobbZ[m] has joined #nixos
leonardp has joined #nixos
li_matrix has joined #nixos
sparogy has joined #nixos
wangoe[m] has joined #nixos
nbp[m] has joined #nixos
Jonas[m]2 has joined #nixos
regnat has joined #nixos
bpye has joined #nixos
plutes has joined #nixos
virus_dave has quit [Ping timeout: 246 seconds]
jordandoyle has quit [Ping timeout: 246 seconds]
sm[m] has quit [Ping timeout: 246 seconds]
kriteus[m] has quit [Ping timeout: 246 seconds]
ky0ko has quit [Ping timeout: 246 seconds]
aquarial has quit [Ping timeout: 246 seconds]
loupinfre[m] has quit [Ping timeout: 246 seconds]
M776f6c66[m] has quit [Ping timeout: 246 seconds]
spinlock[m] has quit [Ping timeout: 246 seconds]
leward[m] has quit [Ping timeout: 246 seconds]
comrandroxaos[m] has quit [Ping timeout: 246 seconds]
init_6 has quit [Ping timeout: 246 seconds]
jojosch[m] has quit [Ping timeout: 246 seconds]
atemu12[m] has quit [Ping timeout: 246 seconds]
ayrymmnwpnng[m] has quit [Ping timeout: 246 seconds]
keithy[m] has quit [Ping timeout: 246 seconds]
la-s has quit [Ping timeout: 246 seconds]
dpc has quit [Ping timeout: 246 seconds]
bobfett has quit [Ping timeout: 246 seconds]
MilkManzJourDadd has quit [Ping timeout: 246 seconds]
sasyctu[m] has quit [Ping timeout: 246 seconds]
domenkozar[m] has quit [Ping timeout: 246 seconds]
Yakulu[m] has quit [Ping timeout: 246 seconds]
gmr has quit [Ping timeout: 246 seconds]
virus_dave has joined #nixos
jtojnar has quit [Ping timeout: 246 seconds]
rednaZ[m] has quit [Ping timeout: 246 seconds]
kai_w has quit [Ping timeout: 246 seconds]
hsngrmpf[m] has quit [Ping timeout: 246 seconds]
hsiktas[m] has quit [Ping timeout: 246 seconds]
hpfr[m] has quit [Ping timeout: 246 seconds]
colemickens has quit [Ping timeout: 246 seconds]
redcedar[m] has quit [Ping timeout: 246 seconds]
infinisil-m has quit [Ping timeout: 246 seconds]
Elorm[m] has quit [Ping timeout: 246 seconds]
softinio[m] has quit [Ping timeout: 246 seconds]
yutyo[m] has quit [Ping timeout: 246 seconds]
Wouter[m] has quit [Ping timeout: 246 seconds]
echel0n[m] has quit [Ping timeout: 246 seconds]
koschitzky[m] has quit [Ping timeout: 246 seconds]
mkfart[m] has quit [Ping timeout: 246 seconds]
AberDerBart[m] has quit [Ping timeout: 246 seconds]
jwaksbaum[m] has quit [Ping timeout: 246 seconds]
geekimerssive[m] has quit [Ping timeout: 246 seconds]
sibachian[m] has quit [Ping timeout: 246 seconds]
askatasun[m] has quit [Ping timeout: 246 seconds]
shu9[m] has quit [Ping timeout: 246 seconds]
willghatch[m] has quit [Ping timeout: 246 seconds]
trufas[m] has quit [Ping timeout: 246 seconds]
pitch has quit [Ping timeout: 246 seconds]
solomon[m] has quit [Ping timeout: 246 seconds]
ma27[m] has quit [Ping timeout: 246 seconds]
kazzimazzi[m] has quit [Ping timeout: 246 seconds]
astraliam[m] has quit [Ping timeout: 246 seconds]
alexarice[m] has quit [Ping timeout: 246 seconds]
fiadliel[m] has quit [Ping timeout: 246 seconds]
dasj19[m] has quit [Ping timeout: 246 seconds]
cmcaine[m] has quit [Ping timeout: 246 seconds]
tyrion-mx has quit [Ping timeout: 246 seconds]
jlle[m] has quit [Ping timeout: 246 seconds]
alj[m] has quit [Ping timeout: 246 seconds]
grin[m] has quit [Ping timeout: 246 seconds]
fantoom[m] has quit [Ping timeout: 246 seconds]
shazow[m] has quit [Ping timeout: 246 seconds]
cab404[m] has quit [Ping timeout: 246 seconds]
fresheyeball[m] has quit [Ping timeout: 246 seconds]
coyoneda[m] has quit [Ping timeout: 246 seconds]
mica[m] has quit [Ping timeout: 246 seconds]
ksevelyar[m] has quit [Ping timeout: 246 seconds]
randnoise[m] has quit [Ping timeout: 246 seconds]
bqy has quit [Ping timeout: 246 seconds]
worldofpeace has quit [Ping timeout: 246 seconds]
cornu has quit [Ping timeout: 246 seconds]
atopuzov[m] has quit [Ping timeout: 246 seconds]
Valodim[m] has quit [Ping timeout: 246 seconds]
Notkea[m] has quit [Ping timeout: 246 seconds]
axx[m] has quit [Ping timeout: 246 seconds]
Grauwolf[m] has quit [Ping timeout: 246 seconds]
ky0ko has joined #nixos
plutes has quit [Read error: Connection reset by peer]
pitch has joined #nixos
bqy has joined #nixos
Valodim[m] has joined #nixos
geekimerssive[m] has joined #nixos
solomon[m] has joined #nixos
axx[m] has joined #nixos
cr4y1 has quit [Ping timeout: 246 seconds]
redcedar[m] has joined #nixos
jordandoyle has joined #nixos
kriteus[m] has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
leward[m] has joined #nixos
MilkManzJourDadd has joined #nixos
sm[m] has joined #nixos
kazzimazzi[m] has joined #nixos
trufas[m] has joined #nixos
shazow[m] has joined #nixos
jlle[m] has joined #nixos
alexarice[m] has joined #nixos
mkfart[m] has joined #nixos
sibachian[m] has joined #nixos
ma27[m] has joined #nixos
willghatch[m] has joined #nixos
coyoneda[m] has joined #nixos
askatasun[m] has joined #nixos
Notkea[m] has joined #nixos
Grauwolf[m] has joined #nixos
hsngrmpf[m] has joined #nixos
kai_w has joined #nixos
bobfett has joined #nixos
init_6 has joined #nixos
loupinfre[m] has joined #nixos
jojosch[m] has joined #nixos
aquarial has joined #nixos
gmr has joined #nixos
alj[m] has joined #nixos
comrandroxaos[m] has joined #nixos
cmcaine[m] has joined #nixos
ksevelyar[m] has joined #nixos
spinlock[m] has joined #nixos
AberDerBart[m] has joined #nixos
echel0n[m] has joined #nixos
atopuzov[m] has joined #nixos
worldofpeace has joined #nixos
shu9[m] has joined #nixos
dpc has joined #nixos
softinio[m] has joined #nixos
dasj19[m] has joined #nixos
jtojnar has joined #nixos
cornu has joined #nixos
rednaZ[m] has joined #nixos
hsiktas[m] has joined #nixos
Mateon1 has joined #nixos
colemickens has joined #nixos
hpfr[m] has joined #nixos
<hpfr[m]>
clever: so mkMerge does what recursiveUpdate does except for merging lists? Because you have to pick something in the case of stuff like numbers and strings correct
mica[m] has joined #nixos
grin[m] has joined #nixos
Wouter[m] has joined #nixos
jwaksbaum[m] has joined #nixos
koschitzky[m] has joined #nixos
M776f6c66[m] has joined #nixos
<clever>
hpfr[m]: mkMerge tells the module framework to merge things according to the type for each option
infinisil-m has joined #nixos
Elorm[m] has joined #nixos
yutyo[m] has joined #nixos
Yakulu[m] has joined #nixos
atemu12[m] has joined #nixos
ayrymmnwpnng[m] has joined #nixos
la-s has joined #nixos
astraliam[m] has joined #nixos
fiadliel[m] has joined #nixos
domenkozar[m] has joined #nixos
tyrion-mx has joined #nixos
fantoom[m] has joined #nixos
keithy[m] has joined #nixos
cab404[m] has joined #nixos
fresheyeball[m] has joined #nixos
randnoise[m] has joined #nixos
sasyctu[m] has joined #nixos
TallerGhostWalt_ has left #nixos ["ERC (IRC client for Emacs 26.3)"]
ldlework has quit [Ping timeout: 272 seconds]
Mateon1 has quit [Ping timeout: 256 seconds]
scott`` has joined #nixos
scott`` has left #nixos [#nixos]
pistache has quit [Ping timeout: 260 seconds]
rogue_koder has quit [Remote host closed the connection]
orivej_ has joined #nixos
rogue_koder has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
Henson has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
alp has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfXAY
Mateon1 has joined #nixos
marusich has joined #nixos
smatting has quit [Ping timeout: 258 seconds]
Rusty1 has joined #nixos
<{^_^}>
[nixpkgs] @aanderse opened pull request #89517 → tome4: fix error in .desktop file → https://git.io/JfXAZ
orivej_ has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
fragamus_ has joined #nixos
noudle has quit []
fragamus_ has quit [Client Quit]
bqv has quit [Ping timeout: 272 seconds]
fragamus_ has joined #nixos
bqv has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
fragamus_ has quit [Client Quit]
orivej has joined #nixos
ldlework has joined #nixos
<{^_^}>
[nixpkgs] @tadfisher opened pull request #89518 → sed-opal-unlocker: init at 1.0.0 → https://git.io/JfXAw
gmr has quit [Ping timeout: 246 seconds]
willghatch[m] has quit [Ping timeout: 246 seconds]
dtz has quit [Ping timeout: 246 seconds]
keithy[m] has quit [Ping timeout: 246 seconds]
coyoneda[m] has quit [Ping timeout: 246 seconds]
ky0ko has quit [Ping timeout: 246 seconds]
dithered_diapens has quit [Ping timeout: 246 seconds]
gmr has joined #nixos
ayrymmnwpnng[m] has quit [Ping timeout: 246 seconds]
worldofpeace has quit [Ping timeout: 246 seconds]
atopuzov[m] has quit [Ping timeout: 246 seconds]
dasj19[m] has quit [Ping timeout: 246 seconds]
shu9[m] has quit [Ping timeout: 246 seconds]
Notkea[m] has quit [Ping timeout: 246 seconds]
kriteus[m] has quit [Ping timeout: 246 seconds]
infinisil-m has quit [Ping timeout: 246 seconds]
hsiktas[m] has quit [Ping timeout: 246 seconds]
ky0ko has joined #nixos
willghatch[m] has joined #nixos
pistache has joined #nixos
coyoneda[m] has joined #nixos
dithered_diapens has joined #nixos
keithy[m] has joined #nixos
bqv has quit [Ping timeout: 246 seconds]
astraliam[m] has quit [Ping timeout: 246 seconds]
jojosch[m] has quit [Ping timeout: 246 seconds]
jtojnar has quit [Ping timeout: 246 seconds]
cab404[m] has quit [Ping timeout: 246 seconds]
aquarial has quit [Ping timeout: 246 seconds]
colemickens has quit [Ping timeout: 246 seconds]
ayrymmnwpnng[m] has joined #nixos
infinisil-m has joined #nixos
hsiktas[m] has joined #nixos
atopuzov[m] has joined #nixos
aquarial has joined #nixos
shu9[m] has joined #nixos
dasj19[m] has joined #nixos
cab404[m] has joined #nixos
worldofpeace has joined #nixos
Notkea[m] has joined #nixos
kriteus[m] has joined #nixos
delroth has quit [Quit: WeeChat 2.6]
colemickens has joined #nixos
bqv has joined #nixos
astraliam[m] has joined #nixos
jojosch[m] has joined #nixos
dtz has joined #nixos
jtojnar has joined #nixos
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
<simpson>
hazel: I don't think NixOS has special configuration support for lm_sensors. The `sensors` command itself supports a -c flag for providing the configuration file locally.
<hazel>
the issue which i'm having right now is weird behavior in thinkfan
pistache has quit [Ping timeout: 246 seconds]
<hazel>
like if i do `tp_thermal /proc/acpi/ibm/thermal` sometimes there are 8 sensors sometimes there are 16
<hazel>
if i do hwmon, the hwmon number *changes*
<hazel>
and again, sometimes 8, sometimes 16...
<hazel>
idk what's up or what i have to dozn
<hazel>
do! sorry, autocorrect
<simpson>
Huh. That's weird. I don't know what would cause that; that's not normal.
<hazel>
indeed
<hazel>
is there some way I can hack together a wildcard to read /sys/class/hwmon/*/temp*_input
<hazel>
wherever it may end up being
<hazel>
i think only temp1_input matters
<hazel>
...actually yeah only temp1_input matters...
<hpfr[m]>
all-packages.nix has these `config.kodi.enableSteamLauncher` type optional checks for plugins but they aren’t valid NixOS options. Where do I reference these?
<wedens[m]>
why does `nix run` reads my current nixos config?
<wedens[m]>
I did some changes in nixos options to upgrade to 20.03 and now I can't use `nix run` while I'm still on 19.09
kvda has joined #nixos
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<wedens[m]>
my attemps at declaratively manage channels make it difficult to do the upgrade without doing `nix run` that builds/runs a script that sets up new NIX_PATH :/
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user_0x58 has quit [Ping timeout: 260 seconds]
user_0x58 has joined #nixos
zebrag has joined #nixos
<{^_^}>
[nixpkgs] @josephtheengineer opened pull request #89522 → freecad: use wrapQtAppsHook → https://git.io/Jf1vs
justanotheruser has quit [Ping timeout: 246 seconds]
lunaa has joined #nixos
ericsagnes has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
luna has quit [Ping timeout: 272 seconds]
<{^_^}>
[hydra] @kquick opened pull request #776 → Fix issue #706: do not use locally cached last build ID. → https://git.io/Jf1fm
D_ has quit [Ping timeout: 240 seconds]
D_ has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
kvda has joined #nixos
kvda has quit [Client Quit]
palo1 has joined #nixos
SanchayanMaity has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
<ashkitten>
is there a variant of runCommand that has $out as a file not a directory?
proofofkeags has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
proofofkeags has joined #nixos
<ashkitten>
oops, nvm
<clever>
ashkitten: $out can even be a bare symlink
<ashkitten>
yeah i was running mkdir before i tried to write to file, copypaste error
o1lo01ol1o has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Ping timeout: 260 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
gxt has joined #nixos
<hyper_ch>
is there a way to run appimage files on nixos?
<evils>
hyper_ch: there's no description, but appimage-run sounds like what you're after
medvid has quit [Ping timeout: 256 seconds]
medvid has joined #nixos
<hyper_ch>
evils: will try
iceypoi has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}>
[hydra] @kquick opened pull request #777 → Fix issue #614: restart queue/evaluator on sufficient disk space avai… → https://git.io/Jf1JZ
fusion809 has quit [Quit: Leaving]
icey_ has quit [Ping timeout: 272 seconds]
hmpffff has joined #nixos
hmpffff_ has quit [Ping timeout: 240 seconds]
kenran has joined #nixos
<hyper_ch>
evils: that works :)
alexherbo2 has joined #nixos
nixbitcoin has quit [Ping timeout: 240 seconds]
nixbitcoin has joined #nixos
virus_dave has quit [Quit: virus_dave]
agsdheid1 has joined #nixos
user_0x58 has quit [Quit: Leaving]
alp has joined #nixos
<{^_^}>
[nixpkgs] @FRidh merged pull request #89425 → Add {pkgsMusl,pkgsStatic}.stdenv to build on hydra → https://git.io/JfP54
<{^_^}>
[nixpkgs] @FRidh pushed commit from @domenkozar to master « Add {pkgsMusl,pkgsStatic}.stdenv to build on hydra (#89425) »: https://git.io/Jf1Uv
stolyaroleh has joined #nixos
duckonomy has quit [Quit: z.z]
<kenran>
My shell.nix takes an argument of the form { foo ? null }. Is it possible to make it "not take a set", but just be a function (`foo: ...`)? How would I call that from the command line then, if it's even possible?
duckonomy has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 closed pull request #50857 → update-users-groups.pl: create intermediate home directories as 0755 → https://git.io/fpljC
fragamus_ has joined #nixos
<kenran>
Reason: I wish to just "pass-through" the argument to shell.nix to another nix function I wrote
<qyliss>
I don't think so
<qyliss>
But you can get the whole attribute set as a variable if you do { foo ? null } @ args:
<qyliss>
Then args refers to the whole set
<fragamus_>
hello I have been struggling with something and I have come to ask for help
<fragamus_>
I am trying to get a specific version of stack. I have found where it is but try as I might, I can not install it with nix-env
<clever>
kenran: `--argstr foo bar` only works if it takes a set
<fragamus_>
clever I have a question.
<fragamus_>
clever: I am trying to get a specific version of stack: 0.1.10.1. I have found where it is but try as I might, I can not install it with nix-env
<clever>
fragamus_: hackage-packages.nix is what defines haskellPackages
<clever>
so for the above tar, you would want: nix-env -f channel:nixos-16.03 -iA haskellPackages.stack_0_1_10_1
Cale has quit [Ping timeout: 240 seconds]
<fragamus_>
ok I will try
<fragamus_>
clever: it is working thank you
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
mpickering_ is now known as mpickering
o1lo01ol1o has joined #nixos
qyliss has quit [Quit: bye]
qyliss has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
tobiasBora has quit [Read error: Connection reset by peer]
slack1256 has quit [Remote host closed the connection]
jluttine has quit [Quit: WeeChat 2.7.1]
alp has quit [Remote host closed the connection]
Acou_Bass has quit [Ping timeout: 258 seconds]
alp has joined #nixos
kvda has joined #nixos
Cale has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 opened pull request #89523 → buildRustPackage: add documentation on how to create cargo.lock patches → https://git.io/Jf1kn
<{^_^}>
[nixpkgs] @vcunat merged pull request #82342 → rustPlatform: increase build-speed of `checkPhase` for rust-packages → https://git.io/Jv6Ug
jluttine has joined #nixos
<fps>
hmm, i'm still unclear about a command like "nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./ogfx-nixos-sd-card.nix"
<fps>
oh, i got it. nix-config is actually used in nixpkgs/nixos/default.nix
Acou_Bass has joined #nixos
<dkjii>
clever: it looks like my NIX_PATH was not set, relogged in and now it works, thanks!
mallox has quit [Quit: WeeChat 2.8]
<fps>
hmm. no i don't quite get it yet :)
<{^_^}>
[nix-pills] @nlewo pushed commit from @dmedinag to improve-strip « Paraphrase utility of strip »: https://git.io/Jf1ko
<{^_^}>
[nix-pills] @nlewo opened pull request #147 → Paraphrase utility of strip → https://git.io/Jf1kK
jluttine has quit [Quit: WeeChat 2.8]
<fps>
ok, trying to parse that command. the path to build (as per man nix-build) in this case is the attribute config.system.build.sdImage from the result attribute set returned by evaluating <nixpkgs/nixos> which resolves to nixpkgs/nixos/default.nix, right?
<fps>
s/path/derivation/
<fps>
but we're also adding a prefix to the whole evaluation which makes <nixos-config> resolve to the given file
TZander has joined #nixos
<fps>
and the first line of nixpkgs/nixos/default.nix checks if an attribute configuration is given and if not calls the function in lib/from-env.nix with the arguments "NIXOS_CONFIG" and <nixos-config>
<fps>
oh from-env.nix is just an expression, not a function. hmm
<dkjii>
how do you prevent nix-build from deleting the content of /tmp/nix-build...
<fps>
dkjii: in case of a build failure? then it's -K. Don't know about successful builds
<quinn>
if you want to keep on success you can pobably just add an extra phase with an error in it
<dkjii>
fps: perfect that works
<fps>
which is super backwards ;)
<fps>
i think guix has an option to keep it anyways. maybe nix would accept a PR to add an option to keep even in case of success
<dkjii>
agreed sometimes keeping build output is useful for easier rebuilds and stuff
maxdevjs has quit [Ping timeout: 246 seconds]
<dkjii>
somehow i cant build gnum4
<dkjii>
it says theres no configure script but there is one
<fps>
or just inspecting build products if the build succeeds but doesn't do what you want ;)
<fps>
oops, so from-env.nix is a function :) i misread..
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Caleb[m]1 has joined #nixos
<fps>
ok, i think i have mostly grokked that nix-build commandline now ;)
<dkjii>
how do you use nix-shell to debug a build failure?
<billow>
I want use gcc 5.4.0 via nix-shell, with import <nixpkgs> {};```let gcc = (import (builtins.fetchGit { name = "gcc-5.4.0"; url = "https://github.com/nixos/nixpkgs-channels/"; ref = "refs/heads/nixos-20.03"; rev = "4f901203e8d1a0ded90a73e2670ce493ed051299"; }) {}).gcc;in stdenv.mkDerivation rec { name = "not-cool-env"; src =
<billow>
./.; buildInputs = with pkgs; [ gcc ]; }
<billow>
I writen this shell.nix, but got a `warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixpkgs' does not exist, ignoringbash: crossConfig: unbound variable`.
cole-h has joined #nixos
<billow>
On my Arch Linux,
Siyo has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
doyougnu has quit [Ping timeout: 246 seconds]
cizra has quit [Ping timeout: 252 seconds]
billow has quit [Remote host closed the connection]
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
jb55 has quit [Remote host closed the connection]
<kenran>
clever: thanks! I found out I could just use currying to do what I want :)
<kenran>
What purpose does making the `src` of a derivation smaller have? I know that in my Haskell projects I don't trigger `lorri` reloads all the time, but does it influence anything else, say with `nix-build` or `nix-shell`?
<kenran>
(e.g. using `gitignoreSource`)
mchasard has joined #nixos
<{^_^}>
[nixpkgs] @chuwy opened pull request #89527 → rq: fix build on darwin → https://git.io/Jf1m7
<balsoft>
kenran: less things copied to nix store => less space consumption
maxter has joined #nixos
m0rphism has joined #nixos
<kenran>
balsoft: Is that true even when my derivation would manually `cp` for instance a binary into its $out directory? Would be source still be copied to the nix store?
billow has joined #nixos
<balsoft>
kenran: yes, all the inputs and outputs of a derivation are in nix store.
<balsoft>
Said binary will appear there twice -- one time as an input, one as an output, so it's better to link it instead of cp.
<Unode>
Hi all, I'm trying to test some cairo code using "nix-shell -p cairo --run 'gcc cairo_code.c -o testbin && ./testbin'" but it fails to find 'cairo.h'. Is there an easy way to have gcc find the headers or do I need to go the longer route and building an expression?
mchasard has quit [Quit: Konversation terminated!]
<{^_^}>
[nixpkgs] @DIzFer opened pull request #89532 → tests: transmission is now tested with apparmor → https://git.io/Jf13U
cosimone has joined #nixos
<kenran>
balsoft: thanks!
<kenran>
Now when I `nix-store --import ...` a nix derivation on a target system, it gives me its store path on this system. There are some executables in there that I wish to run and that also just "do stuff" on the system. They can't run inside their store path. What's the way to "really deploy/install" them on this system?
<kenran>
I mean, I can `cp` the contents somewhere and `chmod` them so it runs but that looks either wrong or overcomplicated.
<fps>
meh, pulseaudio fails to build on nixos-rebuild switch --upgrade
<fps>
illegal instruction (core dumped) - hum
lsix has quit [Ping timeout: 260 seconds]
lsix has joined #nixos
<fps>
ok, everything fails with segfaults. is my machine toast? :)
ImperialWater has joined #nixos
<ImperialWater>
Hey, I'm getting started with NixOS, and I have a rather unique problem with the wifi.
<ImperialWater>
I followed all the instructions in the manual, however when I run `ifconfig` or `ip a` or any variant of those commands, only the loopback device shows up.
dadada_ has quit [Quit: WeeChat 2.7.1]
<ImperialWater>
Pretty much all guides to NixOS wifi are based off of the assumption that there are wifi or ethernet devices (wlan0 or eth) listed in `ip a` or `ifconfig`.
<goibhniu>
Perhaps you're missing the firmware
<ImperialWater>
Hm. How would I install that?
<ImperialWater>
I can't change my configuration or anything because I cannot access the internet.
evils has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
dadada_ has joined #nixos
<vojta001[m]>
Have you used a different Linux distribution before NixOS? Did the wifi device show up in it?
<ImperialWater>
No, I haven't.
<fps>
ImperialWater: does nmtui work with networkmanager enabled?
<goibhniu>
you could try hardware.enableRedistributableFirmware = true;
<ImperialWater>
goibhniu I can't change my configuration because I can't rebuild
bqv has quit [Ping timeout: 272 seconds]
__monty__ has joined #nixos
<fps>
ImperialWater: do you have an ethernet cable and a socket with network access to plug it in?
<goibhniu>
ah, can you use ethernet / usb tethering with a phone?
evils has joined #nixos
<ImperialWater>
No, I'm on a laptop. I don't have a usb-eth adapter either
<fps>
usb tethering with a phone might still work
<ImperialWater>
Will I have to do that every time I run NixOS?
<fps>
possibly goibhniu's remark might fix it and then you can use the normal wifi afterwards
<fps>
bbiab
alp has quit [Quit: Leaving]
bqv has joined #nixos
billow has quit [Remote host closed the connection]
iyzsong has joined #nixos
davidv7 has joined #nixos
o1lo01ol_ has joined #nixos
meh` has joined #nixos
ImperialWater has quit [Remote host closed the connection]
fendor has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
bqv has quit [Ping timeout: 272 seconds]
oida has quit [Ping timeout: 240 seconds]
bqv has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 merged pull request #89523 → buildRustPackage: add documentation on how to create cargo.lock patches → https://git.io/Jf1kn
<wedens[m]>
why I can't get proper results on e.g. `nix-store -q --referrers /nix/var/nix/profiles/per-user/wedens/profile-32-link` ? even if I use `realpath` on that symlink
<infinisil>
wedens[m]: You probably want --references or -R instead
dadada_ has joined #nixos
<wedens[m]>
I want to get reverse dependencies
<wedens[m]>
or is it a root?
<infinisil>
Profiles aren't depended on by anything
smatting has joined #nixos
<infinisil>
You can get roots with --roots
orivej has quit [Ping timeout: 272 seconds]
<wedens[m]>
there is a lot of old stuff produced by home-manager and profiles... I'm trying to clean that up
OmnipotentEntity has joined #nixos
<wedens[m]>
I wish I could just delete system profiles and unreferenced HM profiles will get GCed
<betaboon>
wedens[m]: i have the situation that build of a package fails, and i want to know that pulls in that failing package in the first place
o1lo01ol1o has quit [Remote host closed the connection]
<wedens[m]>
ah
o1lo01ol1o has joined #nixos
<jakobrs>
`nix why-depends` maybe
Mic92 has quit [Quit: WeeChat 2.8]
<infinisil>
eyJhb: If inputrc was specified with .text in nixpkgs you could append to it with mkAfter
<das_j>
are there any docs on the status bar of nix 2.0? `[0/796 built, 8/496/1106 copied (1618.9/3803.2 MiB), 459.0/673.6 MiB DL]` is what I currently see. so I guess the first two numbers are what was alread built and what is to be built. but why are there 3 numbers for "copied"? and what is the difference between copied and DL?
<das_j>
also, this output comes from `nix copy`. why does that build anything in the first place?
<jakobrs>
No docs as far as I am aware, but:
<jakobrs>
8/496/1106 means "8 threads copying, 496 copied, out of 1106" afaik
<das_j>
oh that makes sense
<jakobrs>
The first number is the number of threads, the second is the progress, and the third is total for all of them.
<betaboon>
jakobrs: that seems to try to build that package first as well, which fails xD
<jakobrs>
Try `nix why-depends` with the derivations rather than the output packages maybe
magnetophon has quit [Read error: Connection reset by peer]
<jakobrs>
As in, nix why-depends a.drv b.drv where a.drv and b.drv are the relevant store derivations
edcba has quit [Quit: bye]
<betaboon>
jakobrs: same thing XD
<wedens[m]>
betaboon: use nix-instantiate and nix-store -qR on .drv file
magnetophon has joined #nixos
<jakobrs>
Is there any `boot.loader.grub.extraFiles` alternative for systemd-boot?
<eyJhb>
infinisil: sounds like a pull request I guess
<wedens[m]>
betaboon: not -qR. for example: `nix-store -q --references $(nix-instantiate -E '(import <nixos> {}).callPackage ./default.nix {}')`
<wedens[m]>
you can use `--tree` to visualize it better
<{^_^}>
[hydra] @knl opened pull request #779 → Remove references to hydra-postgresql.sql → https://git.io/Jf1ZR
<jakobrs>
Also, is it "better" to use `efiSysMountPoint = "/boot";` or `efiSysMountPoint = "/boot/efi";`?
<betaboon>
wedens[m]: that doesnt produce what i would expect it to produce oO
<betaboon>
wedens[m]: atleast the --references one
cosimone has quit [Quit: Quit.]
BenSchZA has joined #nixos
<wedens[m]>
betaboon: how about `nix-store -qR --include-outputs` ?
<wedens[m]>
(with the same derivation path from nix-instantiate )
<BenSchZA>
Hi everyone! I love the new NixOS website, but it's broken a number of project links back to nixos.org/nix. Would it be possible to redirect nixos.org/nix back to nixos.org or relevant page?
<betaboon>
wedens[m]: all of that outputs somuch stuff that i dont know what to look for. i know that the build of perls `Module-Build` fails and i want to know what pulls that in. somewhat unclear
<jakobrs>
What I'm mentioning was changed a while ago, but it did break quite a few links
<wedens[m]>
betaboon: try searching for ModuleBuild in `nix-store -q --tree --include-outputs $(nix-instantiate ...)` output
<wedens[m]>
I'm not sure if there is a more convenient way
<jakobrs>
Thought I should point out that `nixos-rebuild switch --install-bootloader` doesn't actually seem to install systemd-boot
<jakobrs>
I'm not sure if it's intentional or not.
<jakobrs>
So you have to manually run `sudo bootctl install --path=/boot`
jakobrs has left #nixos ["WeeChat 2.7.1"]
<betaboon>
wedens[m]: if i look for that in the tree. then follow the tree up i should land at the package that pulls it in? if so this looks like git is pulling in these perl dependencies ? that doesnt sound right
<{^_^}>
nixos-homepage#449 (by garbas, 13 hours ago, open): Redesign of the website
rolandio has joined #nixos
<rolandio>
dear community, what is the best way to install different pythons? just nix-env a python and set its priority? is there a better way to do it?
<garbas>
BenSchZA: can you open an individual ticket for each item you find missing. the redesign ticket is for the UI redesign that is comming in next months
<wedens[m]>
betaboon: that's not unlikely as git have perl dependencies
ckauhaus has joined #nixos
<garbas>
BenSchZA: i will delete your comments in #449 to keep that meta issue on topic
<rolandio>
evils: I need all pythons for the project (for running tests)
<BenSchZA>
No problem garbas, will do. The redirects didn't work for me about 10 minutes ago, and didn't find the relevant issue.
Siyo has joined #nixos
<garbas>
BenSchZA: i'm sure i was fixing this yesterday evening. let me check
<BenSchZA>
Just checked and it works... maybe I'm wrong.
BenSchZA has quit [Quit: Leaving]
<garbas>
Maybe something was caching your requests
<betaboon>
wedens[m]: thank you for figuring that out with me. :)
Guest84 has joined #nixos
BenSchZA has joined #nixos
<{^_^}>
[nix] @edolstra pushed to flakes « Fix completion of --template »: https://git.io/Jf1ns
o1lo01ol1o has quit [Ping timeout: 258 seconds]
TZander has joined #nixos
<BenSchZA>
garbas: I was being stupid and didn't format my URL correctly in repo, then noticed the website had updated and assumed that was the issue... :)
<OmnipotentEntity>
fresheyeball, I haven't taken a look at it since yesterday, did updating your environment help?
hmpffff_ has joined #nixos
virus_dave has joined #nixos
<tpanum92>
I simply can't get `networking.nat.forwardPorts` to function correctly. Traffic gets forwarded to the internal interface, but when the SYN/ACK never reaches the external interface. Any clue how I should fix this? Been combating this for three hours now, and browsing configs on GitHub without any luck.
Blessjah has joined #nixos
Rusty1 has joined #nixos
BenSchZA_ has joined #nixos
<jlv[m]>
I just noticed the new nixos.org front page. Looking nice! When did that happen?
<{^_^}>
[nixpkgs] @WilliButz pushed commit from @megheaiulian to release-20.03 « atlassian-jira: 8.8.0 -> 8.9.0 »: https://git.io/Jf1c5
<ldlework>
like, "clean someAttrset" should work right?
BenSchZA_ has quit [Quit: Leaving]
<fresheyeball[m]>
<omnipotententity "You'll probably get more on it t"> Fair enough. Thanks for your help! It's just frustrating to be blocked by such details
BenSchZA has joined #nixos
<OmnipotentEntity>
fresheyeball[m], if you do wind up making a post link it here, and I'll explain what I found on the post.
o1lo01ol1o has joined #nixos
<OmnipotentEntity>
but unfortunately, I should concentrate on my actual work today :(
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
<fresheyeball[m]>
<omnipotententity "Yes. See the documentation here"> So if I call doJailbreak on a package, and it fails to build because of version bounds. How should I feel?
<OmnipotentEntity>
I think doJailbreak only does builds, rather than shells though?
<OmnipotentEntity>
like if you use doJailbreak, then manually initiate the build using cabal, you're not using nix's build system which overrides cabal's behavior, so doJailbreak wouldn't do anything in this case?
<OmnipotentEntity>
I'm not certain as indicated by the question marks?
<OmnipotentEntity>
Maybe someone else can clarify
alexherbo2 has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @SRGOM opened pull request #89543 → kmag: init at 19.12.3 → https://git.io/Jf1lJ
<urkk_>
hi, I'm writing a derivation for a package that expects libiberty.a to be within the installation of binutils (with the --with-binutils= configure flag)
urkk_ is now known as urkk
<urkk>
currently I tried with "--with-binutils=${binutils-unwrapped}" and setting export LDFLAGS='-L${libiberty}/lib' in preConfigure
<urkk>
But still failling: configure: Warning! Cannot find the libiberty library in the given binutils home
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos
<fps>
what's the difference between the nixpkgs and nixos prefix in the results of nix search?
<manveru>
fps: it's the channel they are found in
<{^_^}>
[nixpkgs] @magnetophon opened pull request #89545 → Fix breaking change in lv2 1.18.0 → https://git.io/Jf18T
<fps>
manveru: yeah, i would have thought so. i do have a nixos channel and an unstable channel availalable as my user. (nixos comes from root, unstable i added to my user)
<fps>
but where does the nixpkgs channel come from?
<manveru>
`nix-info` should tell you
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @marsam merged pull request #89527 → rq: fix build on darwin → https://git.io/Jf1m7
<dutchie>
hey, i'm having trouble with fontconfig not picking up default fonts in ~/.config/fontconfig/fonts.conf
ravndal has quit [Ping timeout: 272 seconds]
<manveru>
dutchie: i guess you'd need to add something like `<include inore_missing="yes">~/.config/fontconfig/fonts.conf</include>` to `/etc/fonts/fonts.conf`
<fps>
do these look familiar to anyone: [1411751.937822] g++[7995]: segfault at 8 ip 00000000004979fc sp 00007ffffffebc80 error 4 in bash[418000+80000]
<gchristensen>
I've seen that before
<fps>
getting segfaults on builds
<BenSchZA>
fps: Do those builds actually fail?
<fps>
BenSchZA: yes. it started when i tried a nixos-rebuild switch --upgrade this morning
<fps>
BenSchZA: the builds error out
<fps>
i can't tell if it's deterministic. -j 1 still uses all 16 cores (albeit only a single derivation - in this case it's /nix/store/ipv655djy8ijchrz11x5z1h3cy60ar4s-virtualbox-6.1.6.drv)
<fps>
but it segfaults on a different source file each time
<AmandaC>
What phase would I make a call to wget / subversion in for a default.nix? This program I'm packaging's makefile pulls in some external dependencies that way
<aaabbbbbbbbbb>
Hi, the system rebuild has told me to change the LUKS configuration and I did as follows: http://dpaste.com/0VA21CT ; however now the system doesn't want to boot and states the following:
<aaabbbbbbbbbb>
device-mapper: rload ioctl on failed: No such file or directory
<{^_^}>
[nixpkgs] @FRidh pushed to staging « Remove fridh as maintainer of older Python packages »: https://git.io/Jf1uz
<aaabbbbbbbbbb>
Failed to setup dm-crypt key mapping for device /dev/sdb1
<aaabbbbbbbbbb>
Check that kernel supports sepent-cbc-essiv:sha256 cipher
<aaabbbbbbbbbb>
Does anybody have any ideas what might caused that or what to do to make it boot again. I have a LVM+LUKS encrypted hard drive.
<fragamus_>
I am running this nix-env -f "<emu>" -iA haskellPackages.stack_0_1_10_1 but it complains about a missing dependency so I installed the old version of that dependency that it wanted. I need to somehow add that dependency into the mix. how is that done?
aaabbbbbbbbbb has quit [Remote host closed the connection]
chloekek has joined #nixos
aaabbbbbbbbbb has joined #nixos
o1lo01ol1o has joined #nixos
aaabbbbbbbbbb has quit [Client Quit]
<fragamus_>
somehow it could not find that dependency at link time. it was looking for gitrev-1.1.*
<fragamus_>
I found that old gitrev and installed that but that is not enough. Is there a way to add that to the context of the build?
aaabbbbbbbbbb has joined #nixos
ravndal has joined #nixos
<aaabbbbbbbbbb>
I've been gone for a bit, if sbd posted sth, please ping me again.
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
<{^_^}>
[nixops] @adisbladis pushed to master « Enter debuger on __name__ == "__main__" no matter what entry point »: https://git.io/Jf1u7
dm9 has quit [Quit: WeeChat 2.8]
shibboleth has joined #nixos
<{^_^}>
[nixpkgs] @bouk opened pull request #89553 → vimPlugins.nvim-typescript: Init at 2020-06-06 → https://git.io/Jf1up
KeiraT has joined #nixos
growpotkin has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
user_0x58 has joined #nixos
fragamus_ has quit [Ping timeout: 272 seconds]
aij has joined #nixos
stevenxl has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.7.1]
KeiraT has quit [Remote host closed the connection]
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 272 seconds]
fragamus_ has joined #nixos
doyougnu has quit [Remote host closed the connection]
<fragamus_>
I came to nix to get out of dependency hell but there is still dependency hell when I try to install an old version of stack
<fragamus_>
It is quite frustrating
<matthewbauer>
Thra11_: you might have to reboot for binfmt.d to change (that would be a bug, but it wouldn't be too surprising)
<matthewbauer>
there has been a change in unstable that may break things, what version of nixos are you using?
whatisRT has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
<fragamus_>
nix-env -f "<emu>" -iA haskellPackages.stack_0_1_10_1 this complains of a missing dependency gitrev-1.1.* so I find and install that old version of gitrev and stack still complains
KindTwo is now known as KindOne
proofofkeags has quit [Remote host closed the connection]
<fps>
fragamus_: what is <emu> in your case?
proofofkeags has joined #nixos
wnklmnn has joined #nixos
<fragamus_>
emu is 16.03
<fps>
oh it's an old nixpkgs checkout?
<fragamus_>
yes
gxt has joined #nixos
vidbina has quit [Ping timeout: 272 seconds]
zarathustra_[m] has joined #nixos
justanotheruser has joined #nixos
proofofkeags has quit [Ping timeout: 272 seconds]
justan0theruser has quit [Ping timeout: 272 seconds]
<eadwu[m]>
It may have been broken at that commit
proofofkeags has joined #nixos
<fragamus_>
eadwu[m]: I tried stack_0_1_10_0 and that also failed the same way
<jlv[m]>
Can I get `security.acme` to just use the self-signed certificates? I'm trying to setup a virtual machine for testing a server configuration, but I'm having issues with ACME requests. It already generates preliminary self-signed certificates, but I don't see any way to disable the real certificate requests. P.S. I'm using NixOps, if that makes a difference.
<fps>
yeah, i just reproduced with a nixpkgs at tag 16.03
gustavderdrache has quit [Quit: Leaving.]
<eadwu[m]>
On hydra it says `Dependency gitrev >=1.1 && <1.3: using gitrev-1.2.0` but the build log says `gitrev ==1.1.*`
<fps>
and same for the release-16.03 branch
aaabbbbbbbbbb has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @dasJ opened pull request #89558 → nixos/freeswitch: Unit improvements and add fs_cli → https://git.io/Jf12L
shibboleth has quit [Remote host closed the connection]
sarcasticadmin has quit [Ping timeout: 258 seconds]
shibboleth has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed 150 commits to haskell-updates: https://git.io/Jf12Y
<fresheyeball>
can I convert .extend to .override?
user_0x58 has quit [Ping timeout: 258 seconds]
user_0x58 has joined #nixos
<fps>
is there a way to tweak nix in such a way that all build dependencies are retained. not just those that are found via search for their hashes?
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jf120
<adit[m]>
hello, is there a way to get a debug output on `bin/switch-to-configuration`? Its correctly switching my vm over to the new config, however, it ends up just hanging and I'm not sure how to debug it/
kenran has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf12u
asymptotically has quit [Quit: Leaving]
<infinisil>
fps: A simple way is to put e.g. `export > $out/nix-support/env` into the derivation build. Then all build inputs are referenced there
karantan has joined #nixos
aaabbbbbbbbbb has joined #nixos
<aaabbbbbbbbbb>
Hi, does anybody know why I get the following configuration error: http://dpaste.com/05CT4RT when trying to build a kernel module (config in link also).
<aaabbbbbbbbbb>
I basically have e1000e.nix in a separate file and I'm overriding the package version, but this fails. Note that prior to switching to the new 20.03 channel, this was working fine with 19.09, not sure what's going on.
karantan has quit [Client Quit]
<TZander>
hi, for a package I wrote a shell.nix which gives me a nice environment. One of those things I have in there is boost. Is there a simple trick to get that boost path in my LD_LIBRARY_PATH?
drakonis has joined #nixos
<TZander>
I guess I can write a simple perl script, but I'd check if I'm missing some neat feature to allow this.
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jf12i
kaliumxyz has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti merged pull request #89513 → Clean-up for some packages in `haskell-modules/configuration-common.nix`. → https://git.io/JfXdD
<{^_^}>
[nixpkgs] @peti pushed 15 commits to haskell-updates: https://git.io/Jf12H
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf127
writer has joined #nixos
<writer>
hi
<writer>
trying to launch Emacs (X11) in sway, but getting can't connect to DISPLAY :0, whereas able to launch Emacs from GNOME (Wayland) menu item
<writer>
does anyone have any idea what GNOME does different. I straced emacs, and it's trying to: connect(5, {sa_family=AF_UNIX, sun_path="/run/user/1001/:0"}, 20) = -1 ENOENT (No such file or directory)
<writer>
which obviously doesn't exist
user_0x58 has quit [Ping timeout: 272 seconds]
user_0x58 has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
kenosys has quit [Ping timeout: 246 seconds]
<TZander>
writer: I'm guessing the ":0" is from your $DISPLAY
<fragamus_>
OK I am going to solve my problem by doing nix-channel --remove nixpkgs nix-channel --add https://nixos.org/channels/nixos-16.03/nixexprs.tar.xz nixpkgs nix-env -f "<nixpkgs>" -iA haskellPackages.stack_0_1_10_1
<fragamus_>
oh with nix-channel --update
<fresheyeball>
omnipotententity: I solved it
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
fragamus_ has quit [Quit: Connection closed]
writer has quit [Quit: Thus spake the master programmer: "Time for you to leave."]
<aaabbbbbbbbbb>
Hi, how can I update the kernel.version in my configuration.nix, the following doesn't update it: http://dpaste.com/2PYG45S ?
<aaabbbbbbbbbb>
I have an imported module that accepts kernel variable and it uses kernel.version to determine the version and it keeps trying to use the 5.4.43 (current in 20.03), but that kernel version fails on my system and thus I'm trying to update it.
<aaabbbbbbbbbb>
However with the old kernel, my e1000e module doesn't want to compile, becuase the kernel.version refers to the 20.03 version, not my overriden version.
<aaabbbbbbbbbb>
Any ideas?
<OmnipotentEntity>
oh, fresheyeball, what was the problem? If you don't mind sharing
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « haskell-cabal-plan: drop obsolete patches »: https://git.io/Jf1ad
<energizer>
what does 20.09pre226148.0f5ce2fac0c mean?
fresheyeball has quit [Quit: WeeChat 2.7.1]
shibboleth has quit [Remote host closed the connection]
fragamus_ has joined #nixos
fresheyeball has joined #nixos
shibboleth has joined #nixos
<fragamus_>
I tried removing the nixpkgs channel and replacing it with 16.03 version and then I tried building stack-0.1.10.1 but I had the same gitrev dependency problem
<fresheyeball>
without this line, cabal is screwed in nix-shell
<fresheyeball>
that is the line
<fresheyeball>
if I do the same thing in an overrides, it does not work
asymptotically has joined #nixos
luc65r has joined #nixos
<luc65r>
Hi!
<fragamus_>
hi fresheyeball are you referring to my problem?
<infinisil>
fresheyeball: Why do you want this old of a version? It's almost 5 years old
dguibert has quit [Remote host closed the connection]
<fragamus_>
I need to work with ghcjs
<luc65r>
I'm trying to compile my system with gcc10, so I tried to make an overlay in nix repl. The problem is I always end up in an infinite recursion: `(import ./. { overlays = [(self: super: { stdenv = super.stdenv.override { cc = super.gcc10; }; })]; }).i3-gaps`
<luc65r>
How can I do that?
<infinisil>
fragamus_: And..?
<fresheyeball>
fragamus_: I was not
user_0x58 has quit [Ping timeout: 246 seconds]
user_0x58 has joined #nixos
<fresheyeball>
infinisil: If I don't set hpack to be the version built with ghc, nix-build fails when using ghcjs
philr_ has quit [Ping timeout: 240 seconds]
<fresheyeball>
I was setting it in extend, but that's not portable
<fragamus_>
I need haskell tool stack but they stopped supporting ghcjs so I am trying to build an old version
<OmnipotentEntity>
infinisil, specifically, the build fails because it's trying to find a symbol that was removed from a .so file, but the so file is located in a copy of ghc within the nix store entry of aeson.
<fragamus_>
fresheyeball I am also needing ghcjs and I am having a heck of a time
<infinisil>
Oh, sorry I wanted to ping fragamus_ earlier with "Why do you want this old of a version?"
<fragamus_>
infinisil ok well you know I need to work with ghcjs so that is the answer
blaho has joined #nixos
<infinisil>
fragamus_: Where did you read that you need stack 0.1.10.1 for ghcjs?
<blaho>
heyah, how can I ping nixpkgs in nixops in the files directly? (not using -I nixpkgs or so)
<Thra11_>
matthewbauer: I think I may have found the issue. `nixos-rebuild switch` isn't quietly switching to the new config, it's quietly segfaulting.
<infinisil>
fresheyeball: I can't really make out the cause for these differences right now, but you could probably just override hpack for the packages that depend on it
<infinisil>
Then it shouldn't incluence the Cabal build or whatever else
<fresheyeball>
infinisil: I can't, hpack is used by callCabal2nix
<fresheyeball>
that is the nature of the dependency
wnklmnn has quit [Read error: Connection reset by peer]
user_0x58 has quit [Ping timeout: 260 seconds]
user_0x58 has joined #nixos
<infinisil>
fresheyeball: What about overriding the cabal2nix package with a working hpack?
<fresheyeball>
infinisil: actually I am wrong
wnklmnn has joined #nixos
<fresheyeball>
it's not having it in the overlay that is poison
<fresheyeball>
it's not having it in extend
<fresheyeball>
hpack = hsuper.hpack;
<fresheyeball>
it's still broken
<infinisil>
That line should do nothing?
<fresheyeball>
right
<fresheyeball>
so now I am really confused
<infinisil>
How about making a minimal reproducible example?
<infinisil>
It's really hard to get an overview of the problem
<infinisil>
fresheyeball: I have to say, I don't feel inclined to debug this because there's so many other bits to it that could distract from the problem. Having a MCWE would help with that and it would also be great for opening an issue
<fresheyeball>
infinisil: agreed
<fresheyeball>
holy heck!
<fresheyeball>
I think I got it
<fresheyeball>
this is funky fresh yo
<infinisil>
gchristensen: When does it happen?
<{^_^}>
[nixpkgs] @peti pushed 34 commits to haskell-updates: https://git.io/Jf1VA
linarcx has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @peti pushed 23 commits to haskell-updates: https://git.io/Jf1Vx
thc202 has quit [Ping timeout: 256 seconds]
<fresheyeball>
infinisil: I solved it
thc202 has joined #nixos
<fresheyeball>
or atleast I got it to work
<gchristensen>
infinisil: any time I run something with docker
<fresheyeball>
shellFor is the problem
<gchristensen>
but I just realized what is going on ...
ggp0647 has joined #nixos
TZander has quit [Quit: Konversation terminated!]
kenran has quit [Ping timeout: 246 seconds]
user_0x58 has quit [Ping timeout: 256 seconds]
<fresheyeball>
if I pass in a single package is is well
<fragamus_>
infinisil: this is the thing I need beijaflor-io/ghcjs-commonjs
<fresheyeball>
when it's multiple packages, it's boned
<energizer>
gchristensen: are you running cgroups v2? i believe docker doesnt support it yet
proofofkeags has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « Merge pull request #89456 from NixOS/haskell-updates »: https://git.io/Jf1wq
<mitchellh>
Not sure if here or #nix-darwin is the best place to ask this... I'm building some Go binaries in a nix-shell environment with Go. The outputted binaries only run within the nix-shell environment. They can't run outside. Running `otool` against them shows this: https://gist.github.com/mitchellh/c74146cb9fb4d851adc8dfeb151cf351 My question here is: how do folks build portable Go binaries with Nix such that they don't
<mitchellh>
depend on your exact system state?
whitefang has joined #nixos
tv has quit [Quit: WeeChat 2.7.1]
tv has joined #nixos
whitefang has quit [Remote host closed the connection]
nuncanada has joined #nixos
<betaboon>
flokli: i just ran into #50925 myself. did you make any further findings ?
zupo__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<luc65r>
How can I compile my system with gcc10? I tried things on nix repl, but I always end up in an infinite recursion. `(import ./. { overlays = [(self: super: { stdenv = super.gcc10Stdenv; })]; }).stdenv.cc`
fragamus_ has joined #nixos
<avaq>
Is there a way I can make a quick wrapper to supply, say, dmenu with some default args, ideally preserving autocompletions?
<{^_^}>
[cabal2nix] @peti pushed to master « doc: remember my live stream notes »: https://git.io/Jf1wx
pamplemousse has joined #nixos
<energizer>
i want to use a haskell application that's packaged with stack. i'm not a haskeller. is this easy?
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jf1wh
<avaq>
Ideally to be used like: `overlays = [ (self: super: { dmenu = makeWrapper "${super.dmenu} --bg '#FFF'" }) ]` or something
gxt has quit [Ping timeout: 240 seconds]
<avaq>
pkgs.makeShellScriptBin comes very close, but I imagine autocompletion, man pages, etc, would be lost.
<aaabbbbbbbbbb>
What do I need to add to configuration.nix to get rid of this when building it:
<aaabbbbbbbbbb>
Makefile:67: *** Kernel header files not in any of the expected locations.
<aaabbbbbbbbbb>
Makefile:68: *** Install the appropriate kernel development package, e.g.
<aaabbbbbbbbbb>
Makefile:69: *** kernel-devel, for building kernel modules and try again. Stop.
<aaabbbbbbbbbb>
This is part of the e1000e package
<luc65r>
@avaq you could override dmenu install phase to name the binary differently
gxt has joined #nixos
<luc65r>
And make a shell script named dmenu
<avaq>
Hmm, thanks luc65r. I will play around a bit.
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 246 seconds]
<LnL>
mitchellh: install_name_tool, but the darwin channel is probably easier if you want some context
<energizer>
i'm using buildStackProject but nix-build says the drv "has '__noChroot' set, but that's not allowed when 'sandbox' is 'true'". how do i fix this?
KindTwo is now known as KindOne
amerigo has joined #nixos
alexherbo21 has joined #nixos
EatThem has joined #nixos
fragamus_ has quit [Quit: Connection closed]
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo21 is now known as alexherbo2
<energizer>
" haskell.lib.buildStackProject to help you create this derivation in exactly the way Stack expects. However for this to work you need to disable the sandbox, which you can do by using --option sandbox relaxed or --option sandbox false to the Nix command"
<energizer>
how do i make it work without disabling sandbox?
<dumbdev>
I have a rust project that I *must* compile in 32-bit mode for "business" reasons. I'm using `direnv` and a `shell.nix` to try to compile it in 32-bit mode. When I add `gcc_multi` to the `build_inputs`, `which gcc` still points to the main 64-bit gcc. How do I fix that?
<dumbdev>
I can manually add the correct path to `PATH` as workaround right now
<energizer>
turns out disabling sand box doesn't work either?
<energizer>
"I don't know how to install GHC on your system configuration, please install manually"
<LnL>
dumbdev: are you using i686-linux as the system?
<dumbdev>
LnL: Yeah, the main system is x86_64, but the `shell.nix` uses `nixpkgs.pkgsi686Linux.stdenv.mkDerivation` to change the system (I believe that changes the system...)
urkk has quit [Ping timeout: 246 seconds]
<LnL>
yeah, that should make everything use 32bit binaries (including gcc, etc.)
stevenxl has quit [Quit: Connection closed for inactivity]
chewzerita has joined #nixos
szicari has quit [Remote host closed the connection]
<chewzerita>
Has anyone managed to get their ~/.face to show up in lightdm on NixOS?
szicari has joined #nixos
<srid>
What's the equivalent of `sudo dpkg --add-architecture i386` on nixos?
<chewzerita>
If it matters, it does not show up on GDM either
<symphorien>
srid: what does that do ?
alexherbo2 has quit [Ping timeout: 246 seconds]
<simpson>
srid: I think it's a no-op on typical nixpkgs of the past few years? The equivalent is either using multilib for Wine, FHS for Steam and games, or `pkgsCross` for cross-compilation development.
<{^_^}>
[cabal2nix] @peti pushed to master « doc: mention ZurichHack in live-stream-notes.org »: https://git.io/Jf1r9
dumbdev has quit [Remote host closed the connection]
sarcasticadmin has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @GTrunSec opened pull request #89568 → fix extension zip to default of tar.gz → https://git.io/Jf1oJ
<evils>
anyone using something wayland based that's not sway? want to try out `grimshot` from #88577? i suspect it's not sway specific (except for the "select a window to screenshot" feature)
chewzerita has quit [Remote host closed the connection]
dingenskirchen has quit [Quit: dingenskirchen]
noudle has quit []
dingenskirchen has joined #nixos
luc65r has quit [Remote host closed the connection]
asbachb has joined #nixos
<hodapp>
anyone know the 'right' way to force update of items in the Applications menu of XFCE? Its entry for IntelliJ IDEA refers to a completely nonexistent path in the nix store instead of just /run/current-system/sw/bin/idea-community or something
wnklmnn has quit [Read error: Connection reset by peer]
wnklmnn has joined #nixos
patrl has joined #nixos
patrl has quit [Client Quit]
maxdevjs has joined #nixos
<{^_^}>
[cabal2nix] @maralorn opened pull request #460 → Pin the cabal version used for hackage2nix → https://git.io/Jf1o8
<{^_^}>
[nixpkgs] @evils opened pull request #89569 → powershell: actually run the install check → https://git.io/Jf1o7
<asbachb>
irimi1: I think so.
<irimi1>
asbachb: ok, cool
<asbachb>
irimi1: Which package you're talking about?
<irimi1>
So I’m trying to update the 'typora' editor since the deb package for the version currently in use is no longer available. the new one seems to contain a file with a setuid bit which fails because the oparation is not permitted. When I run 'dpkg-deb -x' by hand it works for my user. I’m not quite sure where to look here
EatThem has quit [Quit: Quit]
urkk has quit [Ping timeout: 272 seconds]
EatThem has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
<EatThem>
how to kill X? systemctl seems not to find lightdm or sth else..
<gchristensen>
look at: systemctl status display-manager and see if that leads you to something
urkk has joined #nixos
<EatThem>
thx!!
<jtojnar>
irimi1 Right, Nix does not support suid bit in Nix store for security reasons
<irimi1>
jtojnar Makes sense. I’d still like to use the editor though :/
<balsoft>
irimi1: why does a markdown editor needs suid?
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aaabbbbbbbbbb>
sphalerite qknight you've helped me before in regards to e1000e module, if you have a few minutes, I would like to run an error that I have past oyu.
<gchristensen>
irimi1: can you patch the build tool to not make a setuid thing?
<irimi1>
balsoft: not sure. the file that has suid set is called 'chrome-sandbox', it’s an electron thingy
justanotheruser has quit [Ping timeout: 246 seconds]
<jtojnar>
or maybe instead of replacing it just try to remove the suid bit
<jtojnar>
on modern Linux distros, sandboxing should work for regular users
user_0x58 has joined #nixos
karantan has joined #nixos
xO1 has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<irimi1>
I don’t think the file is actually used. it fails when "unpacking sources". Not sure when the 'tar' call happens though, since the unpackPhase is defined as 'dpkg-deb -x ...'
fendor_ has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jonringer pushed commit from @evils to master « powershell: installCheck -> installCheckPhase »: https://git.io/Jf1Kd
<{^_^}>
[nixpkgs] @jonringer merged pull request #89569 → powershell: actually run the install check → https://git.io/Jf1o7
<manveru>
irimi1: i just spent a day with that file... you can probably start it via `--disable-setuid-sandbox --no-sandbox` to the electron executable
<irimi1>
manveru: it’s not used I think. it just happens to be in the deb package that is extracted and somewhere along the way a tar command is called which refuses to extract it. at least that’s what it looks like to me
<manveru>
hm, ok
<irimi1>
which is weird because I can extract it just fine with my user
user_0x58 has quit [Ping timeout: 272 seconds]
m1cr0man has quit [Read error: Connection reset by peer]
<irimi1>
the tar in question is indeed a subprocess of dpkg-deb, so no hook or anything (which I was wondering)
cript0nauta has quit [Ping timeout: 246 seconds]
user_0x58 has joined #nixos
<manveru>
ooh, the unity-nosuid.c is just what i needed i think
<manveru>
jtojnar++
<{^_^}>
[nixpkgs] @mjlbach opened pull request #89570 → Patch pyxdg to fix error accessing missing class property Type → https://git.io/Jf16k