Skip to content

Commit

Permalink
Clean up deps
Browse files Browse the repository at this point in the history
- `strictDeps`

- Ensure it builds with and without `doCheck`
  • Loading branch information
Ericson2314 committed Jan 25, 2024
1 parent 1471aac commit 1bd195a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@

build = forEachSystem (system: packages.${system}.hydra);

buildNoTests = forEachSystem (system:
packages.${system}.hydra.overrideAttrs (_: {
doCheck = false;
})
);

manual = forEachSystem (system:
let pkgs = pkgsBySystem.${system}; in
pkgs.runCommand "hydra-manual-${pkgs.hydra.version}" { }
Expand Down
28 changes: 18 additions & 10 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -136,41 +136,49 @@ stdenv.mkDerivation {

inherit src;

strictDeps = true;

nativeBuildInputs = [
makeWrapper
autoreconfHook
nukeReferences
pkg-config
mdbook
nix
perlDeps
perl
unzip
];

buildInputs = [
unzip
libpqxx
top-git
mercurial
darcs
subversion
breezy
openssl
bzip2
libxslt
nix
perlDeps
perl
pixz
boost
postgresql_13
nlohmann_json
prometheus-cpp
];

nativeCheckInputs = [
bzip2
darcs
top-git
mercurial
subversion
breezy
openldap
postgresql_13
pixz
];

checkInputs = [
cacert
foreman
glibcLocales
libressl.nc
openldap
python3
];

Expand Down

0 comments on commit 1bd195a

Please sign in to comment.