commit
b8e39f7d22
|
@ -4,10 +4,8 @@ sudo: true
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: cargo pedantry
|
- name: cargo pedantry
|
||||||
script: nix-shell --run checkPhase --arg useNix1 false -A mozilla-rust-overlay
|
script: nix-shell --run checkPhase -A mozilla-rust-overlay
|
||||||
- name: checkPhase - Nix 2
|
- name: checkPhase
|
||||||
script: nix-shell --run checkPhase --arg useNix1 false
|
script: nix-shell --run checkPhase
|
||||||
- name: checkPhase - Nix 1
|
|
||||||
script: nix-shell --run checkPhase --arg useNix1 true
|
|
||||||
- name: nix-build
|
- name: nix-build
|
||||||
script: nix-build ./default.nix -A ofborg.rs -A ofborg.php
|
script: nix-build ./default.nix -A ofborg.rs -A ofborg.php
|
||||||
|
|
|
@ -752,7 +752,7 @@ mod tests {
|
||||||
assert_run(
|
assert_run(
|
||||||
ret,
|
ret,
|
||||||
Expect::Fail,
|
Expect::Fail,
|
||||||
vec!["You just can't", "assertion failed"],
|
vec!["You just can't", "assertion", "failed"],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
overlays = [
|
overlays = [
|
||||||
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))
|
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))
|
||||||
];
|
];
|
||||||
}, useNix1 ? false }:
|
} }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# A random Nixpkgs revision *before* the default glibc
|
# A random Nixpkgs revision *before* the default glibc
|
||||||
|
@ -29,8 +29,7 @@ let
|
||||||
php
|
php
|
||||||
curl
|
curl
|
||||||
bash
|
bash
|
||||||
]
|
];
|
||||||
++ stdenv.lib.optional useNix1 oldpkgs.nix1;
|
|
||||||
|
|
||||||
# HISTFILE = "${src}/.bash_hist";
|
# HISTFILE = "${src}/.bash_hist";
|
||||||
};
|
};
|
||||||
|
@ -84,7 +83,6 @@ let
|
||||||
pkgconfig
|
pkgconfig
|
||||||
git
|
git
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional useNix1 oldpkgs.nix1
|
|
||||||
++ stdenv.lib.optional stdenv.isDarwin pkgs.darwin.Security;
|
++ stdenv.lib.optional stdenv.isDarwin pkgs.darwin.Security;
|
||||||
|
|
||||||
postHook = ''
|
postHook = ''
|
||||||
|
|
Loading…
Reference in a new issue