<jmd>How do I find the path of the /tmp dir where a package is built? ***civodul changes topic to 'GNU Guix --- http://gnu.org/s/guix/ --- 0.7 is in the works, help test the system! --- core-updates frozen real soon now'
<jmd>I want to substitute "$(command -pv)" <jmd>How do I escape the $ ? <taylanub>escape from what exactly? where does that string appear? <jmd>civodul: I tried that. <jmd> (substitute* "testsuite/which/which-uses-default-path" <jmd> (("$(command -pv xxx") (string-append (getcwd) "/xxx"))) <civodul>jmd: oh the parentheses need to be escaped as well <civodul>(string-match "\\\\$\\\\([a-z]+\\\\)" "$(command)") => #t <jmd>How should $(command) behave anyway in guix? <jmd>Well "command ls" is supposed to run /bin/ls (and disregard the value of PATH). Does that behaviour make sense in GUIX? <civodul>'command' just guarantees that it's a command that's invoked, and not a shell function <jmd>But it is also guaranteed to ignore PATH <civodul> Runs COMMAND with ARGS suppressing shell function lookup, or display <civodul> information about the specified COMMANDs. Can be used to invoke commands <civodul> on disk when a function with the same name exists. <jmd>"the search for command is performed using a default value for PATH that is guaranteed to find all of the standard utilities" <jmd>We need to hack bash to find out what Guix has installed. <civodul>i'm not sure what we'd want -p to do <civodul>perhaps set PATH to /run/current-system/profile/bin <jmd>civodul: That directory does not exist <civodul>my reply was: this directory exists in the GNU system <jmd>But it does not exist in the guix build environment. <civodul>but there's nothing sensible we can do there <civodul>not that i can think of, that is ;-) <jmd>I suppose it depends on one's definition of "sensible". <jmd>Right now I have a problem. guix build just hangs... <civodul>i think that's because hydra is lost or something <jmd>Seems to be working again.. <jmd>You had better patch it then. <civodul>i would, but i have only two hands :-) <jmd>how many HEADs does hydra have? <jmd>There needs to be some kind of heuristic to guess whether downloading a binary from hydra is likely to be quicker than downloading the source and building. <civodul>it's rarely faster to do things locally <civodul>because you at least need to download the source, which is bigger than the binary <jmd>Usually, but not always. <civodul>looks like you had a great time getting the tests to work as expected ;-) <jmd>The BB devs seem to have different ideas about software development to what I do. <jmd>It should have been called GING <jmd>The ROADMAP seems to somewhat static recently. <civodul>well, there are frequent upgraded roadmaps on the list no? <civodul>maybe "frequent" isn't the right term <civodul>perhaps that's no clear enough, wdyt? <jmd>why aren't they checked into git? <civodul>but maybe it'd be better to update it actually <civodul>or maybe we could use the bug tracker for that, with "wishlist" items <jmd>As I understand the term, a "roadmap" is not the same as a list of wanted features, although it could include some of the more important ones. <jmd>Anyway, presumably you are going to tell us about the plan for the next 12 months in August? <civodul>but everyone is welcome to contribute to the plan, of course ;-) ***civodul changes topic to 'GNU Guix --- http://gnu.org/s/guix/ --- 0.7 is in the works: https://lists.gnu.org/archive/html/guix-devel/2014-05/msg00110.html --- core-updates frozen real soon now'
<civodul>jmd: had a chance to try 'guix system' & co.? <jmd>GUIX$ ./pre-inst-env guix services vm build-aux/hydra/demo-os.scm <jmd>guix: services: command not found <jmd>Try `guix --help' for more information.