mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-12-26 15:34:25 +03:00
21 lines
611 B
Nix
21 lines
611 B
Nix
{ inputs, ... }: {
|
|
perSystem = { self', inputs', pkgs, lib, ... }:
|
|
let
|
|
nix = inputs'.nix.packages.nix-clangStdenv;
|
|
nixpkgs = self'.packages.nixpkgs-migrated;
|
|
in
|
|
{
|
|
packages = {
|
|
pasta-meta = pkgs.stdenv.mkDerivation {
|
|
name = "pasta-meta";
|
|
src = ./.;
|
|
buildPhase = ''
|
|
echo "\"${builtins.toJSON inputs.nixpkgs-master.rev}\"" > $out
|
|
'';
|
|
};
|
|
pasta = pkgs.callPackage ./default.nix { inherit nixpkgs nix pkgs; };
|
|
};
|
|
devShells.pastaMaker = pkgs.callPackage ./shell.nix { inherit pkgs nix; };
|
|
};
|
|
}
|