anderslundstedt has quit [Ping timeout: 246 seconds]
<zecnate>
Where should I file tickets for documentation issues in the nixpkgs manual?
<zecnate>
I had a working `fetchurl` derivation, and realized all my builder did was unpack it, so after reading https://nixos.org/manual/nixpkgs/stable/#chap-pkgs-fetchers I switched it to `fetchzip` with the same arguments and it fails the hash check.
inerkick has quit [Ping timeout: 265 seconds]
<zecnate>
The docs don't mention anything about the hash being calculated differently between these two. The only almost relevant bit is "The main difference between fetchurl and fetchzip is in how they store the contents.".
<zecnate>
source "$stdenv/setup" tar -xf "$src" --strip-components=1 --one-top-level="$out"
<cole-h>
fetchurl doesn't unpack it (because how would it unpack, e.g., a .yml file?). IMO that seems reasonable, but you can open an issue against the nixpkgs repo.
<zecnate>
-whoops. Sorry for bad layout. That's my builder (except newline after the source).
anderslundstedt has joined #nixos
<cole-h>
So, the hash of a zip and the hash of the unpacked contents of the zip are different, of course.
<zecnate>
cole-h: I know fetchurl doesn't unpack. What I don't know is why fetchzip calculates the hash differently (and I consider it a bug that the docs don't explain this).
<zecnate>
Oh, I see. Hrm, well for my purposes I guess I just keep my "tar" builder, because I need to pin to the hash of the tarball, not the unpacked contents.
sbetrium has quit [Quit: sbetrium]
inerkick has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
night has quit [Read error: Connection reset by peer]
<simpson>
Put it in the derivation as an attribute. `stdenv.mkDerivation { ... CONFIG_SITE = your/config.site; ...}`
<zecnate>
Thanks! IIUC, that will impact all processes running in the builder. It should be fine, but if I could wave a magic wand, I'd be able to set args for just configure.
<zecnate>
Also, just to clarify, any attribute of `derivation` (or more specifically `mkDerivation`) gets passed as a builder environment variable, correct? Or are there a special set of attributes that do not appear in the builder environment, and any other attr *does* appear?
<simpson>
`configureFlags` will let you do that. You can control `configureScript` if you really need fine-grained control over how the configure script is invoked.
<simpson>
I think it's any attribute. Not sure though.
<{^_^}>
[nixpkgs] @andersk opened pull request #98986 → openafs_1_8: Add upstream patches for Linux kernel 5.8 and 5.9 → https://git.io/JUigT
bahamas has joined #nixos
xacktm has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
bahamas has quit [Ping timeout: 240 seconds]
sbetrium has joined #nixos
gerschtli has quit [Quit: WeeChat 2.7.1]
gerschtli has joined #nixos
ramen_master has quit [Ping timeout: 256 seconds]
inerkick has quit [Quit: Leaving]
<heywoodlh>
Hey guys, for some reason my actkbd doesn't seem to work when defining in configuration.nix. I'm pretty sure the keybindings are correct. I'm just using GDM/GNOME as my display manager/desktop environment. Here is my config: https://pastebin.com/eZJP57BL
<heywoodlh>
Any suggestions on why my shortcuts aren't working after logging into GNOME?
<{^_^}>
[nixpkgs] @tricktron opened pull request #98987 → [20.09] python3Packages.fsspec: fix tests on darwin, 0.7.4 -> 0.8.3 → https://git.io/JUial
<zecnate>
Hm... `$stdenv/setup` defines a bunch of environment variables like `CC` and `AR`. How can I access these values from a nix-expr?
palo1 has joined #nixos
<zecnate>
cole-h: Thanks for the tip on building the manual.
mlen has quit [Quit: WeeChat 2.7.1]
sbetrium has quit [Quit: sbetrium]
mlen has joined #nixos
<{^_^}>
[nixpkgs] @7c6f434c opened pull request #98988 → wpsoffice: keep using ffmpeg_3 → https://git.io/JUiV7
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}>
[nix] @dependabot[bot] opened pull request #4084 → Bump cachix/install-nix-action from v10 to v11 → https://git.io/JUiw4
<{^_^}>
[nix] @dependabot[bot] pushed to dependabot/github_actions/cachix/install-nix-action-v11 « Bump cachix/install-nix-action from v10 to v11 »: https://git.io/JUiwB
<{^_^}>
[hydra] @dependabot[bot] pushed to dependabot/github_actions/cachix/install-nix-action-v11 « Bump cachix/install-nix-action from v10 to v11 »: https://git.io/JUiwE
<{^_^}>
[hydra] @dependabot[bot] opened pull request #819 → Bump cachix/install-nix-action from v10 to v11 → https://git.io/JUiwu
<tbe>
Hi all, I'm new to NixOS. Trying to run the CEWE photoworld application which consists of multiple binaries fetched and installed to a direcotry by a perl script. 'ldd CEWE' lists 15 missing libraries. I can work around most of them with 'nix-env -p /nix/var/nix/profiles/cewe -iA nixos.expat nixos.freetype ...' and then run CEWE with LD_LIBRARY_PATH=/nix/var/nix/profiles/cewe/lib. However, some of the libs are
<tbe>
found (using e.g. locate libdbus-1.so.3) in store directories ending in "-lib", e.g. /nix/store/dpm84ln0cg209f9jwk0mfv5jcqj6mryq-dbus-1.12.16-lib/lib/libdbus-1.so.3, and I cannot for the life of me find any nix expression to add this to the profile. Help?
srhm has joined #nixos
<makefu>
hi tbe, nice to hear you are trying out nixos. Running pre-compiled binary blobs is one of the ... say weak points of NixOS due to how works (or does not work) in the nix environment. however there is a writeup on how to package binaries in https://nixos.wiki/wiki/Packaging/Binaries and maybe this helps
cfricke has joined #nixos
<makefu>
for finding your libraries you can use nix-locate as described in the article
__monty__ has joined #nixos
<{^_^}>
[nix] @edolstra merged pull request #4077 → libmain/progress-bar: don't trim whitespace on the left → https://git.io/JUwkn
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
o1lo01ol1o has quit [Remote host closed the connection]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
o1lo01ol1o has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
sbetrium has quit [Quit: sbetrium]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
sgrunert has joined #nixos
<woffs>
tbe: I have a FHS for dm-fotobuch (which is the same)
o1lo01ol1o has joined #nixos
saschagrunert has quit [Ping timeout: 258 seconds]
<woffs>
tbe: I'll upload it later somewhere.
chipb has quit [Quit: chipb]
gnxlxnxx[m] has quit [Quit: Idle for 30+ days]
chipb has joined #nixos
sbetrium has joined #nixos
aquarial1 has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<woffs>
I meant FHSUserEnv and dm-Fotowelt
adray1 has quit [Quit: Idle for 30+ days]
fatjedi[m] has quit [Quit: Idle for 30+ days]
hoxtonhopper has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
<{^_^}>
[nixos-homepage] @garbas pushed to fix-541 « bump asciinema-scenario to 0.2.0 via overlay and update nixpkgs flake »: https://git.io/JUiAb
<{^_^}>
[nixos-homepage] @garbas opened pull request #585 → bump asciinema-scenario to 0.2.0 via overlay and update nixpkgs flake → https://git.io/JUixf
hoxtonhopper has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @vcunat pushed commit from @ferranpujolcamins to release-20.09 « chromaprint: fix derivation »: https://git.io/JUixa
<{^_^}>
[nixpkgs] @martinetd opened pull request #99000 → confinement: fix assert for serviceConfig.ProtectSystem → https://git.io/JUPOW
<infinisil>
Idea: Cache a nix-shell environment, only updating it when unsuspending on a new day
<infinisil>
For dependencies that should stay up-to-date, but you don't want to wait for downloading nixpkgs-unstable every time
zupo has joined #nixos
<infinisil>
So e.g. you could always do like `daily-nix-shell <name>`, which would start that shell instantly. The environment would be updated when a new day starts
<CRTified[m]>
Can someone point me to what I need to do to make a Makefile cross-compile compatible? Right now, I'm using $(CC) as variable, but file claims that the binary is x86, while I'm cross-compiling for the RPi0 (armv6l). My derivation is just a simple mkDerivation with buildInputs, src, pname and version set.
<lordcirth>
When writing a service module, how do I put coreutils in it's path? I tried adding pkgs.coreutils to systemd.packages but that didn't work
<lordcirth>
Oh, maybe I should just use ${coreutils}/bin/cp ?
zakame has quit [Remote host closed the connection]
cr4y1__ has joined #nixos
<evanjs>
lordcirth: that's what I usually do if something is being used directly like that
<evanjs>
of course, if a program calls it ad-hoc, I would be better off either running substituteInPlace on the program itself, or adding the program in question to the PATH, yeah
<evanjs>
lordcirth: It looks like I took a wrapper/runtime approach with one of my package/services
<{^_^}>
[nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.mirage-stack: 2.1.0 → 2.2.0 »: https://git.io/JUPwV
<lordcirth>
evanjs, thanks!
proofofkeags has quit [Ping timeout: 246 seconds]
<lordcirth>
Every time I push a one-line commit to my nixpkgs branch, and run nixos-container with the new flake, it downloads a new 20MB tarball. Is there a way to get it to use git instead?
Jackneill has quit [Ping timeout: 256 seconds]
tyxie has quit [Remote host closed the connection]
Jackneill has joined #nixos
drondin has joined #nixos
hnOsmium0001 has joined #nixos
hyper_ch2 has quit [Read error: Connection reset by peer]
sputny has joined #nixos
hyper_ch2 has joined #nixos
sputny has quit [Quit: sputny]
Izorkin has quit [Read error: Connection reset by peer]
<AWizzArd>
I have s1 = { a=10; } and s2 = { b=20; }. How can I merge them so that I’ll get a set {a=10, b=20}?
hyper_ch2 has quit [Ping timeout: 256 seconds]
<makefu>
> { a = 10; } // { b = 20; }
aforemny has quit [Ping timeout: 260 seconds]
<{^_^}>
{ a = 10; b = 20; }
hyper_ch2 has joined #nixos
<AWizzArd>
makefu: thx
hyper_ch3 has quit [Ping timeout: 272 seconds]
drondin has quit [Remote host closed the connection]
knupfer has joined #nixos
sputny has quit [Client Quit]
sputny has joined #nixos
polarfire has joined #nixos
<{^_^}>
[nixos-homepage] @garbas pushed to redesign-donate « donate.html: initial structure and text »: https://git.io/JUP6N
<polarfire>
hi there, I'm having issues getting a Steam game to run
<polarfire>
how would I go about diagnosing any missing libraries, etc ?
sputny has quit [Client Quit]
<lordcirth>
polarfire, ldd is usually handy
sputny has joined #nixos
sputny has quit [Client Quit]
sputny has joined #nixos
<{^_^}>
[nixos-homepage] @garbas opened pull request #588 → donate.html: initial structure and text → https://git.io/JUPPU
sputny has quit [Client Quit]
<polarfire>
lordcirth: the output seems fine to me, all libraries are there
sputny has joined #nixos
<polarfire>
also, I'm using the runtime
erasmas has joined #nixos
<polarfire>
Stellaris is pretty broken pretty often, but I'm able to get it to run on Arch
civodul has quit [Read error: Connection reset by peer]
sputny has quit [Quit: sputny]
civodul has joined #nixos
sputny has joined #nixos
scott has joined #nixos
<scott>
i have a package for which i believe i need to invoke `make install-man` during the install phase. there is currently no installPhase in its derivation - what would be the least invasive way to add this step?
polarfire has quit [Quit: WeeChat 2.7.1]
<scott>
aha, just found installTargets in the manual!
<{^_^}>
[nixos-homepage] @garbas pushed to redesign-governance « governance: adding page specific styles file, with some initial styles »: https://git.io/JUPDs
sputny has quit [Client Quit]
sputny has joined #nixos
philr has quit [Ping timeout: 272 seconds]
slby[m] has quit [Quit: Idle for 30+ days]
aloiscochard[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
proofofkeags has joined #nixos
sputny has quit [Client Quit]
sputny has joined #nixos
alexherbo26 has quit [Ping timeout: 256 seconds]
mvanwaveren9 has quit [Remote host closed the connection]
sputny has quit [Client Quit]
cole-h has joined #nixos
sputny has joined #nixos
camsbury has quit [Remote host closed the connection]
cap_sens1 has joined #nixos
endformationage has joined #nixos
<cap_sens1>
Hi all. I'm trying to build a C++ library. Without specifying anything for the `installPhase`, dynamic libraries get placed in `$out/lib/<some_folder>`. How'd I move the library files to `$out/lib`?
<cap_sens1>
I've tried to put `mv $out/lib/<some_folder>*.so $out/lib` to `postInstallPhase` but I get error on `mv` missing target
sputny has quit [Client Quit]
<simpson>
My first instinct would be to examine the configure phase. There might be a prefix for libraries which could be configured.
sputny has joined #nixos
<{^_^}>
[nixpkgs] @Sohalt opened pull request #99016 → photoprism: init at 2020-09-21 → https://git.io/JUPSt
<cap_sens1>
simpson: The project uses cmake, and I've tried to put `-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=$out/lib`, but it doesn't change the output at all
sputny has quit [Remote host closed the connection]
cantstanya has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @ckauhaus opened pull request #99017 → zeroc-mcpp: decouple from original mcpp → https://git.io/JUPSA
<sphalerite>
Hi all (cc infinisil resident module system expert)! I'm writing a module which produces (amongst other things) a JSON file. Is there a type for "anything convertible to JSON"? I want to use this as the freeformType for the relevant submodule.
<tobiasBora>
(I don't like this hardcoding of pkgs.linuxPackages_4_19
<tobiasBora>
)
<tobiasBora>
Can I just replace the kernel = pkgs.linux_4_19; with something like kernel = config.boot.kernelPackage? Or is there a better way to proceed?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Orbstheorem has quit [Ping timeout: 240 seconds]
kaivai has joined #nixos
bela has joined #nixos
<tobiasBora>
Also, if I use kernel = pkgs.linux_4_19; everything works, but if I use kernel = config.boot.kernelPackages it fails. I guess it comes from the fact that kernelPackages is a list of package... but why is it a list?
<tobiasBora>
hum wait forget why I just say
<tobiasBora>
it's not a list
<tobiasBora>
but "kernel = pkgs.linux_4_19;" works, while "kernel = config.boot.kernelPackages;" gives an error "KBUILD_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; ===> attribute 'dev' missing"
<tobiasBora>
Any idea why?
szicari has quit [Ping timeout: 272 seconds]
szicari has joined #nixos
msirabella has quit [Remote host closed the connection]
<{^_^}>
[nix] @kquick opened pull request #4086 → Allow non-flake local path for --override-input → https://git.io/JUPpe
ky0ko has quit [Quit: killed]
knupfer has quit [Ping timeout: 260 seconds]
Orbstheorem has joined #nixos
<tobiasBora>
Oh, it seems that the solution is to write kernel = config.boot.kernelPackages.kernel; instead
<sphalerite>
tobiasBora: yes, that's the right solution :)
leotaku has joined #nixos
ky0ko has joined #nixos
leotaku_ has quit [Ping timeout: 256 seconds]
sputny has joined #nixos
<tobiasBora>
sphalerite: cool! And is it the good way to package a module (like if I want to push it to nixpkgs)? Because I can't find lots of packages using that structure in nixpkgs
knupfer has joined #nixos
knupfer1 has joined #nixos
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
evanrelf has joined #nixos
<tobiasBora>
(grrr the programs buffer overflows...)
sputny has quit [Client Quit]
cosimone has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 244 seconds]
knupfer1 is now known as knupfer
sputny has joined #nixos
<sphalerite>
tobiasBora: depends on how the module is using the kernel, but possibly.
sangoma has quit [Read error: Connection reset by peer]
euandreh has joined #nixos
sputny has quit [Client Quit]
sputny has joined #nixos
<KarlJoad>
How can I access man-pages for a C environment in a nix-shell?
<KarlJoad>
I can access them from my global environment, as specified in `configuration.nix`, but I can't get a `nix-shell` to see its man pages.
sputny has quit [Client Quit]
sputny has joined #nixos
<NieDzejkob>
KarlJoad: what are the packages in question?
sputny has quit [Client Quit]
<NieDzejkob>
for example, "man rgbasm" works in "nix-shell -p rgbds" but doesn't in a normal shell for me as I don't have that package in my configuration.nix
<{^_^}>
[nixpkgs] @maralorn pushed to haskell-updates « haskellPackages: Fix two eval errors »: https://git.io/JUXv7
sputny has joined #nixos
Izorkin has quit [Read error: Connection reset by peer]
evanrelf has quit [Remote host closed the connection]
sgrunert has quit [Quit: Leaving]
Izorkin has joined #nixos
sputny has quit [Client Quit]
sputny has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<Henson>
can I force a NixOS installer that's booted in BIOS mode to install in EFI mode? nixos-generate-config created a configuration.nix file for BIOS mode, which I've modified to specify the EFI stuff. Now nixos-install is refusing to install because I haven't specified the grub device stuff necessary to boot in BIOS mode.
<lordcirth>
Henson, probably grub is still enabled, maybe in hardware-configuration.nix ?
<lassulus>
boot.loader.grub.efiInstallAsRemovable should work when booted in BIOS mode
<lassulus>
at least I use it that way
<Henson>
lordcirth: indeed it is, thank you for pointing that out
<KarlJoad>
NieDzejkob: It's C stuff (headers, GCC, etc.) that I can't access.
mmohammadi9812 has quit [Ping timeout: 246 seconds]
<Henson>
lassulus: do you know if it's possible to make a system that will boot either into UEFI or GRUB regardless of how the BIOS is configured? It seems like that what this option might be for.
<NieDzejkob>
KarlJoad: Hmm, for example?
<lassulus>
Henson: yes, I do hybrid boots all the time with exactly that option.
<KarlJoad>
`man gcc No manual entry for gcc` `man ls No manual entry for ls` `man 3 getchar No manual entry for getchar in section 3`
<Henson>
lassulus: could you tell me a bit more about what I need to make sure this works? I've got an old remote system that I am dangerously trying to convert from Debian to NixOS using a kexec takeover, and I'm pretty sure it can boot into EFI mode, but am not certain.
<Henson>
lassulus: do I specify both the EFI and GRUB configuration variables on configuration.nix and turn on this efiInstallAsRemovable option?
<KarlJoad>
NieDzejkob: `man gcc No manual entry for gcc` `man ls No manual entry for ls` `man 3 getchar No manual entry for getchar in section 3` are all examples.
<Henson>
lassulus: will BIOS GRUB be able to boot with a gpt partition table?
sputny has quit [Client Quit]
<zdykstra>
hi all, can I get a directory listing of /boot on a NixOS install from someone?
<lassulus>
Henson: https://p.krebsco.de/10wh7vr you need a gpt partition table, with a EFI /boot partitio and a legacy BIOS partition
<Henson>
lassulus: what do you mean by a legacy BIOS partition
<hanetzer>
pingfail
<hanetzer>
type ef02
<lassulus>
Henson: a gpt partition table has no room for a MBR so you need an extra space for that, that what this type ef02 partition is for
cosimone has quit [Quit: Quit.]
<{^_^}>
[mobile-nixos] @samueldr merged pull request #204 → kernel-builder: Force configuration to be normalized → https://git.io/JUi4t
<{^_^}>
[mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JUXTi
o1lo01ol1o has quit [Remote host closed the connection]
aforemny has joined #nixos
sputny has quit [Client Quit]
sputny has joined #nixos
<Henson>
lassulus: ok. The 10wh7vr clip you sent me describes how to configure grub, what EFI boot options should I specify?
<lassulus>
Henson: it enables grub also in EFI mode
<Henson>
lassulus: so the ef02 type parition is just to make a bit of room for the MBR in the GPT partition so it doesn't stomp over the EFI system partition?
<hanetzer>
more or less. it basically dd's grub.img into that area
<Henson>
lassulus: so should I set boot.loader.systemd-boot.enable=true and boot.loader.efi.canTouchEfiVariables = true?
<lassulus>
Henson: you don't need systemd-boot
<lassulus>
actually you cant use it together with grub
<lassulus>
you can try setting boot.loader.efi.canTouchEfiVariables but efiInstallAsRemovable will work without that
sputny has quit [Client Quit]
sputny has joined #nixos
<Henson>
lassulus: ok, so really just the grub stuff in the clip you sent me should be sufficient, along with the beginning of the drive partition geometry in the other clip
<lassulus>
yes, the legacy BIOS partition doesn't actually needs to be in the beginning
<lassulus>
but I guess it makes more sense for it to be there
<{^_^}>
[nixpkgs] @jonringer pushed commit from @sternenseemann to master « pythonPackages.psautohint: 2.1.0 → 2.1.1 »: https://git.io/JUXkp
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
sputny has quit [Client Quit]
sputny has joined #nixos
supercoven has quit [Read error: Connection reset by peer]
<Henson>
lassulus: is it necessary to specify the "boot" flag on one of the partitions? It looks like your sgdisk script doesn't do that, or does the partition type ef02 and ef00 specify that information?
<Henson>
lassulus: and so after those first two BIOS and EFI partitions, I can then just make whatever other partitions I want?
<lassulus>
afair gpt doesn't have a bootflag anymore, but I could be mistaken, if you can set one, do it on the EFI partition
<lassulus>
yes, I have just a LUKS partition afterwards for my stuff, but your usecase might differ
<Henson>
lassulus: ok, thank you very much!
bela has quit [Ping timeout: 245 seconds]
marusich has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 265 seconds]
sputny has quit [Client Quit]
nature has joined #nixos
sputny has joined #nixos
m4ts has joined #nixos
<nature>
Does anybody experience developping with Nim ?
<lassulus>
zdykstra: you mean a running nixos?
m4tsa_ has quit [Ping timeout: 256 seconds]
Izorkin has quit [Ping timeout: 240 seconds]
ipv6[m] has joined #nixos
sputny has quit [Client Quit]
<zdykstra>
lassulus: yup - I'm looking to add NixOS support to ZFSBootMenu, and it's my understanding that kernels/initramfs names in NixOS are preceded by a hash
<nature>
How may I proceed if there is a derivation in nixpkgs and I would like to keep it as it is except I want the result of the build to keep the source ?
<tbe>
woffs: Thanks for dm-Fotowelt-FHSUserEnv.nix - I'll try to make something of this.
<nature>
Should I use overlays ?
<lordcirth>
nature, edit installPhase and cp src $out/src
<lordcirth>
And yeah, probably as an overlay
<lassulus>
src can also be referenced directly: pkgs.grub2.src
sputny has quit [Remote host closed the connection]
<lassulus>
depending on the type of src it needs to be unpacked though
<nature>
It could actually
<nature>
work
jonatanb has joined #nixos
<chreekat[m]>
Blah, I'm trying to build my haskell app with a patched dependency and things are getting mysterious. If I change the dependency by overriding the haskell package set and setting `pkg = super.pkg.overideAttrs (_ : { src = ./path/to/locally-modified-src; });` , then it picks up the changes and everything works. If, however, I create a patch from the changes, and change the override to be `...overrideAttrs (_: { patches = [
<chreekat[m]>
./path-to-patch ]; });`, then (1) it picks up the patch, and I can see the 'applying patch to file' message. (2) There is no trace of the changed behavior in my actual running app
<jonatanb>
\join haskell
zdykstra has left #nixos ["WeeChat 2.9"]
<jonatanb>
sorry for that :)
<bbigras>
oh we got an haskel guy here...
justanotheruser has quit [Ping timeout: 260 seconds]
<bbigras>
I'm joking of course. I saw a lot of haskell stuff related to nix
<chreekat[m]>
This is 100% a nix question fwiw :) Or a nixpkgs question, if you prefer
<jonatanb>
ok, I have one.
<Ke>
that's prepostorous, why would haskeller be interested in declarative system configuration
<chreekat[m]>
:o
<Ke>
heh, nvm
<jonatanb>
what is the best way to configure emacs in the nixos?
<Henson>
lassulus: another question, should I format those partitions? Usually the EFI partition is MSDOS formatted. Does anything need to be done to the BIOS partition? My guess is no since it's really just a space for the the boot loader to go, right?
<bbigras>
Emil Karlson: I know so little about haskell, you might need to explain that. Is dhall related to haskell? I tried dhall once and it looked like haskell a bit.
<Henson>
lassulus: but the EFI partition should still be MSDOS formatted and mounted on /boot in the new system, as usual?
<Ke>
bbigras: did I mention dhall somewhere?
<lassulus>
Henson: yes
<Henson>
lassulus: ok, thanks
<lassulus>
actually i format it with vfat
<{^_^}>
[nixos-homepage] @garbas merged pull request #583 → Fix news page breaking out of the layout → https://git.io/JUaHm
<{^_^}>
[nixos-homepage] @garbas pushed 4 commits to master: https://git.io/JUXqa
<Ke>
well either way, I don't even know what it is
<{^_^}>
[nixos-homepage] @garbas pushed 0 commits to fix/news-page-horizontal: https://git.io/JUXqV
<lassulus>
but I gues this is MSDOSy enough :D
<bbigras>
Emil Karlson: no. but isn't dhall a declarative-like thing for config files? I was wondering if you were alluding about that.
<Ke>
no I mean nix mostly
<bbigras>
ah gotcha
<jonatanb>
bbigras thanks for the repo
<{^_^}>
[nixos-homepage] @garbas pushed 5 commits to tabs-to-spaces: https://git.io/JUXqQ
<lassulus>
poor tabs, nobody likes them anymore
<chreekat[m]>
I guess dhall, nix, and haskell are all more or less declarative and functional, with some language features in common. They all go off into the woods in different directions though
<bbigras>
yeah
<chreekat[m]>
I do hope someone recognizes whatever problem I'm having with using the haskell package sets... why would overriding src work, but overriding patches not work?
<chreekat[m]>
I'm pretty sure the patch is applying.. if i deliberately break the code, i get compile failures. But it seems to not be using the patched package, which is odd to me, since it does use the modified package if I change src
<KarlJoad>
Maybe I should ask this in a different way. What packages do I need to specify in `mkDerivation` to access man pages from inside a `nix-shell`?
<bbigras>
chreekat: maybe also ask on the forum if you don't find help here.
<{^_^}>
[nixos-homepage] @garbas pushed 8 commits to redesign-donate: https://git.io/JUXYn
<{^_^}>
[nixos-homepage] @garbas pushed 9 commits to redesign-governance: https://git.io/JUXYR
grobi has joined #nixos
<callahad[m]>
evanjs: re: our chat on Saturday. It looks like nbp is still at Mozilla, so nixpkgs-mozilla has an owner. He's inclined to keep it where it is (versus moving to nix-community), but he's also open to adding folks as maintainers if they consistently review PRs... so I'll get on that :)
tbe has quit [Quit: leaving]
<Henson>
lassulus: it worked, thank you for your help!
<{^_^}>
[nixpkgs] @risicle opened pull request #99034 → minizinc: fix build against bison 3.7 → https://git.io/JUXZH
<nature>
yes, I am gonna try it, thing is I am not really familiar with nim and its ecosystem yet, just starting out, trying to setup a dev environment (hence me trying to get the lsp running)
jonatanb has quit [Remote host closed the connection]
enick_594 has joined #nixos
enick_594 has quit [Changing host]
enick_594 has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
enick_594 is now known as joepie91
imhayden has joined #nixos
<imhayden>
Can I have some help? I split my neovim config into its own Nix package recently (https://git.hbjy.dev/ops/nvim) and I'm trying to include it in my NixOS configuration
<{^_^}>
[nixpkgs] @NeQuissimus pushed 2 commits to release-20.03: https://git.io/JUXRj
Fare has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @NeQuissimus pushed 8 commits to release-20.09: https://git.io/JUX0J
hoxtonhopper has quit [Read error: Connection reset by peer]
justan0theruser has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
justanotheruser has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
nullheroes has joined #nixos
mbrgm_ has joined #nixos
tripfandango has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<KarlJoad`>
I am using `man man-db man-pages mandoc manpages posix_man_pages gcc.man` in a default.nix file, but I cannot get any manpages for anything other than man itself. I'm quite lost on how to diagnose this one. Does anyone else have any ideas?
tripfandango has quit [Read error: Connection reset by peer]
<KarlJoad`>
infinisil: What were you thinking? This is a default.nix file for school work that uses GCC 6.x. I'm using gcc6Stdenv.mkDerivation to make the derivation. I'm passing those packages in nativeBuildInputs.
<KarlJoad`>
infinisil: I am running any `man` command. I want documentation for C stdlib files (getchar, fork, exec, etc). I run man `gcc No manual entry for gcc`, `man ls No manual entry for ls`, `man 3 getchar No manual entry for getchar in section 3`.
<KarlJoad`>
That's the weird thing, because I package `manpages` into the nativeBuildInputs, which should make it available.
<KarlJoad`>
I'm still not super clear on the difference between buildInputs and nativeBuildInputs (that may be the reason), but that's another discussion for later.
acarrico has quit [Ping timeout: 260 seconds]
<infinisil>
Yeah it's weird
<infinisil>
I think it's a problem about the manpages packages
<KarlJoad`>
And any time I attempt to put `documentation.* = true` in there, I have a `set could not be coerced to a string` error (or something like that)
<infinisil>
Because another package (I just tried noweb) works
<infinisil>
KarlJoad`: Yeah that's a NixOS option, that can't be used here
proofofkeags has quit [Ping timeout: 264 seconds]
<KarlJoad`>
That's what I figured.
<KarlJoad`>
But, I just tried throwing the `man*` things into buildInputs and had the same output.