Hello,
Here is my repo : https://github.com/roelof1967/nixpkgs
When I try to patch cjs.nix which is in pkgs/desktops/cinnamon the patch fails
But when I patch the file on the real file it is not a problem.
Can anyone explain what is the difference here ?
So why do the patch fail on the cjs
Hoi Roelof,
My guess is you didn’t read the error message. :-D
Do you know about the nix-env -K option ( —keep-failed). It keeps the failed
build in a folder in /tmp.
There you can see that extracting cjs-2.0.0.tar.gz creates another directory
where all the source files are.
But your patch:
From: da...@decube.net
Subject: Re: [Nix-dev] patch problem
Date: Sat, 30 Nov 2013 19:14:01 +0100
To: rwob...@hotmail.com
Hoi Roelof,
My guess is you didn’t read the error message. :-D
Do you know about the nix-env -K option ( —keep-failed). It keeps the failed
build in a folder in /tmp.There
This patch works for me.
Vlada
diff --git a/configure.ac b/configure.ac
index a1433c8..51e1a52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,8 @@ AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
AC_CONFIG_SRCDIR([cjs/console.c])
AC_CONFIG_HEADER([config.h])
+AC_CONFIG_MACRO_DIR([m4])